Upgrading from 2.11-rc1 to 2.11

This may be a really dumb question, but is there anything special to do for upgrading from the 2.11-rc1 to the final 2.11?
I already removed the source list, updated the package lists and even did a reboot.
I still don’t get the icinga2 2.11 packages offered for the update.
If I try to manually do apt install icinga2 I get:

icinga2 is already the newest version (2.11.0+rc1.56.gfcca9643b.20190812.1421+bionic-0).

Hi,

there’s no direct upgrade path, since rc1 sources from the testing repository and not stable. The RC was meant for testers, some brave enough to put it into production (it was never meant for prod and therefore tagged as pre-release).

Anyhow, I’m not sure whether you can force apt to reinstall a specific version. Maybe this works:

apt-get --reinstall install icinga2

Cheers,
Michael

Not a production system, just the testlab :slight_smile:
The reinstall does not work, and I’m quite confused by the response:

 apt-get --reinstall install icinga2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of icinga2 is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 90 not upgraded.

:confused:

System is a Ubuntu 18.04

Puh, ok. I was wondering with you being an expert doing that in prod :wink:

I’m not sure what it cannot be downloaded. means, I have never seen that before.
Maybe https://askubuntu.com/questions/315361/change-libcups-to-repository-version ?

Cheers,
Michael

image
Some things seem to stick, even though done just once :smiley: I have learned :wink:

Thanks for the hint to the specific versions:

# apt install icinga2=2.11.0-1.bionic
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.bionic) but 2.11.0+rc1.56.gfcca9643b                                     .20190812.1421+bionic-0 is to be installed
           Depends: icinga2-common (= 2.11.0-1.bionic) but 2.11.0+rc1.56.gfcca96                                     43b.20190812.1421+bionic-0 is to be installed
           Recommends: icinga2-doc (= 2.11.0-1.bionic) but 2.11.0+rc1.56.gfcca96                                     43b.20190812.1421+bionic-0 is to be installed
           Recommends: libreadline6 but it is not installable
E: Unable to correct problems, you have held broken packages.

So I defined the version for all dependent packages, and then this would have happened.

#apt install icinga2=2.11.0-1.bionic icinga2-bin=2.11.0-1.bionic icinga2-common=2.11.0-1.bionic icinga2-doc=2.11.0-1.bionic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dbconfig-common default-mysql-client libaio1 mysql-client-5.7 mysql-client-core-5.7
Use 'apt autoremove' to remove them.
Suggested packages:
  vim-icinga2
Recommended packages:
  icinga2-doc libreadline6
The following packages will be REMOVED:
  icinga2-ido-mysql
The following packages will be DOWNGRADED:
  icinga2 icinga2-bin icinga2-common icinga2-doc
0 upgraded, 0 newly installed, 4 downgraded, 1 to remove and 90 not upgraded.
Need to get 9,186 kB of archives.
After this operation, 953 kB of additional disk space will be used.

Seems like apt regards the 2.11 release lower than the 2.11-rc1 :man_shrugging:?
Will try to just remove icinga2 and then reinstall.

1 Like

Yep, their convention for comparisons is … well. Let’s just say, RPM is easier.

Well, that does not work either:

Summary
# apt remove icinga2*
Reading package lists... Done
Building dependency tree
Reading state information... Done
...
The following packages were automatically installed and are no longer required:
  dbconfig-common default-mysql-client libaio1 libboost-context1.67.0-icinga libboost-coroutine1.67.0-icinga
  libboost-filesystem1.67.0-icinga libboost-program-options1.67.0-icinga libboost-regex1.67.0-icinga
  libboost-system1.67.0-icinga libboost-thread1.67.0-icinga mysql-client-5.7 mysql-client-core-5.7
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  icinga2 icinga2-bin icinga2-common icinga2-doc icinga2-ido-mysql
0 upgraded, 0 newly installed, 5 to remove and 90 not upgraded.
After this operation, 22.1 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 165365 files and directories currently installed.)
Removing icinga2 (2.11.0+rc1.56.gfcca9643b.20190812.1421+bionic-0) ...
Removing icinga2-ido-mysql (2.11.0+rc1.56.gfcca9643b.20190812.1421+bionic-0) ...
Removing icinga2-bin (2.11.0+rc1.56.gfcca9643b.20190812.1421+bionic-0) ...
Removing icinga2-common (2.11.0+rc1.56.gfcca9643b.20190812.1421+bionic-0) ...
Removing icinga2-doc (2.11.0+rc1.56.gfcca9643b.20190812.1421+bionic-0) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
root@st-isr01-dev:~# apt install icinga2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dbconfig-common default-mysql-client libaio1 mysql-client-5.7 mysql-client-core-5.7
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  icinga2-bin icinga2-common icinga2-doc
Suggested packages:
  vim-icinga2
Recommended packages:
  libreadline6
The following NEW packages will be installed:
  icinga2 icinga2-bin icinga2-common icinga2-doc
0 upgraded, 4 newly installed, 0 to remove and 90 not upgraded.
Need to get 9,186 kB of archives.
After this operation, 23.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://packages.icinga.com/ubuntu icinga-bionic/main amd64 icinga2-common all 2.11.0-1.bionic [66.0 kB]
Get:2 https://packages.icinga.com/ubuntu icinga-bionic/main amd64 icinga2-bin amd64 2.11.0-1.bionic [2,980 kB]
Get:3 https://packages.icinga.com/ubuntu icinga-bionic/main amd64 icinga2 amd64 2.11.0-1.bionic [109 kB]
Get:4 https://packages.icinga.com/ubuntu icinga-bionic/main amd64 icinga2-doc all 2.11.0-1.bionic [6,032 kB]
Fetched 9,186 kB in 2s (5,717 kB/s)
Selecting previously unselected package icinga2-common.
(Reading database ... 165181 files and directories currently installed.)
Preparing to unpack .../icinga2-common_2.11.0-1.bionic_all.deb ...
Unpacking icinga2-common (2.11.0-1.bionic) ...
Selecting previously unselected package icinga2-bin.
Preparing to unpack .../icinga2-bin_2.11.0-1.bionic_amd64.deb ...
Unpacking icinga2-bin (2.11.0-1.bionic) ...
Selecting previously unselected package icinga2.
Preparing to unpack .../icinga2_2.11.0-1.bionic_amd64.deb ...
Unpacking icinga2 (2.11.0-1.bionic) ...
Selecting previously unselected package icinga2-doc.
Preparing to unpack .../icinga2-doc_2.11.0-1.bionic_all.deb ...
Unpacking icinga2-doc (2.11.0-1.bionic) ...
Setting up icinga2-common (2.11.0-1.bionic) ...
Job for icinga2.service failed because the control process exited with error code.
See "systemctl status icinga2.service" and "journalctl -xe" for details.
invoke-rc.d: initscript icinga2, action "start" failed.
● icinga2.service - Icinga host/service/network monitoring system
   Loaded: loaded (/lib/systemd/system/icinga2.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/icinga2.service.d
           └─limits.conf
   Active: failed (Result: exit-code) since Fri 2019-09-20 10:33:49 CEST; 8ms ago
  Process: 4667 ExecStart=/usr/sbin/icinga2 daemon --close-stdio -e ${ICINGA2_ERROR_LOG} (code=exited, status=1/FAILURE)
  Process: 4648 ExecStartPre=/usr/lib/icinga2/prepare-dirs /etc/default/icinga2 (code=exited, status=0/SUCCESS)
 Main PID: 4667 (code=exited, status=1/FAILURE)

Sep 20 10:33:48 st-isr01-dev icinga2[4667]: [2019-09-20 10:33:48 +0200] information/cli: Loading configuration file(s).
Sep 20 10:33:48 st-isr01-dev icinga2[4667]: [2019-09-20 10:33:48 +0200] information/ConfigItem: Committing config item(s).
Sep 20 10:33:48 st-isr01-dev icinga2[4667]: [2019-09-20 10:33:48 +0200] information/ApiListener: My API identity: st-isr01-dev.ucs.testucs
Sep 20 10:33:48 st-isr01-dev icinga2[4667]: [2019-09-20 10:33:48 +0200] critical/config: Error: Could not load library 'libmysql_shim.so.2.11.0': libmysql_shim.so.2.11.0: cannot open shared object file: No such file or directory
Sep 20 10:33:48 st-isr01-dev icinga2[4667]: [2019-09-20 10:33:48 +0200] critical/config: 1 error
Sep 20 10:33:48 st-isr01-dev icinga2[4667]: [2019-09-20 10:33:48 +0200] critical/cli: Config validation failed. Re-run with 'icinga2 daemon -C' after fixing the config.
Sep 20 10:33:49 st-isr01-dev systemd[1]: icinga2.service: Main process exited, code=exited, status=1/FAILURE
Sep 20 10:33:49 st-isr01-dev systemd[1]: icinga2.service: Killing process 4707 (icinga2) with signal SIGKILL.
Sep 20 10:33:49 st-isr01-dev systemd[1]: icinga2.service: Failed with result 'exit-code'.
Sep 20 10:33:49 st-isr01-dev systemd[1]: Failed to start Icinga host/service/network monitoring system.
dpkg: error processing package icinga2-common (--configure):
 installed icinga2-common package post-installation script subprocess returned error exit status 1
Processing triggers for ureadahead (0.100.0-21) ...
dpkg: dependency problems prevent configuration of icinga2-bin:
 icinga2-bin depends on icinga2-common (= 2.11.0-1.bionic); however:
  Package icinga2-common is not configured yet.

dpkg: error processing package icinga2-bin (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                               dpkg: dependency problems prevent configuration of icinga2:
 icinga2 depends on icinga2-bin (= 2.11.0-1.bionic); however:
  Package icinga2-bin is not configured yet.
 icinga2 depends on icinga2-common (= 2.11.0-1.bionic); however:
  Package icinga2-common is not configured yet.

dpkg: error processing package icinga2 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for systemd (237-3ubuntu10.25) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up icinga2-doc (2.11.0-1.bionic) ...
Errors were encountered while processing:
 icinga2-common
 icinga2-bin
 icinga2
E: Sub-process /usr/bin/dpkg returned an error code (1)

I then noticed that the recommended package libreadline6 was not picked for installation. I tried to install it manually, result:

Summary
# apt install libreadline6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libreadline6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libreadline6' has no installation candidate

Could this be a/the problem?

Looking into this, give me some minutes.

It does work, just missed two things/steps:

# apt remove icinga2*
# apt autoremove <--- need to remove the obsolete packages
# apt install icinga2 icinga2-ido-mysql  <--- forgot to install the ido-mysql package...
Output
# apt remove icinga2*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'icinga2-bin' for glob 'icinga2*'
Note, selecting 'icinga2-studio' for glob 'icinga2*'
Note, selecting 'icinga2-dbg' for glob 'icinga2*'
Note, selecting 'icinga2-doc' for glob 'icinga2*'
Note, selecting 'icinga2-ido-pgsql' for glob 'icinga2*'
Note, selecting 'icinga2-classicui' for glob 'icinga2*'
Note, selecting 'icinga2-ido-mysql' for glob 'icinga2*'
Note, selecting 'icinga2-common' for glob 'icinga2*'
Note, selecting 'icinga2' for glob 'icinga2*'
Package 'icinga2-classicui' is not installed, so not removed
Package 'icinga2-dbg' is not installed, so not removed
Package 'icinga2-ido-pgsql' is not installed, so not removed
Package 'icinga2-studio' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  dbconfig-common default-mysql-client libaio1 libboost-context1.67.0-icinga libboost-coroutine1.67.0-icinga libboost-filesystem1.67.0-icinga libboost-program-options1.67.0-icinga libboost-regex1.67.0-icinga
  libboost-system1.67.0-icinga libboost-thread1.67.0-icinga mysql-client-5.7 mysql-client-core-5.7
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  icinga2 icinga2-bin icinga2-common icinga2-doc icinga2-ido-mysql
0 upgraded, 0 newly installed, 5 to remove and 90 not upgraded.
After this operation, 22.1 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 165365 files and directories currently installed.)
Removing icinga2 (2.11.0+rc1.56.gfcca9643b.20190812.1421+bionic-0) ...
Removing icinga2-ido-mysql (2.11.0+rc1.56.gfcca9643b.20190812.1421+bionic-0) ...
Removing icinga2-bin (2.11.0+rc1.56.gfcca9643b.20190812.1421+bionic-0) ...
Removing icinga2-common (2.11.0+rc1.56.gfcca9643b.20190812.1421+bionic-0) ...
Removing icinga2-doc (2.11.0+rc1.56.gfcca9643b.20190812.1421+bionic-0) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
root@st-isr01-dev:~# apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  dbconfig-common default-mysql-client libaio1 libboost-context1.67.0-icinga libboost-coroutine1.67.0-icinga libboost-filesystem1.67.0-icinga libboost-program-options1.67.0-icinga libboost-regex1.67.0-icinga
  libboost-system1.67.0-icinga libboost-thread1.67.0-icinga mysql-client-5.7 mysql-client-core-5.7
0 upgraded, 0 newly installed, 12 to remove and 90 not upgraded.
After this operation, 83.1 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 165179 files and directories currently installed.)
Removing dbconfig-common (2.0.9) ...
Removing default-mysql-client (1.0.4) ...
Removing mysql-client-5.7 (5.7.27-0ubuntu0.18.04.1) ...
Removing mysql-client-core-5.7 (5.7.27-0ubuntu0.18.04.1) ...
Removing libaio1:amd64 (0.3.110-5ubuntu0.1) ...
Removing libboost-coroutine1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Removing libboost-context1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Removing libboost-filesystem1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Removing libboost-program-options1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Removing libboost-regex1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Removing libboost-thread1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Removing libboost-system1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
root@st-isr01-dev:~# apt install icinga2 icinga2-ido-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  dbconfig-common default-mysql-client icinga2-bin icinga2-common icinga2-doc libaio1 libboost-context1.67.0-icinga libboost-coroutine1.67.0-icinga libboost-filesystem1.67.0-icinga libboost-program-options1.67.0-icinga
  libboost-regex1.67.0-icinga libboost-system1.67.0-icinga libboost-thread1.67.0-icinga mysql-client-5.7 mysql-client-core-5.7
Suggested packages:
  dbconfig-mysql | dbconfig-pgsql | dbconfig-sqlite | dbconfig-sqlite3 | dbconfig-no-thanks vim-icinga2 default-mysql-server | mysql-server
Recommended packages:
  libreadline6
The following NEW packages will be installed:
  dbconfig-common default-mysql-client icinga2 icinga2-bin icinga2-common icinga2-doc icinga2-ido-mysql libaio1 libboost-context1.67.0-icinga libboost-coroutine1.67.0-icinga libboost-filesystem1.67.0-icinga
  libboost-program-options1.67.0-icinga libboost-regex1.67.0-icinga libboost-system1.67.0-icinga libboost-thread1.67.0-icinga mysql-client-5.7 mysql-client-core-5.7
0 upgraded, 17 newly installed, 0 to remove and 90 not upgraded.
Need to get 21.2 MB of archives.
After this operation, 106 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 dbconfig-common all 2.0.9 [601 kB]
Get:2 https://packages.icinga.com/ubuntu icinga-bionic/main amd64 libboost-context1.67.0-icinga amd64 1.67.0-13.1.bionic [228 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libaio1 amd64 0.3.110-5ubuntu0.1 [6,476 B]
Get:4 https://packages.icinga.com/ubuntu icinga-bionic/main amd64 libboost-system1.67.0-icinga amd64 1.67.0-13.1.bionic [229 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 mysql-client-core-5.7 amd64 5.7.27-0ubuntu0.18.04.1 [7,040 kB]
Get:6 https://packages.icinga.com/ubuntu icinga-bionic/main amd64 libboost-thread1.67.0-icinga amd64 1.67.0-13.1.bionic [267 kB]
Get:7 https://packages.icinga.com/ubuntu icinga-bionic/main amd64 libboost-coroutine1.67.0-icinga amd64 1.67.0-13.1.bionic [243 kB]
Get:8 https://packages.icinga.com/ubuntu icinga-bionic/main amd64 libboost-filesystem1.67.0-icinga amd64 1.67.0-13.1.bionic [260 kB]
Get:9 https://packages.icinga.com/ubuntu icinga-bionic/main amd64 libboost-program-options1.67.0-icinga amd64 1.67.0-13.1.bionic [356 kB]
Get:10 https://packages.icinga.com/ubuntu icinga-bionic/main amd64 libboost-regex1.67.0-icinga amd64 1.67.0-13.1.bionic [482 kB]
Get:11 https://packages.icinga.com/ubuntu icinga-bionic/main amd64 icinga2-common all 2.11.0-1.bionic [66.0 kB]
Get:12 https://packages.icinga.com/ubuntu icinga-bionic/main amd64 icinga2-bin amd64 2.11.0-1.bionic [2,980 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 mysql-client-5.7 amd64 5.7.27-0ubuntu0.18.04.1 [2,302 kB]
Get:14 https://packages.icinga.com/ubuntu icinga-bionic/main amd64 icinga2 amd64 2.11.0-1.bionic [109 kB]
Get:15 https://packages.icinga.com/ubuntu icinga-bionic/main amd64 icinga2-doc all 2.11.0-1.bionic [6,032 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic/universe amd64 default-mysql-client all 1.0.4 [3,508 B]
Get:17 https://packages.icinga.com/ubuntu icinga-bionic/main amd64 icinga2-ido-mysql amd64 2.11.0-1.bionic [24.6 kB]
Fetched 21.2 MB in 4s (5,902 kB/s)
Preconfiguring packages ...
Selecting previously unselected package dbconfig-common.
(Reading database ... 164800 files and directories currently installed.)
Preparing to unpack .../00-dbconfig-common_2.0.9_all.deb ...
Unpacking dbconfig-common (2.0.9) ...
Selecting previously unselected package libaio1:amd64.
Preparing to unpack .../01-libaio1_0.3.110-5ubuntu0.1_amd64.deb ...
Unpacking libaio1:amd64 (0.3.110-5ubuntu0.1) ...
Selecting previously unselected package mysql-client-core-5.7.
Preparing to unpack .../02-mysql-client-core-5.7_5.7.27-0ubuntu0.18.04.1_amd64.deb ...
Unpacking mysql-client-core-5.7 (5.7.27-0ubuntu0.18.04.1) ...
Selecting previously unselected package mysql-client-5.7.
Preparing to unpack .../03-mysql-client-5.7_5.7.27-0ubuntu0.18.04.1_amd64.deb ...
Unpacking mysql-client-5.7 (5.7.27-0ubuntu0.18.04.1) ...
Selecting previously unselected package default-mysql-client.
Preparing to unpack .../04-default-mysql-client_1.0.4_all.deb ...
Unpacking default-mysql-client (1.0.4) ...
Selecting previously unselected package libboost-context1.67.0-icinga:amd64.
Preparing to unpack .../05-libboost-context1.67.0-icinga_1.67.0-13.1.bionic_amd64.deb ...
Unpacking libboost-context1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Selecting previously unselected package libboost-system1.67.0-icinga:amd64.
Preparing to unpack .../06-libboost-system1.67.0-icinga_1.67.0-13.1.bionic_amd64.deb ...
Unpacking libboost-system1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Selecting previously unselected package libboost-thread1.67.0-icinga:amd64.
Preparing to unpack .../07-libboost-thread1.67.0-icinga_1.67.0-13.1.bionic_amd64.deb ...
Unpacking libboost-thread1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Selecting previously unselected package libboost-coroutine1.67.0-icinga:amd64.
Preparing to unpack .../08-libboost-coroutine1.67.0-icinga_1.67.0-13.1.bionic_amd64.deb ...
Unpacking libboost-coroutine1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Selecting previously unselected package libboost-filesystem1.67.0-icinga:amd64.
Preparing to unpack .../09-libboost-filesystem1.67.0-icinga_1.67.0-13.1.bionic_amd64.deb ...
Unpacking libboost-filesystem1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Selecting previously unselected package libboost-program-options1.67.0-icinga:amd64.
Preparing to unpack .../10-libboost-program-options1.67.0-icinga_1.67.0-13.1.bionic_amd64.deb ...
Unpacking libboost-program-options1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Selecting previously unselected package libboost-regex1.67.0-icinga:amd64.
Preparing to unpack .../11-libboost-regex1.67.0-icinga_1.67.0-13.1.bionic_amd64.deb ...
Unpacking libboost-regex1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Selecting previously unselected package icinga2-common.
Preparing to unpack .../12-icinga2-common_2.11.0-1.bionic_all.deb ...
Unpacking icinga2-common (2.11.0-1.bionic) ...
Selecting previously unselected package icinga2-bin.
Preparing to unpack .../13-icinga2-bin_2.11.0-1.bionic_amd64.deb ...
Unpacking icinga2-bin (2.11.0-1.bionic) ...
Selecting previously unselected package icinga2.
Preparing to unpack .../14-icinga2_2.11.0-1.bionic_amd64.deb ...
Unpacking icinga2 (2.11.0-1.bionic) ...
Selecting previously unselected package icinga2-doc.
Preparing to unpack .../15-icinga2-doc_2.11.0-1.bionic_all.deb ...
Unpacking icinga2-doc (2.11.0-1.bionic) ...
Selecting previously unselected package icinga2-ido-mysql.
Preparing to unpack .../16-icinga2-ido-mysql_2.11.0-1.bionic_amd64.deb ...
Unpacking icinga2-ido-mysql (2.11.0-1.bionic) ...
Setting up icinga2-common (2.11.0-1.bionic) ...
Processing triggers for ureadahead (0.100.0-21) ...
Setting up libboost-context1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Setting up libboost-program-options1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Setting up libboost-regex1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up libaio1:amd64 (0.3.110-5ubuntu0.1) ...
Processing triggers for systemd (237-3ubuntu10.25) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up mysql-client-core-5.7 (5.7.27-0ubuntu0.18.04.1) ...
Setting up libboost-system1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Setting up dbconfig-common (2.0.9) ...
Setting up icinga2-doc (2.11.0-1.bionic) ...
Setting up libboost-filesystem1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Setting up libboost-thread1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Setting up mysql-client-5.7 (5.7.27-0ubuntu0.18.04.1) ...
Setting up default-mysql-client (1.0.4) ...
Setting up libboost-coroutine1.67.0-icinga:amd64 (1.67.0-13.1.bionic) ...
Setting up icinga2-bin (2.11.0-1.bionic) ...
Setting up icinga2 (2.11.0-1.bionic) ...
Setting up icinga2-ido-mysql (2.11.0-1.bionic) ...
dbconfig-common: writing config to /etc/dbconfig-common/icinga2-ido-mysql.conf
dbconfig-common: flushing administrative password
Processing triggers for libc-bin (2.27-3ubuntu1) ...

HI, i used only this this:

apt-get install icinga2=2.11.0-1.xenial icinga2-bin=2.11.0-1.xenial icinga2-common=2.11.0-1.xenial icinga2-ido-mysql=2.11.0-1.xenial

and then “apt-get autoremove”

Ok, you were too fast. But you’re a good troubleshooter, I’ve found out that some fixes for the Debian packages did not reach 2.11. Therefore I’ve triggered a new build which now has 2.11.0-2 available for Debian/Ubuntu including the aforementioned readline6 things.

2 Likes

Faced the same issue on Debian Stretch. Problem is that our rc-packages have been named in a way that Debian believes them to be newer than the release packages. You have to explicitly force a downgrade as shown by @unic and will be told that this is going to be a “downgrade”:

apt install icinga2=2.11.0-2.stretch icinga2-bin=2.11.0-2.stretch icinga2-common=2.11.0-2.stretch icinga2-ido-mysql=2.11.0-2.stretch
[..]
The following packages will be DOWNGRADED:
  icinga2 icinga2-bin icinga2-common icinga2-ido-mysql

I have been running 2.11.0+rc1.56.gfcca9643b.20190812.1420+stretch-0 on this system. Guess 2.11.1 will fix this :wink:

1 Like

That package slipped in there accidentally, and hasn’t been deleted ever since. Though, even with purging it, users moving along from testing to stable again will run into the same problems. I’ll take a note for discussing this with Eric next week.