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兩者都無法更新或安裝。 我可以安裝任何其他軟件包。
感謝,如果有人接受幫助我:-)
提示:運行'LANG = C'使輸出英文。 –
感謝您的回答,我編輯我的第一條消息與英文輸出! – Maxime
「php5-geoip:Depends:phpapi-20100525」你有這種依賴性嗎?它是否需要您沒有的特定版本的PHP? – miken32