我不太清楚如何在这里采取行动。 我安装了php5作为dotdeb包。 我在debian挤686 。 现在我试着从5.4.8更新到5.4.15,运行aptitude install php5后得到如下输出结果:
aptitude install php5 The following NEW packages will be installed: libapache2-mod-php5{ab} lsof{a} The following packages will be upgraded: php5 php5-common 2 packages upgraded, 2 newly installed, 0 to remove and 95 not upgraded. Need to get 3529 kB of archives. After unpacking 9138 kB will be used. The following packages have unmet dependencies: libapache2-mod-php5filter: Depends: php5-common (= 5.4.8-1~dotdeb.0) but 5.4.15-1~dotdeb.1 is to be installed. Conflicts: libapache2-mod-php5 but 5.4.15-1~dotdeb.1 is to be installed. php5-xdebug: Depends: php5-common (= 5.4.8-1~dotdeb.0) but 5.4.15-1~dotdeb.1 is to be installed. php5-gd: Depends: php5-common (= 5.4.8-1~dotdeb.0) but 5.4.15-1~dotdeb.1 is to be installed. php5-mcrypt: Depends: php5-common (= 5.4.8-1~dotdeb.0) but 5.4.15-1~dotdeb.1 is to be installed. php5-mysql: Depends: php5-common (= 5.4.8-1~dotdeb.0) but 5.4.15-1~dotdeb.1 is to be installed. php5-cli: Depends: php5-common (= 5.4.8-1~dotdeb.0) but 5.4.15-1~dotdeb.1 is to be installed. libapache2-mod-php5: Conflicts: libapache2-mod-php5filter but 5.4.8-1~dotdeb.0 is installed and it is kept back. The following actions will resolve these dependencies: Remove the following packages: 1) libapache2-mod-php5filter 2) php-pear 3) php5-cli 4) php5-gd 5) php5-mcrypt 6) php5-mysql 7) php5-xdebug 8) phpmyadmin Leave the following dependencies unresolved: 9) libapache2-mod-php5 recommends php5-cli 10) phpmyadmin recommends php5-gd
我的/etc/apt/sources.list为空):
deb http://ftp.de.debian.org/debian squeeze main contrib non-free deb http://ftp.de.debian.org/debian-security squeeze/updates main contrib non-free deb http://packages.dotdeb.org squeeze all deb-src http://packages.dotdeb.org squeeze all deb http://packages.dotdeb.org squeeze-php54 all deb-src http://packages.dotdeb.org squeeze-php54 all
dpkg -l 'php*' | grep '^.i' dpkg -l 'php*' | grep '^.i'给了我这个:
ii php-pear 5.3.3-7+squeeze1 PEAR – PHP Extension and Application Repository ii php5 5.4.8-1~dotdeb.0 server-side, HTML-embedded scripting language (metapackage) ii php5-cli 5.4.8-1~dotdeb.0 command-line interpreter for the php5 scripting language ii php5-common 5.4.8-1~dotdeb.0 Common files for packages built from the php5 source ii php5-gd 5.4.8-1~dotdeb.0 GD module for php5 ii php5-mcrypt 5.4.8-1~dotdeb.0 MCrypt module for php5 ii php5-mysql 5.4.8-1~dotdeb.0 MySQL module for php5 ii php5-xdebug 5.4.8-1~dotdeb.0 xdebug module for php5 ii phpmyadmin 4:3.3.7-5 MySQL web administration tool
那么继续在这里安全吗? 当然,我希望更新后的软件包能够正常工作,但是看起来他们之后会被打破,还是我错了?
那么..而不是只更新php5我跑了
aptitude full-upgrade
其中经过并更新php5到最新版本以及。 不过,我不知道为什么这么做。
那么继续在这里安全吗?
不,如果你继续,一些php5软件包将被卸载。 这似乎是一面镜子的问题。 可能很快就会解决,然后运行apt-get update试。 如果没有,请发布您的Debian版本,体系结构和sources.list。