GPG error the public key is not available


New Member
Jul 14, 2023
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 bookworm—security InReIease
Hit: 2 bookworm InReIease
Hit: 3 http: // bookworm—updates InReIease
Hit: 4 http: // bookworm InReIease
Get:5 http: // Buster InReIease [2, 673 B]
Erz: 5 Buster InReIease
The following signatures couldn•t be verified because the public key not available: NO PUBKEY 7BF2812E8A6E88EO
Reading package li3ts. . .
GPG error: Buster InReIease: The following signatures couldn't be verified because the public key is not available:
The repository • 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.

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.

Last edited:
I put this in the following file:
File: /etc/apt/sources.list
deb bookworm main contrib
deb bookworm-updates main contrib

# Proxmox Backup Server pbs-no-subscription repository provided by,
# NOT recommended for production use
deb bookworm pbs-no-subscription

# security updates
deb bookworm-security main contrib
deb bookworm pbstest

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

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


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!