每次打开软件中心都会收到此消息:
Item can not be installed or removed until package catalog is repaired
我点击修复然后我得到
Package operation failed
我尝试mysql-server-5.5
使用终端删除sudo apt-get --purge remove mysql-server-5.5
并收到以下消息:
The following packages have unmet dependencies:
mysql-server : Depends: mysql-server-5.5 but it is not going to be installed"
当我尝试安装它时,我收到了同样的消息。我正在运行 Ubuntu 12.04
编辑:我试过:sudo apt-get remove mysql-sever
并且我得到了这个:
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
更新 2:系统向我发送了一条消息,说这是漏洞:
答案1
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get remove --purge mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5
sudo apt-get install mysql-server
感谢 Ubuntu论坛