Apache-2.2

dotdeb 衝突

  • December 24, 2012

我正在嘗試重新安裝我的 php,但在升級時我得到以下資訊

The following packages have unmet dependencies:
php5-mysql : Conflicts: php5-mysqlnd but 5.4.9-1~dotdeb.0 is to be installed
php5-mysqlnd : Conflicts: php5-mysql but 5.4.9-1~dotdeb.0 is to be installed

如何忽略 dotdeb 包?

只需安裝 dotdeb 軟體包。將此添加到您的 sources.list.d:

vim /etc/apt/sources.list.d/dotdeb.list #new file

#paste these lines
deb http://packages.dotdeb.org squeeze all
deb-src http://packages.dotdeb.org squeeze all
deb http://packages.dotdeb.org squeeze-php54 all
deb-src http://packages.dotdeb.org squeeze-php54 all

引用自:https://serverfault.com/questions/460647