我在 Ubuntu 17.04 服务器上,当尝试按照指示,我收到依赖性错误。
root@PC:~# apt-get install icinga2
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.
icinga2 : Depends: icinga2-bin (= 2.6.3-1~ppa1~xenial1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
尝试运行 apt-get install icinga2-bin 并得到以下内容
The following packages have unmet dependencies:
icinga2-bin : Depends: libicinga2 (= 2.6.3-1~ppa1~xenial1) but it is not going to be installed
Depends: libboost-program-options1.58.0 but it is not installable
Depends: libboost-system1.58.0 but it is not installable
Depends: libboost-thread1.58.0 but it is not installable
E: Unable to correct problems, you have held broken packages.