GPG error the public key is not available

Wilhelm

New Member
Jul 14, 2023
2
0
1
Hey, i installed Proxmox backup server on a PC and when i try to update it, it gives me the following error message:

root@abs : apt—get update
Hit: I http: //security.debian.org/debian—security bookworm—security InReIease
Hit: 2 http://ftp.debian.org/debian bookworm InReIease
Hit: 3 http: // ftp-debian.org/debian bookworm—updates InReIease
Hit: 4 http: //download.proxmox.com/debian/pve bookworm InReIease
Get:5 http: //download.proxmox.com/debian/pbs Buster InReIease [2, 673 B]
Erz: 5 http://download.proxmox.com/debian/pbs Buster InReIease
The following signatures couldn•t be verified because the public key not available: NO PUBKEY 7BF2812E8A6E88EO
Reading package li3ts. . .
Done
GPG error: http://download.proxmox.com/debian/pbs Buster InReIease: The following signatures couldn't be verified because the public key is not available:
The repository • http://download.proxrnox.com/debian/pb3 Buster InReIease' is not signed.
Updating from such a repository can't be done securely, and therefore disabled by default.
See apt—secure (8) manpage for repository creation and user configuration detai13.
NO PUBKEY 7BF2812E8A6E88EO

I already searched for a solution but none of them worked.

this is my first time with proxmox and im fairly new to all of this.
thanks in advance. :)
 
  1. Did you install the key: [1]?
  2. For your Debian 12/Bookworm, you also need the bookworm PBS repository: [2] and not the buster one!

Edit: I overlooked, that you already installed PBS and it is only about updating. So, configuring the correct PBS repository might already be enough. If not, then add the key.

[0] https://pbs.proxmox.com/docs/installation.html
[1] https://pbs.proxmox.com/docs/installation.html#secureapt
[2] https://pbs.proxmox.com/docs/installation.html#proxmox-backup-no-subscription-repository
 
Last edited:
I put this in the following file:
File: /etc/apt/sources.list
deb http://deb.debian.org/debian bookworm main contrib
deb http://deb.debian.org/debian bookworm-updates main contrib

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

# security updates
deb http://security.debian.org/debian-security bookworm-security main contrib
deb http://download.proxmox.com/debian/pbs bookworm pbstest

and i ran the following command:
wget https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg

but it still doesnt work. What am i doing wrong?
 

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!