icinga-packaging
icinga-packaging copied to clipboard
Sugestion to improve repo documentation apt-key is deprecated
the use of apt-key is deprecated
i sugested the documentation www.icinga.com must be updated to :
curl https://packages.icinga.com/icinga.key | gpg --dearmour -o /usr/share/keyrings/Icinga.gpg
apt-get update
apt-get -y install apt-transport-https wget gnupg
. /etc/os-release; if [ ! -z ${UBUNTU_CODENAME+x} ]; then
DIST="${UBUNTU_CODENAME}"; else DIST="$(lsb_release -c| awk '{print $2}')"; fi; \
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/Icinga.gpg] https://packages.icinga.com/ubuntu icinga-${DIST} main" > \
/etc/apt/sources.list.d/${DIST}-icinga.list
echo "deb-src [arch=amd64 signed-by=/usr/share/keyrings/Icinga.gpg] https://packages.icinga.com/ubuntu icinga-${DIST} main" >> \
/etc/apt/sources.list.d/${DIST}-icinga.list
apt update
Random side note (just as a hint to incorporate when touching this): when the file is called .asc, APT should also be able to use ASCII-armored files directly. Alternatively, the binary file could also be put on the web server. Both would remove the need to install GnuPG explicitly.
Your right
Outlook voor Androidhttps://aka.ms/AAb9ysg downloaden
From: Julian Brost @.> Sent: Monday, July 4, 2022 11:33:38 AM To: Icinga/icinga-packaging @.> Cc: Bas van den Dikkenberg @.>; Author @.> Subject: Re: [Icinga/icinga-packaging] Sugestion to improve repo documentation apt-key is deprecated (Issue #251)
Random side note (just as a hint to incorporate when touching this): when the file is called .asc, APT should also be able to use ASCII-armored files directly. Alternatively, the binary file could also be put on the web server. Both would remove the need to install GnuPG explicitly.
— Reply to this email directly, view it on GitHubhttps://github.com/Icinga/icinga-packaging/issues/251#issuecomment-1173587686, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJJY6NMCCAKRWG2ZZQMRXLVSKVXFANCNFSM52OYJAIQ. You are receiving this because you authored the thread.Message ID: @.***>
The documentation should probably also be updated to use deb822 formatted repositories, for example:
cat /etc/apt/sources.list.d/icinga.sources
Types: deb
URIs: https://packages.icinga.com/debian
Suites: icinga-bookworm
Architectures: amd64
Components: main
Signed-By: /etc/apt/keyrings/icinga.gpg
Fixed in https://github.com/Icinga/packages.icinga.com/pull/16