2016-04-15 90 views
0

当我尝试对我的Debian安装PHP5-geoip的,我得到一个错误:安装PHP5-geoip的失败

[email protected]:~# LANG=C apt-get install php5-geoip 
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-geoip : Depends: phpapi-20100525 
E: Unable to correct problems, you have held broken packages. 
[email protected]:~# 

当我尝试安装的依赖,这里是输出:

[email protected]:~# LANG=C apt-get install phpapi-20100525 
Reading package lists... Done 
Building dependency tree 
Reading state information... Done 
Package phpapi-20100525 is a virtual package provided by: 
    php5-fpm 5.4.45-0+deb7u2 [Not candidate version] 
    php5-cli 5.4.45-0+deb7u2 [Not candidate version] 
    php5-cgi 5.4.45-0+deb7u2 [Not candidate version] 
    libphp5-embed 5.4.45-0+deb7u2 [Not candidate version] 
    libapache2-mod-php5filter 5.4.45-0+deb7u2 [Not candidate version] 
    libapache2-mod-php5 5.4.45-0+deb7u2 [Not candidate version] 

E: Package 'phpapi-20100525' has no installation candidate 
[email protected]:~# 

apt-get update和apt-get upgrade两者都无法更新或安装。 我可以安装任何其他软件包。

感谢,如果有人接受帮助我:-)

+0

提示:运行'LANG = C '使输出英文。 –

+0

感谢您的回答,我编辑我的第一条消息与英文输出! – Maxime

+0

“php5-geoip:Depends:phpapi-20100525”你有这种依赖性吗?它是否需要您没有的特定版本的PHP? – miken32

回答