[SOLVED] Update Unauthorized, after latest update.

I had this same issue and beat my head against a wall for the longest time. The answer is indeed in the Package_Repositories page, but its not as explicit as you'd like. I had to edit my repositories list at /etc/apt/sources.list as stated in the post, but you also have to comment out the line listed in /etc/apt/sources.list.d/pve-enterprise.list. If you don't comment out the line in the second file, it still tries to use the enterprise repo. After commenting that out, run apt update and it should work.
Also me, just registered just to say thank to @kirkofthefleet
 
After following all the steps and if you are still facing the same error, do the following
Code:
root@zeus:~# ls -l /etc/apt/sources.list.d/
total 4
-rw-r--r-- 1 root root 75 Oct 27 19:35 ceph.list
-rw-r--r-- 1 root root  0 Oct 27 19:32 pve-enterprise.list
If you see ceph.list. Edit that and comment that line too!! Now your apt-get update / upgrade should work
 
Hi all,

To summarize, you must edit three files if you use Debian Bookworm. These files work for me.

File: /etc/apt/sources.list

Code:
deb http://ftp.debian.org/debian bookworm main contrib

deb http://ftp.debian.org/debian bookworm-updates main contrib

# security updates
deb http://security.debian.org bookworm-security main contrib

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

File: /etc/apt/sources.list.d/pve-enterprise.list

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

File: /etc/apt/sources.list.d/ceph.list

Code:
# deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise

deb http://download.proxmox.com/debian/ceph-squid bookworm no-subscription
 
  • Like
Reactions: Gaspa79
Just fyi in case somebody else gets stuck. I ended up having to edit 2 files. #1 is /etc/apt/sources.list.d . On there I had the enterprise.proxmox.com line with pve-enterprise at the end. I commented that out.

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

#2 was editing the /etc/apt/sources.list file. On there I added the line with the download.proxmox.com (pve-no-subscription) as the Package_Repositories page suggests.

Code:
deb http://ftp.us.debian.org/debian bullseye main contrib

deb http://ftp.us.debian.org/debian bullseye-updates main contrib

# security updates
deb http://security.debian.org bullseye-security main contrib

deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

after that I was able to do an apt-get update and apt-get upgrade just fine. I'm using proxmox 7.1.
Thanks man, ur a life-saver! <3