[SOLVED] Documentation errors: non-subscription repos for PBS client for Debian Buster

TG4FOSS

New Member
May 25, 2022
13
0
1
I have been able to install and update the PBS successfully using non-subscription repos. The client is another matter. Following the installation documentation runs into some roadblocks. The problems below relate to the installation documentation found by clicking on the "Documentation" button in the PBS web interface.

First problem: The 'wget' command found in the "#package-repos-secure-apt" section does not work. Run as root, wget fails silently (even with a -v flag); no file is downloaded. I surmise a subscription key is needed to access the Enterprise download site. I was, however, able to go to the download directory in a web browser and download the key that way, then move it into place and adjust ownership and permissions to match other trusted keys. The sha512 sum on the downloaded key is correct.

Second problem: The key is for the Enterprise repo and Bullseye-derived distros. It won't work for users trying out the non-subscription version of PBS or running clients based on Buster. I had to dig around the download site, making a few guesses as to paths, to find what looked like a non-subscription Buster key.

Third problem: That key (proxmox-release-bullseye.gpg) doesn't work. After placing it in it's place and changing ownership and permissions, 'apt update' throws these messages:

Err:14 http://download.proxmox.com/debian/pbs-client buster InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0
Reading package lists... Done
W: GPG error: http://download.proxmox.com/debian/pbs-client buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0
E: The repository 'http://download.proxmox.com/debian/pbs-client 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.
 
Maybe the OP is Too Much Information (though I hope it helps to fix the documentation).

What I need is the gpg key for the PBS client non-subscription Buster repo. The right key is probably at http://download.proxmox.com/debian/pbs-client/dists/buster/Release.gpg, but accessing it with https pops up a login dialog, and also there's no checksum in sight. If that's the right key, it should probably have a more distinctive, identifying name, too.
 
Keep in mind that PBS 2.X is based on bullseye and PBS 1.X on buster. So

And the gpg key the documentation was working here with a debian 11 with proxmox-backup-client as well as a Dedian 11 with PBS 2.2 ontop.

The key (https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg) can be accessed without any login or subscription. Its freely accessible and totally public. Just downloaded it here with my smartphone.
 
Last edited:
Keep in mind that PBS 2.X is based on bullseye and PBS 1.X on buster. So

And the gpg key the documentation was working here with a debian 11 with proxmox-backup-client as well as a Dedian 11 with PBS 2.2 ontop.

The key (https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg) can be accessed without any login or subscription. Its freely accessible and totally public. Just downloaded it here with my smartphone.

wget now works to retrieve the key file. I have no idea why it wasn't this morning.

I've followed the rest of the documentation carefully. Here are relevant directory and file contents.

$ cat /etc/lsb-release DISTRIB_ID=LinuxMint DISTRIB_RELEASE=20.3 DISTRIB_CODENAME=una DISTRIB_DESCRIPTION="Linux Mint 20.3 Una" $ cat /etc/upstream-release/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu Focal Fossa" $ cat /etc/apt/sources.list.d/pbs-client.list deb http://download.proxmox.com/debian/pbs-client buster main # cd /etc/apt/trusted.gpg.d/ ; ls -l total 28 -rw-r--r-- 1 root root 1187 Dec 14 2020 proxmox-release-bullseye.gpg -rw-r--r-- 1 root root 7801 Jan 4 2022 ubuntu-defaults.chroot.key.gpg -rw-r--r-- 1 root root 2796 Mar 29 2021 ubuntu-keyring-2012-archive.gpg -rw-r--r-- 1 root root 2794 Mar 29 2021 ubuntu-keyring-2012-cdimage.gpg -rw-r--r-- 1 root root 2277 Mar 29 2021 ubuntu-keyring-2016-dbgsym.gpg -rw-r--r-- 1 root root 1733 Mar 29 2021 ubuntu-keyring-2018-archive.gpg

It looks like everything is in place, but:

# apt update << ... other repos ... >> Get:6 http://download.proxmox.com/debian/pbs-client buster InRelease [2,552 B] << ... other repos ...>> Err:6 http://download.proxmox.com/debian/pbs-client buster InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0 Reading package lists... Done W: GPG error: http://download.proxmox.com/debian/pbs-client buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0 E: The repository 'http://download.proxmox.com/debian/pbs-client 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.

I filed a bug report (4154).
 
Last edited:
Solved using PVE6 key:

Code:
sudo  wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg

Please change the topic title to:

[SOLVED] Documentation errors: non-subscription repos for PBS client for Debian Buster
 
Solved using PVE6 key:

Code:
sudo  wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg

Please change the topic title to:

[SOLVED] Documentation errors: non-subscription repos for PBS client for Debian Buster
I would happily do so, but cannot seem to find a way. Maybe I don't have enough privileges? Or the post is too old? Is there something I'm overlooking? I've clicked on or hovered over everything that looks like an affordance.
 
I would happily do so, but cannot seem to find a way. Maybe I don't have enough privileges? Or the post is too old? Is there something I'm overlooking? I've clicked on or hovered over everything that looks like an affordance.
Editing Posts/Threads will be locked after 1 month.
 
Please change the topic title to:

[SOLVED] Documentation errors: non-subscription repos for PBS client for Debian Buster
Done
 

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!