при выполнении sudo apt-get upgrade
, Я споткнулся эта проблема:
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: php5.6-fpm : Depends: php5.6-common (= 5.6.26-2+deb.sury.org~precise+1) but 5.6.28-1+deb.sury.org~precise+1 is installed E: Unmet dependencies. Try using -f.
затем после того, как я делаю предложение путем выполнения sudo apt-get -f install
, новые шоу сообщения об ошибке:
dpkg: dependency problems prevent configuration of php5.6-fpm: php5.6-fpm depends on php5.6-common (= 5.6.26-2+deb.sury.org~precise+1); however: Version of php5.6-common on system is 5.6.28-1+deb.sury.org~precise+1. dpkg: error processing php5.6-fpm (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: php5.6-fpm E: Sub-process /usr/bin/dpkg returned an error code (1)
Я не мог удалить php5.6-fpm
также, потому что это также возвращается Sub-process /usr/bin/dpkg returned an error code (1)
Кажется, что php5.6-fpm имеет различные зависимости, но не может обновленный или удаленный, потому что существует отсутствие конфигурации
Способ встретить все необходимые зависимости, должен установить пакет лампы путем выполнения команды ниже (включая ^
символ)
sudo apt-get install lamp-server^