Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install icinga2 2.11 due to unmet dependencies #155

Closed
NielsH opened this issue Sep 19, 2019 · 1 comment
Closed

Unable to install icinga2 2.11 due to unmet dependencies #155

NielsH opened this issue Sep 19, 2019 · 1 comment
Labels
os/debian Debian packaging. Check the supported versions!

Comments

@NielsH
Copy link

NielsH commented Sep 19, 2019

Hi,

On Debian 9 we are unable to upgrade or install icinga2 due to unmet dependencies:

apt-get install icinga2 -s
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.11.0-1.stretch) but it is not going to be installed
           Recommends: libreadline6 but it is not installable
E: Unable to correct problems, you have held broken packages.

apt-get install icinga2-bin -s
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-bin : Depends: libboost-context1.67.0 but it is not installable
               Depends: libboost-coroutine1.67.0 but it is not installable
               Depends: libboost-date-time1.67.0 but it is not installable
               Depends: libboost-filesystem1.67.0 but it is not installable
               Depends: libboost-program-options1.67.0 but it is not installable
               Depends: libboost-regex1.67.0 but it is not installable
               Depends: libboost-system1.67.0 but it is not installable
               Depends: libboost-thread1.67.0 but it is not installable
E: Unable to correct problems, you have held broken packages.

Stretch uses version 1.62 and not 1.67: https://packages.debian.org/stretch/libboost-context1.62.0

I do see the debian stretch-backports repo has this, but this is a repo that is not loaded by default.

I.e. server without stretch-backports:

apt-cache policy libboost-context1.67.0
libboost-context1.67.0:
  Installed: (none)
  Candidate: (none)
  Version table:

And with stretch-backports:

apt-cache policy libboost-context1.67.0
libboost-context1.67.0:
  Installed: (none)
  Candidate: 1.67.0-7~bpo9+1
  Version table:
     1.67.0-7~bpo9+1 100
        100 http://ftp.nl.debian.org/debian stretch-backports/main amd64 Packages

Is it required to include the backports repo now for this? Or is the dependency version incorrect for stretch?

Thanks!

@dnsmichi
Copy link
Contributor

2.11 requires newer Boost packages as stated in the Changelog.

Here's instructions how to add Debian Backports for Stretch: https://icinga.com/docs/icinga2/latest/doc/02-installation/#debian-backports-repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os/debian Debian packaging. Check the supported versions!
Projects
None yet
Development

No branches or pull requests

2 participants