我正在尝试按Interest
安装mysql-server-5.5
,我发现此错误 - apt-get install mysql-server-5.5
Sub-process /usr/bin/dpkg returned an error code (1)
sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not installed.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server
sudo apt-get -f install
感谢您的帮助。
答案 0 :(得分:0)
我遇到了同样的问题。我有一个带有Mint的10.1旗帜。 找出你使用的旗帜:
sudo ls -al /var/lib/mysql/
然后删除该文件
sudo rm /var/lib/mysql/debian-5.6-flag
然后尝试重新安装
sudo apt-get -f install
希望对你有用
请参阅此superuser文章,可能与您的具体错误更相关