在 ubuntu 16.04 上安装 apache2-dev 的问题

在 ubuntu 16.04 上安装 apache2-dev 的问题

尝试apache2-dev使用命令安装

~# sudo apt-get install apache2-dev

并得到以下结果:

*The following packages have unmet dependencies:
 apache2-dev : Depends: libapr1-dev but it is not going to be installed
               Depends: libaprutil1-dev but it is not going to be installed
               Depends: debhelper (>= 9) but it is not going to be installed
 debconf-i18n : Depends: debconf (= 1.5.58ubuntu2) but 1.5.58ubuntu1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).*

表演

~# apt-get -f install

得到以下内容

*....
The following packages have unmet dependencies:
 debconf-i18n : Depends: debconf (= 1.5.58ubuntu2) but 1.5.58ubuntu1 is installed
....*

相关内容