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

[dev.icinga.com #13043] installation fails on debian stretch/testing #4764

Closed
icinga-migration opened this issue Nov 4, 2016 · 2 comments
Closed
Labels
area/setup Installation, systemd, sample files bug Something isn't working

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/13043

Created by uselessdetails on 2016-11-04 00:07:32 +00:00

Assignee: (none)
Status: Closed (closed on 2016-12-07 20:37:55 +00:00)
Target Version: (none)
Last Update: 2016-12-07 20:37:55 +00:00 (in Redmine)

Icinga Version: 2.5.4-1~debmon8+4
Backport?: Not yet backported
Include in Changelog: 1

root@aster:~# 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.5.4-1debmon8+4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@aster:
# apt-get install icinga2-bin
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: libicinga2 (= 2.5.4-1debmon8+4) but it is not going to be installed
Depends: libboost-program-options1.55.0 but it is not installable
Depends: libboost-regex1.55.0 but it is not installable
Depends: libboost-system1.55.0 but it is not installable
Depends: libboost-thread1.55.0 but it is not installable
E: Unable to correct problems, you have held broken packages.
root@aster:
# apt-get install libboost-program-options-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libboost-program-options1.61-dev libboost-program-options1.61.0 libboost1.61-dev
Suggested packages:
libboost1.61-doc libboost-atomic1.61-dev libboost-chrono1.61-dev libboost-context1.61-dev libboost-coroutine1.61-dev
libboost-date-time1.61-dev libboost-exception1.61-dev libboost-filesystem1.61-dev libboost-graph1.61-dev
libboost-graph-parallel1.61-dev libboost-iostreams1.61-dev libboost-locale1.61-dev libboost-log1.61-dev
libboost-math1.61-dev libboost-mpi1.61-dev libboost-mpi-python1.61-dev libboost-python1.61-dev libboost-random1.61-dev
libboost-regex1.61-dev libboost-serialization1.61-dev libboost-signals1.61-dev libboost-system1.61-dev libboost-test1.61-dev
libboost-thread1.61-dev libboost-timer1.61-dev libboost-wave1.61-dev libboost1.61-tools-dev libmpfrc**-dev libntl-dev
The following NEW packages will be installed:
libboost-program-options-dev libboost-program-options1.61-dev libboost-program-options1.61.0 libboost1.61-dev
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,190 kB of archives.
After this operation, 115 MB of additional disk space will be used.

The problem here is that existing packages depend on version specific libboost packages and libboost has been updated. The old versions are not available on later releases.

Is there any particular reason why they were bolted them to a specific version? That is, why use libboost-program-options1.61.0 over libboost-program-options-dev?

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-11-07 07:18:37 +00:00

  • Status changed from New to Feedback
  • Assigned to set to uselessdetails

Please attach the output of 'apt-cache policy' to the bug report. The most likely scenario here is that you're trying to install packages which were built for jessie (as suggested by the version number you specified for the bug report). The binary packages for Icinga 2 depend on whichever boost version they were built against. You're correct in assuming that the source package should depend on the dev packages and they do just that.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-12-07 20:37:55 +00:00

  • Category set to Packages
  • Status changed from Feedback to Closed
  • Assigned to deleted uselessdetails

You can't install packages from Debian stable (8, jessie) in Debian testing or unstable unless any of Icinga 2's package dependency did not change. And that is highly unlikely with Testing/Unstable. Using such requires special builds as Gunnar already explained. You might probably fetch that from unstable - https://packages.debian.org/sid/icinga2 which should be nearly the same as testing at this time with stretch freeze approaching.

Closing here.

@icinga-migration icinga-migration added bug Something isn't working area/setup Installation, systemd, sample files labels Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/setup Installation, systemd, sample files bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant