dotdeb 冲突

dotdeb 冲突

我正在尝试重新安装我的 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 包?

答案1

只需安装 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

相关内容