Trinux
05-07-2013, 18:11
Значит проблема такова. Сегодня случайно удалил какие-то пакеты php а при установке php по новой говорит следующее
root@msb:/var/log/apache2# apt-get install php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
dpkg-dev: Depends: base-files (>= 5.0.0) but 5lenny5 is to be installed
Recommends: libalgorithm-merge-perl but it is not going to be installed
php5: Depends: libapache2-mod-php5 (>= 5.4.4-14+deb7u2) but it is not going to be installed or
libapache2-mod-php5filter (>= 5.4.4-14+deb7u2) but it is not going to be installed or
php5-cgi (>= 5.4.4-14+deb7u2) but it is not going to be installed or
php5-fpm (>= 5.4.4-14+deb7u2) but it is not going to be installed
Depends: php5-common (>= 5.4.4-14+deb7u2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@msb:/var/log/apache2# apt-get install php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
dpkg-dev: Depends: base-files (>= 5.0.0) but 5lenny5 is to be installed
Recommends: libalgorithm-merge-perl but it is not going to be installed
php5: Depends: libapache2-mod-php5 (>= 5.4.4-14+deb7u2) but it is not going to be installed or
libapache2-mod-php5filter (>= 5.4.4-14+deb7u2) but it is not going to be installed or
php5-cgi (>= 5.4.4-14+deb7u2) but it is not going to be installed or
php5-fpm (>= 5.4.4-14+deb7u2) but it is not going to be installed
Depends: php5-common (>= 5.4.4-14+deb7u2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).