icinga2-bin_2.14.3-1+debian11_arm64.deb
icinga2-bin_2.14.3-1+debian11_arm64 icinga2-bin depends on icinga2-common (= 2.14.3-1+debian11) But current version in repo is icinga2-common_2.14.3-1+debian12
I think i should be >= instead of only =
That dependency looks correct to me. There are multiple package versions for each Icinga 2 release, +debian11 is the package built for Debian 11 (bullseye) whereas +debian12 is the one built for Debian 12 (bookworm) and there should be no dependencies between the two.
There's also a version 2.14.3-1+debian11 of the icinga2-common and that's the correct one to use on Debian 11. Can you please provide the steps you did where you ran into a problem? I was able to install that version on Debian 11 arm64 just fine:
root@15d33a3c5312:~# apt install --no-install-recommends icinga2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
icinga2-bin icinga2-common libboost-context1.74.0 libboost-coroutine1.74.0 libboost-filesystem1.74.0 libboost-program-options1.74.0 libboost-regex1.74.0 libboost-thread1.74.0
Suggested packages:
vim-icinga2
Recommended packages:
icinga2-doc monitoring-plugins-basic | nagios-plugins-basic logrotate
The following NEW packages will be installed:
icinga2 icinga2-bin icinga2-common libboost-context1.74.0 libboost-coroutine1.74.0 libboost-filesystem1.74.0 libboost-program-options1.74.0 libboost-regex1.74.0 libboost-thread1.74.0
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 5801 kB of archives.
After this operation, 33.4 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian bullseye/main arm64 libboost-context1.74.0 arm64 1.74.0-9 [243 kB]
Get:2 http://deb.debian.org/debian bullseye/main arm64 libboost-thread1.74.0 arm64 1.74.0-9 [276 kB]
Get:3 http://deb.debian.org/debian bullseye/main arm64 libboost-coroutine1.74.0 arm64 1.74.0-9 [257 kB]
Get:4 http://deb.debian.org/debian bullseye/main arm64 libboost-filesystem1.74.0 arm64 1.74.0-9 [278 kB]
Get:5 http://deb.debian.org/debian bullseye/main arm64 libboost-program-options1.74.0 arm64 1.74.0-9 [344 kB]
Get:6 http://deb.debian.org/debian bullseye/main arm64 libboost-regex1.74.0 arm64 1.74.0-9 [473 kB]
Get:7 https://packages.icinga.com/debian icinga-bullseye/main arm64 icinga2-common all 2.14.3-1+debian11 [171 kB]
Get:8 https://packages.icinga.com/debian icinga-bullseye/main arm64 icinga2-bin arm64 2.14.3-1+debian11 [3641 kB]
Get:9 https://packages.icinga.com/debian icinga-bullseye/main arm64 icinga2 arm64 2.14.3-1+debian11 [119 kB]
Fetched 5801 kB in 1s (7955 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package icinga2-common.
(Reading database ... 29423 files and directories currently installed.)
Preparing to unpack .../0-icinga2-common_2.14.3-1+debian11_all.deb ...
Unpacking icinga2-common (2.14.3-1+debian11) ...
Selecting previously unselected package libboost-context1.74.0:arm64.
Preparing to unpack .../1-libboost-context1.74.0_1.74.0-9_arm64.deb ...
Unpacking libboost-context1.74.0:arm64 (1.74.0-9) ...
Selecting previously unselected package libboost-thread1.74.0:arm64.
Preparing to unpack .../2-libboost-thread1.74.0_1.74.0-9_arm64.deb ...
Unpacking libboost-thread1.74.0:arm64 (1.74.0-9) ...
Selecting previously unselected package libboost-coroutine1.74.0:arm64.
Preparing to unpack .../3-libboost-coroutine1.74.0_1.74.0-9_arm64.deb ...
Unpacking libboost-coroutine1.74.0:arm64 (1.74.0-9) ...
Selecting previously unselected package libboost-filesystem1.74.0:arm64.
Preparing to unpack .../4-libboost-filesystem1.74.0_1.74.0-9_arm64.deb ...
Unpacking libboost-filesystem1.74.0:arm64 (1.74.0-9) ...
Selecting previously unselected package libboost-program-options1.74.0:arm64.
Preparing to unpack .../5-libboost-program-options1.74.0_1.74.0-9_arm64.deb ...
Unpacking libboost-program-options1.74.0:arm64 (1.74.0-9) ...
Selecting previously unselected package libboost-regex1.74.0:arm64.
Preparing to unpack .../6-libboost-regex1.74.0_1.74.0-9_arm64.deb ...
Unpacking libboost-regex1.74.0:arm64 (1.74.0-9) ...
Selecting previously unselected package icinga2-bin.
Preparing to unpack .../7-icinga2-bin_2.14.3-1+debian11_arm64.deb ...
Unpacking icinga2-bin (2.14.3-1+debian11) ...
Selecting previously unselected package icinga2.
Preparing to unpack .../8-icinga2_2.14.3-1+debian11_arm64.deb ...
Unpacking icinga2 (2.14.3-1+debian11) ...
Setting up libboost-program-options1.74.0:arm64 (1.74.0-9) ...
Setting up icinga2-common (2.14.3-1+debian11) ...
Adding system-user for nagios
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libboost-filesystem1.74.0:arm64 (1.74.0-9) ...
Setting up libboost-regex1.74.0:arm64 (1.74.0-9) ...
Setting up libboost-context1.74.0:arm64 (1.74.0-9) ...
Setting up libboost-thread1.74.0:arm64 (1.74.0-9) ...
Setting up libboost-coroutine1.74.0:arm64 (1.74.0-9) ...
Setting up icinga2-bin (2.14.3-1+debian11) ...
enabling default icinga2 features
Enabling feature checker. Make sure to restart Icinga 2 for these changes to take effect.
Enabling feature notification. Make sure to restart Icinga 2 for these changes to take effect.
Enabling feature mainlog. Make sure to restart Icinga 2 for these changes to take effect.
Setting up icinga2 (2.14.3-1+debian11) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+deb11u11) ...
THe problem it try's to replace arm version with an amd version see
root@witsec:~# apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
Get:5 https://packages.icinga.com/debian icinga-bookworm InRelease [12.4 kB]
Ign:4 https://repo.hobby.nl bookworm InRelease
Hit:6 https://repo.hobby.nl bookworm Release
Get:7 https://packages.icinga.com/debian icinga-bookworm/main Sources [31.4 kB]
Get:8 https://packages.icinga.com/debian icinga-bookworm/main amd64 Packages [39.6 kB]
Fetched 83.4 kB in 2s (51.4 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@witsec:~# apt list --upgradable
Listing... Done
icinga2-common/icinga-bookworm 2.14.3-1+debian12 all [upgradable from: 2.14.2-1+debian12]
N: There are 12 additional versions. Please use the '-a' switch to see them.
root@witsec:~# dpkg --get-selections | grep icinga2
icinga2-bin install
icinga2-common install
root@witsec:~# apt list icinga2-bin
Listing... Done
icinga2-bin/icinga-bookworm 2.14.3-1+debian12 amd64
icinga2-bin/now 2.14.2-1+debian12 arm64 [installed,local]
root@witsec:~# apt list icinga2-common
Listing... Done
icinga2-common/icinga-bookworm 2.14.3-1+debian12 all [upgradable from: 2.14.2-1+debian12]
N: There are 12 additional versions. Please use the '-a' switch to see them.
back to @Al2Klimov
Get:8 https://packages.icinga.com/debian icinga-bookworm/main amd64 Packages [39.6 kB]
Looks very strange that apt downloads the amd64 repo if this is an arm64 system.
Can you please share the part of your sources.list for the packages.icinga.com repo, as well as the output of the commands dpkg --print-architecture and dpkg --print-foreign-architectures?
Found the iseu in sourcelist was an arch option
deb [arch=amd64 signed-by=/usr/share/keyrings/Icinga.gpg] https://packages.icinga.com/debian icinga-bookworm main deb-src [arch=amd64 signed-by=/usr/share/keyrings/Icinga.gpg] https://packages.icinga.com/debian icinga-bookworm main
sorry fort hat i have overlooked that one
Van: Julian Brost @.> Verzonden: dinsdag 17 december 2024 13:30 Aan: Icinga/icinga-packaging @.> CC: Bas van den Dikkenberg @.>; Assign @.> Onderwerp: Re: [Icinga/icinga-packaging] icinga2-bin_2.14.3-1+debian11_arm64.deb (Issue #310)
Get:8 https://packages.icinga.com/debian icinga-bookworm/main amd64 Packages [39.6 kB]
Looks very strange that apt downloads the amd64 repo if this is an arm64 system.
Can you please share the part of your sources.list for the packages.icinga.com repo, as well as the output of the commands dpkg --print-architecture and dpkg --print-foreign-architectures?
— Reply to this email directly, view it on GitHubhttps://github.com/Icinga/icinga-packaging/issues/310#issuecomment-2548332701, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJJY6JGWF37BSSRLM6HLBT2GAKNFAVCNFSM6AAAAABRUPYYY6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBYGMZTENZQGE. You are receiving this because you were assigned.Message ID: @.@.>>
So the issue is gone after removing the arch attribute (or changing it to arm64, though having it shouldn't be necessary at all)?
Did you copy that from somewhere from our documentation that might need an update? From a quick look^1, we don't seem to specify that attribute.