problem after apt update

wifi75

Well-Known Member
Nov 11, 2019
71
4
48
46
hello after send command apt update I have follow error:

Code:
All packages are up to date.
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/pve 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/pve/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.

what can I do to fix?
 
allready check File /etc/apt/sources.list but them what can I do?

then I tryed also follow command
Code:
SecureApt
The Release files in the repositories are signed with GnuPG. APT is using these signatures to verify that all packages are from a trusted source.

If you install Proxmox VE from an official ISO image, the key for verification is already installed.

If you install Proxmox VE on top of Debian, download and install the key with the following commands:

 # wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
Verify the checksum afterwards with:

# sha512sum /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
The output should be:

acca6f416917e8e11490a08a1e2842d500b3a5d9f322c6319db0927b2901c3eae23cfb5cd5df6facf2b57399d3cfa52ad7769ebdd75d9b204549ca147da52626 /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
or:

# md5sum /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
 
Last edited:
Yes allready but some error:

Code:
apt update
Hit:1 http://ftp.debian.org/debian buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 http://ftp.debian.org/debian buster-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve buster InRelease
Hit:5 http://download.proxmox.com/debian/pve stretch InRelease
Err:6 https://enterprise.proxmox.com/debian/pve buster InRelease
  401  Unauthorized [IP: 212.224.123.70 443]
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease  401  Unauthorized [IP: 212.224.123.70 443]
E: The repository 'https://enterprise.proxmox.com/debian/pve buster 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.
root@proxmox:~#
 
yes now I removed from my list all and I have this:

deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription

# security updates
deb http://security.debian.org/debian-security buster/updates main contrib


after send apt update now there is this :
Code:
root@proxmox:~# apt clean
root@proxmox:~# apt-get update
Get:1 http://ftp.debian.org/debian buster InRelease [122 kB]
Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:3 http://security.debian.org/debian-security buster/updates/main amd64 Packages [224 kB]
Get:4 http://download.proxmox.com/debian/pve buster InRelease [3,051 B]
Get:5 http://ftp.debian.org/debian buster-updates InRelease [51.9 kB]
Get:6 http://download.proxmox.com/debian/pve stretch InRelease [3,052 B]
Get:7 http://ftp.debian.org/debian buster/main amd64 Packages [7,906 kB]
Get:8 http://download.proxmox.com/debian/pve buster/pve-no-subscription amd64 Packages [273 kB]
Get:9 http://security.debian.org/debian-security buster/updates/main Translation-en [122 kB]
Err:10 https://enterprise.proxmox.com/debian/pve buster InRelease
  401  Unauthorized [IP: 212.224.123.70 443]
Err:6 http://download.proxmox.com/debian/pve stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0D9A1950E2EF0603
Get:11 http://ftp.debian.org/debian buster/main Translation-en [5,968 kB]
Get:12 http://ftp.debian.org/debian buster/contrib amd64 Packages [50.5 kB]
Get:13 http://ftp.debian.org/debian buster/contrib Translation-en [44.5 kB]
Get:14 http://ftp.debian.org/debian buster-updates/main amd64 Packages [7,868 B]
Get:15 http://ftp.debian.org/debian buster-updates/main Translation-en [5,672 B]
Reading package lists... Done
W: Target Packages (pve-no-subscription/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/pve-install-repo.list:1
W: Target Packages (pve-no-subscription/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/pve-install-repo.list:1
W: Target Translations (pve-no-subscription/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/pve-install-repo.list:1
W: Target Translations (pve-no-subscription/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/pve-install-repo.list:1
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease  401  Unauthorized [IP: 212.224.123.70 443]
E: The repository 'https://enterprise.proxmox.com/debian/pve buster 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: GPG error: http://download.proxmox.com/debian/pve stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0D9A1950E2EF0603
E: The repository 'http://download.proxmox.com/debian/pve stretch 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: Target Packages (pve-no-subscription/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/pve-install-repo.list:1
W: Target Packages (pve-no-subscription/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/pve-install-repo.list:1
W: Target Translations (pve-no-subscription/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/pve-install-repo.list:1
W: Target Translations (pve-no-subscription/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/pve-install-repo.list:1
root@proxmox:~# apt clean
root@proxmox:~# apt-get update
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:2 http://ftp.debian.org/debian buster InRelease [122 kB]
Get:3 http://download.proxmox.com/debian/pve buster InRelease [3,051 B]
Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [224 kB]
Get:5 http://download.proxmox.com/debian/pve stretch InRelease [3,052 B]
Get:6 http://ftp.debian.org/debian buster-updates InRelease [51.9 kB]
Err:3 http://download.proxmox.com/debian/pve buster InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0
Err:7 https://enterprise.proxmox.com/debian/pve buster InRelease
  401  Unauthorized [IP: 212.224.123.70 443]
Err:5 http://download.proxmox.com/debian/pve stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0D9A1950E2EF0603
Get:8 http://ftp.debian.org/debian buster/main amd64 Packages [7,906 kB]
Get:9 http://security.debian.org/debian-security buster/updates/main Translation-en [122 kB]
Get:10 http://ftp.debian.org/debian buster/main Translation-en [5,968 kB]
Get:11 http://ftp.debian.org/debian buster/contrib amd64 Packages [50.5 kB]
 
Err:3 http://download.proxmox.com/debian/pve buster InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0 Err:7 https://enterprise.proxmox.com/debian/pve buster InRelease 401 Unauthorized [IP: 212.224.123.70 443] Err:5 http://download.proxmox.com/debian/pve stretch InRelease

seems you still have an old sources.list entry - most likely in a file in '/etc/apt/sources.list.d' - remove that

also you have some stretch repost (the old version of debian and thus PVE) configured - make sure you use only one debian codename (currently this is buster not stretch)
 

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!