APT not working due to certificate singing

waahmed12

New Member
Oct 8, 2021
2
0
1
31
Hello everyone,

I have recently installed proxmox and installed some VMs.
When I try to update proxmox or any Linux VM, APT refuses to download or install any packages due to certificate signing

I tried many solutions such as adding enterprise key and removing
adding [trusted=yes] to the repositories and all security bypasses in https://manpages.debian.org/stretch/apt/apt-secure.8.en.html

root@prox:~# apt update
Err:1 http://security.debian.org/debian-security bullseye-security InRelease
403 Forbidden [IP: 199.232.150.132 80]
Err:2 http://ftp.debian.org/debian bullseye InRelease
403 Forbidden [IP: 199.232.150.132 80]
Err:3 http://ftp.debian.org/debian bullseye-updates InRelease
403 Forbidden [IP: 199.232.150.132 80]
Err:4 http://download.proxmox.com/debian/pve bullseye InRelease
403 Forbidden [IP: 51.91.38.34 80]
Reading package lists... Done
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://security.debian.org/debian-security bullseye-security InRelease' is no longer signed.
E: Failed to fetch http://security.debian.org/debian-security/dists/bullseye-security/InRelease 403 Forbidden [IP: 199.232.150.132 80]
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://ftp.debian.org/debian bullseye InRelease' is no longer signed.
E: Failed to fetch http://ftp.debian.org/debian/dists/bullseye/InRelease 403 Forbidden [IP: 199.232.150.132 80]
E: Failed to fetch http://ftp.debian.org/debian/dists/bullseye-updates/InRelease 403 Forbidden [IP: 199.232.150.132 80]
E: The repository 'http://ftp.debian.org/debian bullseye-updates InRelease' is no longer 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.
E: Failed to fetch http://download.proxmox.com/debian/pve/dists/bullseye/InRelease 403 Forbidden [IP: 51.91.38.34 80]
E: The repository 'http://download.proxmox.com/debian/pve bullseye 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.
root@prox:~#



Output from sources.list

root@prox:~# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian bullseye main contrib
deb http://ftp.debian.org/debian bullseye-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

# security updates
deb http://security.debian.org/debian-security bullseye-security main contrib
root@prox:~#
 
Did you setup /etc/apt/apt.conf to use the proxy (like "Acquire::https::proxy "https://proxyserver:8080";")? Also if you use a HTTPS proxy you need to change...
Code:
deb http://ftp.debian.org/debian bullseye main contrib
deb http://ftp.debian.org/debian bullseye-updates main contrib
...to...
Code:
deb https://ftp.debian.org/debian bullseye main contrib
deb https://ftp.debian.org/debian bullseye-updates main contrib
... and so on.
 
Last edited:

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!