Hi,
any hint on getting the correct gpg key?
And yes, according to https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmg_package_repositories the keyfile has the correct hashsum...
any hint on getting the correct gpg key?
Code:
root@mxext1:~# cat /etc/apt/sources.list.d/pmg.list
deb [arch=amd64] http://download.proxmox.com/debian/pmg bullseye pmg-no-subscription
root@mxext1:~# gpg /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
gpg: WARNING: no command supplied. Trying to guess what you mean ...
pub rsa4096 2020-11-09 [SC] [expires: 2030-11-07]
28139A2F830BD68478A1A01FDD4BA3917E23BF59
uid Proxmox Bullseye Release Key <proxmox-release@proxmox.com>
root@mxext1:~# sha512sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
7fb03ec8a1675723d2853b84aa4fdb49a46a3bb72b9951361488bfd19b29aab0a789a4f8c7406e71a69aabbc727c936d3549731c4659ffa1a08f44db8fdcebfa /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
root@mxext1:~# apt update
Hit:1 http://ftp.debian.org/debian bullseye InRelease
Get:2 http://download.proxmox.com/debian/pmg bullseye InRelease [3,065 B]
Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
Hit:4 http://security.debian.org/debian-security bullseye-security InRelease
Err:5 https://enterprise.proxmox.com/debian/pmg bullseye InRelease
401 Unauthorized [IP: 2a01:7e0:0:424::249 443]
Err:2 http://download.proxmox.com/debian/pmg bullseye InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DD4BA3917E23BF59
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/pmg/dists/bullseye/InRelease 401 Unauthorized [IP: 2a01:7e0:0:424::249 443]
E: The repository 'https://enterprise.proxmox.com/debian/pmg bullseye 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.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.proxmox.com/debian/pmg bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DD4BA3917E23BF59
root@mxext1:~#
And yes, according to https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmg_package_repositories the keyfile has the correct hashsum...
Last edited: