Reputation: 547
I am using Ubuntu 14.04. sudo apt-get update
always give me this option to configure mysql-apt-config.
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.
Software Updater also crashes at mysql-apt-config.
Any idea on what is causing this problem and how to get rid of it? Thx.
Upvotes: 21
Views: 16148
Reputation: 303
With regards to the CUI (character user interface):
This should take you back to the list of packages (i.e. not the list of version numbers). Then:
Upvotes: 0
Reputation: 2989
sudo apt-get remove mysql-server mysql-client mysql-common
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get install libaio1
mysql-apt-config<version>.deb
for your installation from http://dev.mysql.com/downloads/repo/apt/.mysql-apt-config<version>.deb
sudo apt-get install mysql-server
Upvotes: 3
Reputation: 1074
When you can't do
apt-get purge 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...
edit: /var/lib/dpkg/info/mysql-apt-config.postinst
add exit
at the beginning , then get rid of the package :
sudo dpkg --configure mysql-apt-config
sudo apt-get remove mysql-apt-config
Upvotes: 36