我在Debian 7中进行dist-upgrade升级到Debian 8时遇到错误。 它中止了,我再次发出相同的命令来重启。现在我收到以下错误:
libapache2-mod-fastcgi : Depends on: apache2.2-common (>= 2.2.4) but should not be installed
libapache2-mod-perl2 : Depends on: apache2.2-common but should not be installed
libapache2-mod-php5 : Depends on: php5-json but should not be installed
libapache2-svn : Depends on: apache2.2-common but should not be installed
php5-cli : Depends on: php5-common (= 5.5.24-1~dotdeb+wheezy.1) but 5.6.7+dfsg-1 should be installed
Depends on: php5-json but should not be installed
Empfiehlt: php5-readline but should not be installed
php5-curl : Depends on: phpapi-20121212 but not installable
Depends on: php5-common (= 5.5.24-1~dotdeb+wheezy.1) but 5.6.7+dfsg-1 should be installed
php5-gd : Depends on: phpapi-20121212 but not installable
Depends on: php5-common (= 5.5.24-1~dotdeb+wheezy.1) but 5.6.7+dfsg-1 should be installed
php5-imagick : Depends on: php5-common (= 5.5.24-1~dotdeb+wheezy.1) but 5.6.7+dfsg-1 should be installed
php5-imap : Depends on: phpapi-20121212 but not installable
Depends on: php5-common (= 5.5.24-1~dotdeb+wheezy.1) but 5.6.7+dfsg-1 should be installed
php5-intl : Depends on: phpapi-20121212 but not installable
Depends on: php5-common (= 5.5.24-1~dotdeb+wheezy.1) but 5.6.7+dfsg-1 should be installed
php5-ldap : Depends on: phpapi-20121212 but not installable
Depends on: php5-common (= 5.5.24-1~dotdeb+wheezy.1) but 5.6.7+dfsg-1 should be installed
php5-mcrypt : Depends on: phpapi-20121212 but not installable
Depends on: php5-common (= 5.5.24-1~dotdeb+wheezy.1) but 5.6.7+dfsg-1 should be installed
php5-mysql : Depends on: phpapi-20121212 but not installable
Depends on: php5-common (= 5.5.24-1~dotdeb+wheezy.1) but 5.6.7+dfsg-1 should be installed
php5-pgsql : Depends on: phpapi-20121212 but not installable
Depends on: php5-common (= 5.5.24-1~dotdeb+wheezy.1) but 5.6.7+dfsg-1 should be installed
php5-tidy : Depends on: phpapi-20121212 but not installable
Depends on: php5-common (= 5.5.24-1~dotdeb+wheezy.1) but 5.6.7+dfsg-1 should be installed
php5-xdebug : Depends on: php5-common (= 5.5.24-1~dotdeb+wheezy.1) but 5.6.7+dfsg-1 should be installed
pkg-php-tools : Depends on: php5-json but should not be installed
apt-get -f install也没有帮助。
我该怎么办?
谢谢!
答案 0 :(得分:0)
您可以尝试安装不应安装的软件包"手工:
apt-get install php5-json php5-readline