gpt4 book ai didi

linux - 无法安装 Apache2

转载 作者:太空狗 更新时间:2023-10-29 11:27:07 31 4
gpt4 key购买 nike

尝试在 ubuntu 14.04 上安装 apache2,但出现以下错误

sudo 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-bin (= 2.4.7-1ubuntu4.6) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

最佳答案

看起来你的系统中有些包坏了,先修复它们

dpkg --configure -a
sudo apt-get -f install

然后

sudo apt-get install apache2-bin apache2
OR
sudo aptitude install apache2-bin apache2

这应该可以解决您的问题。

关于linux - 无法安装 Apache2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33014470/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com