Ubuntu使用apt-get安装Apache2报错时的解决方案

来源:互联网 发布:广联达装修预算软件 编辑:程序博客网 时间:2024/06/13 16:17

Ubuntu使用apt-get安装Apache2报如下错误时的解决方案

The following packages have unmet dependencies: apache2 : Depends: apache2-bin (= 2.4.7-1ubuntu4) but it is not going to be installedE: Unable to correct problems, you have held broken packages.

运行如下命令

sudo apt-get -f autoremovesudo apt-get updatesudo apt-get upgradesudo apt-get dist-upgrade

然后再重新运行安装命令

sudo apt-get install apache2

阅读全文
0 0
原创粉丝点击