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

icinga2-bin from /debian icinga-stretch repo has wrong dependencies #148

Closed
bugvillage opened this issue Sep 20, 2019 · 5 comments
Closed
Labels
os/debian Debian packaging. Check the supported versions!

Comments

@bugvillage
Copy link

The lastest icinga 2.11 release comes with Packages for debian stretch with unfulfillabel package dependencies:

Priority: optional
Section: admin
Installed-Size: 15506
Maintainer: Icinga Development Team <[email protected]>
Architecture: amd64
Source: icinga2
Version: 2.11.0-2.stretch
Replaces: libicinga2
Depends: icinga2-common (= 2.11.0-2.stretch), libboost-context1.67.0, libboost-coroutine1.67.0, libboost-date-time1.67.0, libboost-filesystem1.67.0, libboost-program-options1.67.0, libboost-regex1.67.0, libboost-system1.67.0, libboost-thread1.67.0, libc6 (>= 2.17), libedit2 (>= 2.11-20080614), libgcc1 (>= 1:3.3.1), libssl1.1 (>= 1.1.0), libstdc++6 (>= 6), libsystemd0, libtinfo5 (>= 6)

Operating system, Distribution, Release (lsb_release.py output):
{'RELEASE': '9.11', 'CODENAME': 'stretch', 'OS': 'GNU/Linux', 'ID': 'Debian', 'DESCRIPTION': 'Debian GNU/Linux 9.11 (stretch)'}

It is reproducible with the following apt/sources.list.d/icinga2.list repository configuration:
deb http://packages.icinga.org/debian icinga-stretch main

output of dpkg -l icinga2* before upgrade attempt:

+++-==============-================-============-=================================================
ii  icinga2        2.10.5-1.stretch amd64        host and network monitoring system
ii  icinga2-bin    2.10.5-1.stretch amd64        host and network monitoring system - daemon
ii  icinga2-common 2.10.5-1.stretch all          host and network monitoring system - common files
un  icinga2-doc    <none>           <none>       (no description available)```

Dependencies from icinga2-bin 2.10.5-1.stretch
```Package: icinga2-bin
Version: 2.10.5-1.stretch
Depends: icinga2-common (= 2.10.5-1.stretch), libboost-atomic1.62.0, libboost-chrono1.62.0, libboost-date-time1.62.0, libboost-program-options1.62.0, libboost-regex1.62.0, libboost-system1.62.0, libboost-thread1.62.0, libc6 (>= 2.14), libedit2 (>= 2.11-20080614), libgcc1 (>= 1:3.3.1), libssl1.1 (>= 1.1.0), libstdc++6 (>= 6), libsystemd0, libtinfo5 (>= 6), libyajl2 (>= 2.0.4)```
(no problems)

Dependencies from icinga2-bin 2.11.0-2.stretch
```Version: 2.11.0-1.stretch
Depends: icinga2-common (= 2.11.0-1.stretch), libboost-context1.67.0, libboost-coroutine1.67.0, libboost-date-time1.67.0, libboost-filesystem1.67.0, libboost-program-options1.67.0, libboost-regex1.67.0, libboost-system1.67.0, libboost-thread1.67.0, libc6 (>= 2.17), libedit2 (>= 2.11-20080614), libgcc1 (>= 1:3.3.1), libssl1.1 (>= 1.1.0), libstdc++6 (>= 6), libsystemd0, libtinfo5 (>= 6)```
(not installable)

Results when upgrading:
```# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  icinga2 icinga2-bin icinga2-common
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.```

or - even worse (and not recommended if not upgrading a OS distribution release):
```# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libboost-atomic1.62.0 libboost-chrono1.62.0 libboost-date-time1.62.0 libboost-program-options1.62.0 libboost-regex1.62.0 libboost-thread1.62.0 libyajl2
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  icinga2 icinga2-bin
The following packages will be upgraded:
  icinga2-common
1 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B/158 kB of archives.
After this operation, 13.9 MB disk space will be freed.
Do you want to continue? [Y/n] N
Abort.```

Can you please consider this problem in the build environment for Debian stretch packages?
@bugvillage
Copy link
Author

assumed
Labels: bug, Debian, icinga2
(don' t know how to add when creating the issue)

@dnsmichi
Copy link
Contributor

Debian Backports repository included?

@bugvillage
Copy link
Author

bugvillage commented Sep 21, 2019

no.
with stretch-backports the problem would not occur (seen on other servers)
should it be assumed on the "oldstable" release that backports are always installed?

@dnsmichi
Copy link
Contributor

Debian Stretch requires the Backports repository with 2.11 - for the Boost package dependency.

This is noted in the Upgrading docs as well as the steps are highlighted inside the installation docs as always.

https://icinga.com/docs/icinga2/latest/doc/16-upgrading-icinga-2/#added-boost-166
https://icinga.com/docs/icinga2/latest/doc/02-installation/#debian-backports-repository

@bugvillage
Copy link
Author

OK
(and sorry for not going there first, and: thanks for packaging newer libboost for jessie to make it available)

@dnsmichi dnsmichi added os/debian Debian packaging. Check the supported versions! no-issue labels Nov 22, 2019
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