Когда я бегу apt-get install apache2
Я получаю ошибку:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
apache2 : Depends: apache2-mpm-worker (= 2.2.22-1ubuntu1.10) but it is not going to be installed or
apache2-mpm-prefork (= 2.2.22-1ubuntu1.10) but it is not going to be installed or
apache2-mpm-event (= 2.2.22-1ubuntu1.10) but it is not going to be installed or
apache2-mpm-itk (= 2.2.22-1ubuntu1.10) but it is not going to be installed
Depends: apache2.2-common (= 2.2.22-1ubuntu1.10) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Пробую все известные способы решить эту проблему, пробую запустить:
apt-get update;
apt-get upgrade;
apt-get purge apache2*
Я удалил /etc/apache2
и /usr/include/apache2
каталоги.
Я попытался сменить зеркальный сервер, но все еще не решил мою проблему, я получаю ту же ошибку.
Также я пытаюсь вручную установить недостающие пакеты:
apt-get -f install apache2-mpm-worker
Но теперь появляется ошибка, из-за которой не хватает нескольких пакетов:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
apache2-mpm-worker : Depends: apache2.2-common (= 2.2.22-1ubuntu1.10) but it is not going to be installed
Depends: apache2.2-bin (= 2.2.22-1ubuntu1.10) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Что может решить мою проблему, только переустановка ОС?