以下包具有未满足的依赖项(apache)
The following packages have unmet dependencies: apache2: Depends: apache2-mpm-worker (= 2.2.22-1ubuntu1) but 2.2.22-1ubuntu1.2 is to be installed or apache2-mpm-prefork (= 2.2.22-1ubuntu1) but it is not going to be installed or apache2-mpm-event (= 2.2.22-1ubuntu1) but it is not going to be installed or apache2-mpm-itk (= 2.2.22-1ubuntu1) but it is not going to be installed Depends: apache2.2-common (= 2.2.22-1ubuntu1) but 2.2.22-1ubuntu1.2 is to be installed E: Unable to correct problems, you have held broken packages.
无法重新安装Apache。
首先回到一个满足所有依赖关系的状态:
sudo apt-get install -f
尝试删除所有apache的东西:
sudo dpkg --purge --force-depends "apache*"
立即重新安装所有必需的依赖项:
sudo apt-get install -f
现在你可以给apache安装一个新的尝试。 如果问题仍然存在,请提供更多信息。