Upgrading from 6 to 7, can't run apt update (NO_PUBKEY errors)

Nov 30, 2018
2
0
6
51
Since I upgraded from 6 to 7 I can no longer run 'apt update'. I have tried all the steps from the upgrade guide but can't get the error fixed.

Any idea how I can fix the error?

Here are some data from the Proxmox server:
result of apt update:
Code:
Hit:1 https://download.docker.com/linux/debian bullseye InReleaseHit:2 http://ftp.de.debian.org/debian bullseye InRelease
Hit:3 http://security.debian.org bullseye-security InRelease
Hit:4 http://download.proxmox.com/debian/ceph-octopus bullseye InRelease
Hit:5 http://download.proxmox.com/debian/corosync-3 stretch InRelease
Hit:6 https://enterprise.proxmox.com/debian/pve bullseye InRelease
Err:5 http://download.proxmox.com/debian/corosync-3 stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0D9A1950E2EF0603
Reading package lists... Done
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/corosync-3 stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0D9A1950E2EF0603
W: Failed to fetch http://download.proxmox.com/debian/corosync-3/dists/stretch/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0D9A1950E2EF0603
W: Some index files failed to download. They have been ignored, or old ones used instead.


result of ls -lh /etc/apt/trusted.gpg.d
Code:
-rw-r--r-- 1 root root 8.5K Mar 16  2021 debian-archive-bullseye-automatic.gpg
-rw-r--r-- 1 root root 8.6K Mar 16  2021 debian-archive-bullseye-security-automatic.gpg
-rw-r--r-- 1 root root 2.4K Mar 16  2021 debian-archive-bullseye-stable.gpg
-rw-r--r-- 1 root root 8.0K Apr 23  2019 debian-archive-buster-automatic.gpg
-rw-r--r-- 1 root root 8.0K Apr 23  2019 debian-archive-buster-security-automatic.gpg
-rw-r--r-- 1 root root 2.3K Apr 23  2019 debian-archive-buster-stable.gpg
-rw-r--r-- 1 root root 7.3K Apr 23  2019 debian-archive-stretch-automatic.gpg
-rw-r--r-- 1 root root 7.3K Apr 23  2019 debian-archive-stretch-security-automatic.gpg
-rw-r--r-- 1 root root 2.3K Apr 23  2019 debian-archive-stretch-stable.gpg
-rw-r--r-- 1 root root 1.2K Dec 14  2020 proxmox-release-bullseye.gpg
-rw-r--r-- 1 root root 1.2K Nov  9  2020 proxmox-release-buster.gpg

result of md5sum /etc/apt/trusted.gpg.d/proxmox*
Code:
bcc35c7173e0845c0d6ad6470b70f50e  /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
f3f6c5a3a67baf38ad178e5ff1ee270c  /etc/apt/trusted.gpg.d/proxmox-release-buster.gpg


result of pveversion -v
Code:
proxmox-ve: 7.0-2 (running kernel: 5.11.22-2-pve)
pve-manager: 7.0-10 (running version: 7.0-10/d2f465d3)
pve-kernel-5.11: 7.0-5
pve-kernel-helper: 7.0-5
pve-kernel-5.4: 6.4-4
pve-kernel-5.11.22-2-pve: 5.11.22-4
pve-kernel-5.4.124-1-pve: 5.4.124-2
pve-kernel-5.4.114-1-pve: 5.4.114-1
pve-kernel-4.13.13-5-pve: 4.13.13-38
pve-kernel-4.13.13-3-pve: 4.13.13-34
pve-kernel-4.13.8-3-pve: 4.13.8-30
pve-kernel-4.13.4-1-pve: 4.13.4-26
pve-kernel-4.10.17-2-pve: 4.10.17-20
ceph-fuse: 15.2.13-pve1
corosync: 3.1.2-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown: 0.8.36
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.21-pve1
libproxmox-acme-perl: 1.2.0
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.0-4
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.0-5
libpve-guest-common-perl: 4.0-2
libpve-http-server-perl: 4.0-2
libpve-storage-perl: 7.0-9
libqb0: 1.0.5-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.9-4
lxcfs: 4.0.8-pve2
novnc-pve: 1.2.0-3
proxmox-backup-client: 2.0.4-1
proxmox-backup-file-restore: 2.0.4-1
proxmox-mini-journalreader: 1.2-1
proxmox-widget-toolkit: 3.3-5
pve-cluster: 7.0-3
pve-container: 4.0-8
pve-docs: 7.0-5
pve-edk2-firmware: 3.20200531-1
pve-firewall: 4.2-2
pve-firmware: 3.2-4
pve-ha-manager: 3.3-1
pve-i18n: 2.4-1
pve-qemu-kvm: 6.0.0-2
pve-xtermjs: 4.12.0-1
qemu-server: 7.0-10
smartmontools: 7.2-pve2
spiceterm: 3.2-2
vncterm: 1.7-1
zfsutils-linux: 2.0.5-pve1
 
this repository should already have been removed when you upgraded to PVE 6.x:

Code:
Err:5 http://download.proxmox.com/debian/corosync-3 stretch InRelease

remove it, and the error will go away ;)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!