Upgrade error

300cpilot

Well-Known Member
Mar 24, 2019
115
6
58
I get the following when I try to run the upgrade. I do have a subscription and have removed the "no-subscription" from the confige but it still is looking for it.


Get:97 https://download.proxmox.com/debian/pve buster/pve-no-subscription amd64 zfsutils-linux amd64 0.8.2-pve2 [355 kB]
Fetched 229 MB in 1min 24s (2724 kB/s)
E: Failed to fetch https://download.proxmox.com/debian...nary-amd64/libpve-storage-perl_6.0-11_all.deb 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]
E: Failed to fetch https://download.proxmox.com/debian...ary-amd64/libpve-access-control_6.0-4_all.deb 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]
E: Failed to fetch https://download.proxmox.com/debian...ion/binary-amd64/pve-container_3.0-13_all.deb 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]
E: Failed to fetch https://download.proxmox.com/debian...binary-amd64/libpve-common-perl_6.0-8_all.deb 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]
E: Failed to fetch https://download.proxmox.com/debian...ion/binary-amd64/pve-manager_6.0-15_amd64.deb 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]
E: Failed to fetch https://download.proxmox.com/debian...-amd64/libpve-guest-common-perl_3.0-3_all.deb 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]
E: Failed to fetch https://download.proxmox.com/debian...n/binary-amd64/pve-ha-manager_3.0-5_amd64.deb 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]
E: Failed to fetch https://download.proxmox.com/debian...ion/binary-amd64/qemu-server_6.0-16_amd64.deb 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]
E: Failed to fetch https://download.proxmox.com/debian...tion/binary-amd64/pve-cluster_6.0-9_amd64.deb 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]
E: Failed to fetch https://download.proxmox.com/debian...y-amd64/libpve-cluster-api-perl_6.0-9_all.deb 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]
E: Failed to fetch https://download.proxmox.com/debian...ry-amd64/proxmox-widget-toolkit_2.0-9_all.deb 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]
E: Failed to fetch https://download.proxmox.com/debian...scription/binary-amd64/pve-docs_6.0-9_all.deb 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]
E: Failed to fetch https://download.proxmox.com/debian...ion/binary-amd64/pve-firewall_4.0-8_amd64.deb 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]
E: Failed to fetch https://download.proxmox.com/debian...inary-amd64/libpve-cluster-perl_6.0-9_all.deb 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]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

System not fully up to date (found 139 new packages)
 
starting apt-get update
Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
Hit:2 http://ftp.us.debian.org/debian buster InRelease
Get:3 http://ftp.us.debian.org/debian buster-updates InRelease [49.3 kB]
Hit:4 https://enterprise.proxmox.com/debian/pve buster InRelease
Ign:5 https://download.proxmox.com/debian/pve buster InRelease
Err:6 https://download.proxmox.com/debian/pve 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...
E: The repository 'https://download.proxmox.com/debian/pve buster Release' no longer has a Release file.
TASK ERROR: command 'apt-get update' failed: exit code 100
 
Usually I do not touch /etc/apt/sources.list when installing Proxmox. I do rather create a new APT list (/etc/apt/sources.list.d/pve-enterprise.list in Your case as You have a subscription) with just one line as described in the docs.

Code:
deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise


So I would recommend you to clean up /etc/apt/sources.list, create /etc/apt/sources.list.d/pve-enterprise.list and apt update && apt -y full-upgrade should go fine.
 
I have removed the free channel prior to posting here. Proxmox is NOT seeing the change.

I have 2 licensed servers with exactly the same sources.list file. One server updates fine, the other does not.
 
I have removed the free channel prior to posting here. Proxmox is NOT seeing the change.

I have 2 licensed servers with exactly the same sources.list file. One server updates fine, the other does not.
Hosts are in same DC? Share your /etc/apt/sources.list and any Proxmox lists in /etc/apt/sources.list.d/ in order to allow us to investigate RCOTI in detail.
 
Sorry looks like I missed removing the /etc/apt/sources.list.d/pve-no-subscription.list off of this server.
It functions now.