[SOLVED] No subscriptions repository update error

Sean McKee

Member
Jun 30, 2018
11
0
6
54
I am having certificate verification issues trying to update my new Mail Gateway install. Here is the error:
Code:
root@rsg-proxmg1:/etc/apt/sources.list.d# apt update
Ign:1 https://download.proxmox.com/debian/pmg buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://ftp.us.debian.org/debian buster InRelease
Hit:4 http://ftp.us.debian.org/debian buster-updates InRelease
Err:5 https://download.proxmox.com/debian/pmg buster Release
  Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected.  Could not handshake: Error in the certificate verification. [IP: 66.70.154.81 443]
Reading package lists... Done
E: The repository 'https://download.proxmox.com/debian/pmg buster Release' does not have a Release file.
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.

Here is my /etc/apt/sources.list.d/pmg-enterprise-nosub.list file:
Code:
deb https://download.proxmox.com/debian/pmg buster pmg-no-subscription
I seem to have all the correct gpg files:
Code:
# ls -l /etc/apt//trusted.gpg.d/
total 68
-rw-r--r-- 1 root root 8132 Apr 23  2019 debian-archive-buster-automatic.gpg
-rw-r--r-- 1 root root 8141 Apr 23  2019 debian-archive-buster-security-automatic.gpg
-rw-r--r-- 1 root root 2332 Apr 23  2019 debian-archive-buster-stable.gpg
-rw-r--r-- 1 root root 5106 Apr 23  2019 debian-archive-jessie-automatic.gpg
-rw-r--r-- 1 root root 5115 Apr 23  2019 debian-archive-jessie-security-automatic.gpg
-rw-r--r-- 1 root root 2763 Apr 23  2019 debian-archive-jessie-stable.gpg
-rw-r--r-- 1 root root 7443 Apr 23  2019 debian-archive-stretch-automatic.gpg
-rw-r--r-- 1 root root 7452 Apr 23  2019 debian-archive-stretch-security-automatic.gpg
-rw-r--r-- 1 root root 2263 Apr 23  2019 debian-archive-stretch-stable.gpg
-rw-r--r-- 1 root root 1181 Jul 16  2019 proxmox-ve-release-5.x.gpg
-rw-r--r-- 1 root root 1202 Jul 16  2019 proxmox-ve-release-6.x.gpg
 

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!