PMG borked gpg errors

Someyoung Guy

Active Member
Dec 23, 2018
21
4
43
48
Can anyone help me? I've now got a borked install after running through the 5 > 6 pmg in place upgrade.

Code:
root@pmail01:/etc/apt/sources.list.d# apt update
Hit:1 http://security.debian.org buster/updates InRelease
Get:2 http://download.proxmox.com/debian buster InRelease [3,051 B]           
Hit:3 http://ftp.debian.org/debian buster-backports InRelease                 
Err:4 https://enterprise.proxmox.com/debian/pmg buster InRelease               
  401  Unauthorized [IP: 144.217.225.162 443]
Err:2 http://download.proxmox.com/debian buster InRelease                     
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7BF2812E8A6E88E0
Hit:5 http://ftp.us.debian.org/debian buster InRelease
Hit:6 http://ftp.us.debian.org/debian buster-updates InRelease
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/pmg/dists/buster/InRelease  401  Unauthorized [IP: 144.217.225.162 443]
E: The repository 'https://enterprise.proxmox.com/debian/pmg 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 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 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 followed this guide:

https://pmg.proxmox.com/wiki/index.php/Upgrade_from_5.x_to_6.0

Part of it did not work, the 9.6 > 11 postgresql, it never brought down 11. I had to run "apt install postgresql" for it to install 11. THEN I could run the the upgrade process and it did so. I am now on 11 for the db.

My sources.list is:

deb http://ftp.us.debian.org/debian buster main contrib deb http://ftp.us.debian.org/debian buster-updates main contrib # security updates deb http://security.debian.org buster/updates main contrib # certbot letsencrypt deb http://ftp.debian.org/debian buster-backports main deb http://download.proxmox.com/debian buster pve-no-subscription

I also tried to put in the enterprise one in the sources.d folder but have since removed it. I don't have a license.


Services won't start:

Code:
systemctl start pmgmirror pmgtunnel
Failed to start pmgmirror.service: Unit pmgmirror.service not found.
Failed to start pmgtunnel.service: Unit pmgtunnel.service not found.

Any help would be appreciated.

Thanks!
 
Hi,

Please post output of following commands:

Bash:
- grep '' /etc/apt/sources.list.d/*

- pmgversion -v
 
Well I had a backup so I simply installed the latest version then restored from backup. That worked :)

Thank you for your feedback. It just wasn't worth putting my time into it to resolve but I see I used the wrong deb update url per Tom. Thanks.