linux - Debian Jessie dist 升级失败

标签 linux debian apt-get

<分区>

我在 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 也没有帮助。

我需要做什么?

谢谢!

最佳答案

您可以尝试手动安装“不应安装”的软件包:

apt-get install php5-json php5-readline

关于linux - Debian Jessie dist 升级失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30150899/

相关文章:

python - 在本地和生产虚拟环境中使用 pip 和 apt-get 时出现文件路径问题。

cassandra - gpg --recv-keys 的问题

regex - 重命名文件夹及其子文件夹的文件

linux - 在 bash shell 中的 for 循环内连接字符串变量

linux - 极客中的原始转换器

linux - Web服务器攻击解决方案?

linux - 无法进行菜单配置

linux - 特殊字符与linux不同的窗口

linux - crontab - 这些命令每 x 分钟运行一次的区别

c++ - 在 travis for clang 上使用不同的 libc++ 版本