[SOLVED] APT update / upgrade does not work

jmar83

Active Member
Nov 26, 2015
87
0
26
41
CH
www.cannabislegal.xyz
Hi there

On most current version, i installed it last friday:

Code:
root@proxmox:~/iso# apt update && apt upgrade
Hit:1 http://ftp.ch.debian.org/debian bullseye InRelease
Hit:2 http://ftp.ch.debian.org/debian bullseye-updates InRelease
Hit:3 http://security.debian.org bullseye-security InRelease
Err:4 https://enterprise.proxmox.com/debian/pve bullseye InRelease
  401  Unauthorized [IP: 144.217.225.162 443]
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bullseye/InRelease  401  Unauthorized [IP: 144.217.225.162 443]
E: The repository 'https://enterprise.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.

Why that? Does somebody know this?

Thanks you for your feedbacks.


With kind regards,
Jan
 
Hi

Thank you very much for your feedback.

No, i've changed nothing after the installation on last friday.

But yes, i have no subscription.

Then i will try it with pve-no-subscription-Repo. :)

Best regards, Jan
 
hi,

have you changed your repositories [0] ?
if you don't have an enterprise subscription you can use the pve-no-subscription repository.

[0]: https://pve.proxmox.com/wiki/Package_Repositories

Hi Oguz,

I followed steps that in link you shared, but I am getting the same error,

I edit that file with nano : /etc/apt/sources.list with
I delete everything inside in that file and I paste those lines:

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


But I am still getting error after I run the apt-get update command:

root@atlantis:~# apt-get update
Hit:1 http://download.proxmox.com/debian/pve bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://ftp.debian.org/debian bullseye InRelease
Hit:4 http://ftp.debian.org/debian bullseye-updates InRelease
Err:5 https://enterprise.proxmox.com/debian/pve bullseye InRelease
401 Unauthorized [IP: 212.224.123.70 443]
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bullseye/InRelease 401 Unauthorized [IP: 212.224.123.70 443]
E: The repository 'https://enterprise.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.


P.S: I restart the server after I updated the source.list file.
 
Last edited:
  • Like
Reactions: raisedadead
Ah - that's correct. In my case, I needed to temporarily remove the repository because I could not get past the error to download other packages. But commenting out the line should work better for anyone needing to do this.
 
okay I found the solution:

use the web interface, go to Node -> Updates -> Repositories menu and you should be able to add/remove package repositories easily ;)

and disable pve-enterprise component.

and run the apt-get update ;)
This worked for me! Doing it in the console was just not working but this made it happen!
 

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!