2012-05-20 116 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存在于这些存储库中。