Failed to update PVE 8.0.3 no-subscription

dsamko

New Member
Jul 21, 2023
2
0
1
Hi guys,

I'm a newbie with Proxmox system and will be appreciated for your help. I have freshly installed PVE 8.0.3 version with no subscription key and I want to make simple system update (up to 8.0.4 as a current version).

Code:
root@pve:~# pveversion
pve-manager/8.0.3/bbf3993334bfa916 (running kernel: 6.2.16-3-pve)
root@pve:~# apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
Err:4 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease
  401  Unauthorized [IP: 144.217.225.162 443]
Err:5 https://enterprise.proxmox.com/debian/pve bookworm InRelease
  401  Unauthorized [IP: 144.217.225.162 443]
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease  401  Unauthorized [IP: 144.217.225.162 443]
E: The repository 'https://enterprise.proxmox.com/debian/ceph-quincy bookworm 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.
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bookworm/InRelease  401  Unauthorized [IP: 144.217.225.162 443]
E: The repository 'https://enterprise.proxmox.com/debian/pve bookworm 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@pve:~#

According to Admin Guide I changed /etc/apt/source.list to the following:
Code:
deb http://ftp.debian.org/debian bookworm main contrib
deb http://ftp.debian.org/debian bookworm-updates 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
# security updates
deb http://security.debian.org/debian-security bookworm-security main contrib

and then try to update:
Code:
root@pve:~# apt update
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Get:2 http://ftp.debian.org/debian bookworm InRelease [147 kB]
Get:3 http://ftp.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:4 http://ftp.debian.org/debian bookworm/main amd64 Packages [8,904 kB]
Get:5 http://ftp.debian.org/debian bookworm/main Translation-en [6,076 kB]           
Get:6 http://ftp.debian.org/debian bookworm/contrib amd64 Packages [54.3 kB]                       
Get:7 http://ftp.debian.org/debian bookworm/contrib Translation-en [48.7 kB]                     
Get:8 http://ftp.debian.org/debian bookworm-updates/main amd64 Packages [4,732 B]                     
Get:9 http://ftp.debian.org/debian bookworm-updates/main Translation-en [3,528 B]     
Hit:10 http://download.proxmox.com/debian/pve bookworm InRelease                                                                               
Err:11 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease                                                                   
  401  Unauthorized [IP: 144.217.225.162 443]
Err:12 https://enterprise.proxmox.com/debian/pve bookworm InRelease
  401  Unauthorized [IP: 144.217.225.162 443]
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease  401  Unauthorized [IP: 144.217.225.162 443]
E: The repository 'https://enterprise.proxmox.com/debian/ceph-quincy bookworm 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.
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bookworm/InRelease  401  Unauthorized [IP: 144.217.225.162 443]
E: The repository 'https://enterprise.proxmox.com/debian/pve bookworm 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.

Then I changed ceph.list and pve-enterprise.list to the following:
Code:
root@pve:~# cat /etc/apt/sources.list.d/ceph.list
deb http://enterprise.proxmox.com/debian/pve bookworm no-pve-subscription
root@pve:~# cat /etc/apt/sources.list.d/pve-enterprise.list
deb http://enterprise.proxmox.com/debian/ceph-quincy bookworm no-subscription
root@pve:~#
and run update again:
Code:
root@pve:~# apt update
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://ftp.debian.org/debian bookworm InRelease
Hit:3 http://ftp.debian.org/debian bookworm-updates InRelease
Hit:6 http://download.proxmox.com/debian/pve bookworm InRelease               
Err:4 https://enterprise.proxmox.com/debian/pve bookworm InRelease
  401  Unauthorized [IP: 144.217.225.162 443]
Err:5 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease
  401  Unauthorized [IP: 144.217.225.162 443]
Reading package lists... Done
N: Ignoring file 'ceph.list.backup' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'pve-enterprise.list.backup' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Failed to fetch http://enterprise.proxmox.com/debian/pve/dists/bookworm/InRelease  401  Unauthorized [IP: 144.217.225.162 443]
E: The repository 'http://enterprise.proxmox.com/debian/pve bookworm 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.
E: Failed to fetch http://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease  401  Unauthorized [IP: 144.217.225.162 443]
E: The repository 'http://enterprise.proxmox.com/debian/ceph-quincy bookworm 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@pve:~#

Even if I comment all strings in /etc/apt/source.list file it still tries to update from https://enterprise.proxmox.com/debian/pve bookworm repository which is not declared anywhere:
Code:
root@pve:~# grep -irn "https://enterprise.proxmox.com" /etc/
root@pve:~#

Could you please advise?
 
Note that the no subscription repo is hosted at http://download.proxmox.com, not http://enterprise.proxmox.com
 
Thank you @Chris, packages upgrade were done successfully. After reboot it picked new kernel, but pveversion still shows 8.0.3