Could not select #39;OK#39; in mysql-apt-config [Ubuntu 14.04](无法在 mysql-apt-config [Ubuntu 14.04] 中选择“确定)
问题描述
我使用的是 Ubuntu 14.04.sudo apt-get update
总是给我这个选项来配置 mysql-apt-config.
I am using Ubuntu 14.04. sudo apt-get update
always give me this option to configure mysql-apt-config.
我尝试选择版本,按tab"->确定"上突出显示的键,按Enter"但没有任何反应.它再次返回突出显示版本号.
I am have tried to select the version, press 'tab' -> key highlighted on 'OK', press 'Enter' but nothing happens. It goes back again highlighting the version number.
软件更新程序也会在 mysql-apt-config 处崩溃.
Software Updater also crashes at mysql-apt-config.
知道是什么导致了这个问题以及如何摆脱它吗?谢谢.
Any idea on what is causing this problem and how to get rid of it? Thx.
推荐答案
当你做不到时
apt-get purge mysql-apt-config
因为你被困:它不会执行,因为 dpkg 被中断,并且sudo dpkg --configure -a"让你回到破碎的configuring mysql-apt-config"屏幕......
because you're trapped: It won't execute because dpkg is interrupted, and "sudo dpkg --configure -a" backs you to the broken "configuring mysql-apt-config" screen...
/var/lib/dpkg/info/mysql-apt-config.postinst
在开头添加exit
,然后去掉包:
add exit
at the beginning , then get rid of the package :
sudo dpkg --configure mysql-apt-config
sudo apt-get remove mysql-apt-config
这篇关于无法在 mysql-apt-config [Ubuntu 14.04] 中选择“确定"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:无法在 mysql-apt-config [Ubuntu 14.04] 中选择“确定&


基础教程推荐
- 将数据从 MS SQL 迁移到 PostgreSQL? 2022-01-01
- 无法在 ubuntu 中启动 mysql 服务器 2021-01-01
- 如何在 SQL Server 的嵌套过程中处理事务? 2021-01-01
- 在 VB.NET 中更新 SQL Server DateTime 列 2021-01-01
- SQL Server:只有 GROUP BY 中的最后一个条目 2021-01-01
- SQL Server 中单行 MERGE/upsert 的语法 2021-01-01
- 使用pyodbc“不安全"的Python多处理和数据库访问? 2022-01-01
- SQL Server 2016更改对象所有者 2022-01-01
- ERROR 2006 (HY000): MySQL 服务器已经消失 2021-01-01
- Sql Server 字符串到日期的转换 2021-01-01