apt-update error no_pubkey

Blisk

Member
Apr 16, 2022
40
1
13
I am trying to update my proxmox server but can't I always get this error below.

in my etc/apt/sources.list is this
deb http://ftp.debian.org/debian bookworm main contrib
deb http://ftp.debian.org/debian bookworm-updates main contrib

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

# security updates
deb http://security.debian.org/debian-security bookworm-security main contrib
from here
https://pve.proxmox.com/wiki/Package_Repositories

Linux pve 5.13.19-2-pve #1 SMP PVE 5.13.19-4 (Mon, 29 Nov 2021 12:10:09 +0100) x86_64
root@pve:~# apt-get update
Get:1 http://download.proxmox.com/debian/pve bookworm InRelease [2,768 B]
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://ftp.debian.org/debian bookworm InRelease
Get:4 http://ftp.debian.org/debian bookworm-updates InRelease [55.4 kB]
Err:1 http://download.proxmox.com/debian/pve bookworm InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1140AF8F639E0C39
Reading package lists... Done
W: GPG error: http://download.proxmox.com/debian/pve bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1140AF8F639E0C39
E: The repository 'http://download.proxmox.com/debian/pve bookworm 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.
 
Last edited:

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!