[ZBX-24443] No pubkey in noble repo Created: 2024 May 06 Updated: 2024 May 23 |
|
Status: | Confirmed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I) |
Affects Version/s: | 6.0.29 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Adrian Osica | Assignee: | Jurijs Klopovskis |
Resolution: | Unresolved | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
24.04 |
Attachments: |
![]() |
Description |
Steps to reproduce: apt update Result: W: GPG error: http://repo.zabbix.com/zabbix/6.0/ubuntu noble InRelease: The following signatures couldn''t be verified because the public key is not available: NO_PUBKEY D913219AB5333005 |
Comments |
Comment by Jurijs Klopovskis [ 2024 May 07 ] |
Seems to be working fine. root@ubuntu-2404:~# wget https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.0-6+ubuntu24.04_all.deb ... root@ubuntu-2404:~# dpkg -c zabbix-release_6.0-6+ubuntu24.04_all.deb drwxr-xr-x root/root 0 2023-09-28 10:24 ./ drwxr-xr-x root/root 0 2023-09-28 10:24 ./etc/ drwxr-xr-x root/root 0 2023-09-28 10:24 ./etc/apt/ drwxr-xr-x root/root 0 2023-09-28 10:24 ./etc/apt/sources.list.d/ -rw-r--r-- root/root 293 2023-09-28 10:24 ./etc/apt/sources.list.d/zabbix.list drwxr-xr-x root/root 0 2023-09-28 10:24 ./etc/apt/trusted.gpg.d/ -rw-r--r-- root/root 2275 2023-09-28 10:24 ./etc/apt/trusted.gpg.d/zabbix-official-repo-apr2024.gpg -rw-r--r-- root/root 1183 2023-09-28 10:24 ./etc/apt/trusted.gpg.d/zabbix-official-repo.gpg drwxr-xr-x root/root 0 2023-09-28 10:24 ./usr/ drwxr-xr-x root/root 0 2023-09-28 10:24 ./usr/share/ drwxr-xr-x root/root 0 2023-09-28 10:24 ./usr/share/doc/ drwxr-xr-x root/root 0 2023-09-28 10:24 ./usr/share/doc/zabbix-release/ -rw-r--r-- root/root 259 2023-09-28 10:24 ./usr/share/doc/zabbix-release/README.Debian -rw-r--r-- root/root 2679 2023-09-28 10:24 ./usr/share/doc/zabbix-release/changelog.Debian -rw-r--r-- root/root 551 2023-09-28 10:24 ./usr/share/doc/zabbix-release/copyright root@ubuntu-2404:~# dpkg -i zabbix-release_6.0-6+ubuntu24.04_all.deb Selecting previously unselected package zabbix-release. (Reading database ... 83237 files and directories currently installed.) Preparing to unpack zabbix-release_6.0-6+ubuntu24.04_all.deb ... Unpacking zabbix-release (1:6.0-6+ubuntu24.04) ... Setting up zabbix-release (1:6.0-6+ubuntu24.04) ... root@ubuntu-2404:~# apt update Hit:1 http://lv.archive.ubuntu.com/ubuntu noble InRelease Get:2 http://lv.archive.ubuntu.com/ubuntu noble-updates InRelease [89.7 kB] Get:3 http://lv.archive.ubuntu.com/ubuntu noble-backports InRelease [90.8 kB] Get:4 http://security.ubuntu.com/ubuntu noble-security InRelease [89.7 kB] Get:5 http://lv.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [21.8 kB] Get:6 http://lv.archive.ubuntu.com/ubuntu noble-updates/main Translation-en [6,704 B] Get:7 http://lv.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [12.8 kB] Get:8 https://repo.zabbix.com/zabbix/6.0/ubuntu noble InRelease [3,205 B] Get:9 http://lv.archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [4,524 B] Get:10 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [21.5 kB] Get:11 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [6,544 B] Get:12 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [8,248 B] Get:13 http://security.ubuntu.com/ubuntu noble-security/universe Translation-en [3,672 B] Get:14 https://repo.zabbix.com/zabbix/6.0/ubuntu noble/main Sources [2,261 B] Get:15 https://repo.zabbix.com/zabbix/6.0/ubuntu noble/main all Packages [1,556 B] Get:16 https://repo.zabbix.com/zabbix/6.0/ubuntu noble/main amd64 Packages [4,485 B] Fetched 367 kB in 2s (233 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@ubuntu-2404:~# Can you show the output of dpkg -L zabbix-release on you system, Adrian O ? |
Comment by Adrian Osica [ 2024 May 07 ] |
I install repo little different 1. Download key from https://repo.zabbix.com/zabbix-official-repo.key and save in /usr/share/keyrings/zabbix.key
deb [signed-by=/usr/share/keyrings/zabbix.key] http://repo.zabbix.com/zabbix/6.0/ubuntu noble main
3. apt update root@zabbix-proxy-001:~# apt update Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [89.7 kB] Get:2 http://repo.zabbix.com/zabbix/6.0/ubuntu noble InRelease [3205 B] Err:2 http://repo.zabbix.com/zabbix/6.0/ubuntu noble InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D913219AB5333005 Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease Get:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease [89.7 kB] Get:5 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [21.8 kB] Get:6 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [6704 B] Get:7 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [8260 B] Get:8 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [21.8 kB] Get:9 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [12.8 kB] Reading package lists... Done W: GPG error: http://repo.zabbix.com/zabbix/6.0/ubuntu noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D913219AB5333005 E: The repository 'http://repo.zabbix.com/zabbix/6.0/ubuntu noble InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. This setup work if i use this repo deb [signed-by=/usr/share/keyrings/zabbix.key] http://repo.zabbix.com/zabbix/6.0/ubuntu jammy main root@zabbix-proxy-001:~# apt update Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease Get:3 http://repo.zabbix.com/zabbix/6.0/ubuntu jammy InRelease [2883 B] Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease Get:5 http://repo.zabbix.com/zabbix/6.0/ubuntu jammy/main amd64 Packages [73.4 kB] Get:6 http://repo.zabbix.com/zabbix/6.0/ubuntu jammy/main all Packages [14.6 kB] Fetched 90.8 kB in 1s (77.6 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 3 packages can be upgraded. Run 'apt list --upgradable' to see them. root@zabbix-proxy-001:~# nano /etc/apt/sources.list root@zabbix-proxy-001:~# apt list | grep zabbixWARNING: apt does not have a stable CLI interface. Use with caution in scripts.pcp-export-pcp2zabbix/noble 6.2.0-1.1build4 amd64 pcp-export-zabbix-agent/noble 6.2.0-1.1build4 amd64 python3-pyzabbix/noble 0.8.2-1 all zabbix-agent-dbgsym/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-agent2-dbgsym/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-agent2-plugin-mongodb/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-agent2-plugin-mssql/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-agent2-plugin-postgresql/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-agent2/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-agent/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-apache-conf/zabbix 1:6.0.29-1+ubuntu22.04 all zabbix-frontend-php/zabbix 1:6.0.29-1+ubuntu22.04 all zabbix-get-dbgsym/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-get/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-java-gateway/zabbix 1:6.0.29-1+ubuntu22.04 all zabbix-js-dbgsym/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-js/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-nginx-conf/zabbix 1:6.0.29-1+ubuntu22.04 all zabbix-proxy-mysql-dbgsym/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-proxy-mysql/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-proxy-pgsql-dbgsym/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-proxy-pgsql/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-proxy-sqlite3-dbgsym/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-proxy-sqlite3/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-release/zabbix 1:6.0-4+ubuntu22.04 all zabbix-sender-dbgsym/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-sender/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-server-mysql-dbgsym/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-server-mysql/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-server-pgsql-dbgsym/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-server-pgsql/zabbix 1:6.0.29-1+ubuntu22.04 amd64 zabbix-sql-scripts/zabbix 1:6.0.29-1+ubuntu22.04 all zabbix-web-service/zabbix 1:6.0.29-1+ubuntu22.04 amd64
|
Comment by Jurijs Klopovskis [ 2024 May 07 ] |
Yep. Sorry haven't uploaded the new key to the repo.zabbix.com page directly. It's only available through zabbix-release package at the moment. There it is zabbix-official-repo-apr2024.gpg |
Comment by Sébastien Blaisot [ 2024 May 07 ] |
Do you plan to add this key to http://repo.zabbix.com/zabbix-official-repo.key ? |
Comment by Jurijs Klopovskis [ 2024 May 08 ] |
https://repo.zabbix.com/zabbix-official-repo-apr2024.gpg Currently used only for the new ubuntu 24.04 packages. |
Comment by Sébastien Blaisot [ 2024 May 08 ] |
It would be easier to automate adding repo if this key could be appended to http://repo.zabbix.com/zabbix-official-repo.key rather than sitting in another file. Previous key file already contains 2 keys, it should not be so hard to add a third one. I'm trying to extend ansible community.zabbix collection to support Ubuntu 24.04 and using a separate file will make things more complicated. See https://github.com/ansible-collections/community.zabbix/pull/1221 |
Comment by Sébastien Blaisot [ 2024 May 08 ] |
Nevermind, I managed to use a specific key url by distrib version |
Comment by Jurijs Klopovskis [ 2024 May 23 ] |
zabbix-official-repo.key has been updated # gpg --show-keys zabbix-official-repo.key pub dsa1024 2012-10-28 [SC] FBABD5FB20255ECAB22EE194D13D58E479EA5ED4 uid Zabbix SIA <[email protected]> sub elg1024 2012-10-28 [E] pub rsa2048 2016-07-15 [SC] A1848F5352D022B9471D83D0082AB56BA14FE591 uid Zabbix LLC <[email protected]> sub rsa2048 2016-07-15 [E] pub rsa4096 2024-04-30 [SC] [expires: 2034-04-28] 4C3D6F2CC75F5146754FC374D913219AB5333005 uid Zabbix LLC (Apr 2024) <[email protected]> sub rsa4096 2024-04-30 [E] [expires: 2034-04-28] pub rsa4096 2024-04-12 [SC] 84162C39F000750DDAEB816305A7FAEC227618D8 uid Zabbix Tools <[email protected]> sub rsa4096 2024-04-12 [E] |