我在Ubuntu上將MySQL版本從5.5升級到5.7。在將MySQL升級到v5.7後,Ubuntu有問題
但是,之後沒有任何與mysql有關的工作。我也更新了php5-mysql包。
我發現我要安裝php5-mysqlnd包使用命令sudo apt-get install php5-mysqlnd。但是,它不能被安裝。消息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
php5-mysqlnd : Depends: phpapi-20121212
Depends: php5-common (= 5.5.36+dfsg-1+donate.sury.org~trusty+1) but 5.6.18+dfsg-1+deb.sury.org~trusty+1 is to be installed
E: Unable to correct problems, you have held broken packages.
我的PHP版本5.6.18-1 + deb.sury.org〜可信賴+ 1
它看起來像您使用自定義存儲庫'donate.sury.org',請在問題中添加您的'apt'配置。並嘗試使用默認存儲庫? –