2012-05-20 113 views
1

我無法安裝捲曲。您可以在下面看到的錯誤消息。當我安裝PHP5-FPM和Nginx的,我需要/etc/apt/sources.list中以下行:無法在Debian上安裝php5-curl

in deb http://php53.dotdeb.org stable all 

不是這行註釋掉,但它看起來該服務器使用反正dotdeb.org。我怎樣才能解決這個問題,而無需卸載php5-fpm?

srv106:/etc/php5/fpm# apt-get install php5-curl 
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 to resolve the situation: 

The following packages have unmet dependencies: 
php5-curl : Depends: php5-common (= 5.3.3-7+squeeze9) but 5.3.11-1~dotdeb.0 is to be installed 
E: Broken packages 

回答

0

php5-curl需求php5-common的擠壓,以及php5-fpm需要從dotdeb php5-common,這是正常的,你可以不安裝它。您是否嘗試安裝php5-curl而未在sources.list中評論dotdeb.org?因爲php5-curl存在於這些存儲庫中。