1. apt update 시 아래와 같이 오류가 발생합니다.
# apt update
Get:1 http://security.debian.org bookworm-security InRelease [48.0 kB]
Get:2 http://security.debian.org bookworm-security/main amd64 Packages [241 kB]
Hit:3 http://ftp.kr.debian.org/debian bookworm InRelease
Get:4 http://ftp.kr.debian.org/debian bookworm-updates InRelease [55.4 kB]
Err:5 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease
401 Unauthorized [IP: ... 443]
Err:6 https://enterprise.proxmox.com/debian/pve bookworm InRelease
401 Unauthorized [IP: ... 443]
...
2. 아래 두 파일에서 경로를 수정해 줍니다.
# vi /etc/apt/sources.list.d/pve-enterprise.list
#deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
# vi /etc/apt/sources.list.d/ceph.list
#deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise
deb http://download.proxmox.com/debian/ceph-squid bookworm no-subscription
3. apt update 가 잘 됩니다.
# apt update
Hit:1 http://ftp.kr.debian.org/debian bookworm InRelease
Hit:2 http://ftp.kr.debian.org/debian bookworm-updates InRelease
Hit:3 http://security.debian.org bookworm-security InRelease
Get:4 http://download.proxmox.com/debian/ceph-squid bookworm InRelease [2,740 B]
Hit:5 http://download.proxmox.com/debian/pve bookworm InRelease
Get:6 http://download.proxmox.com/debian/ceph-squid bookworm/no-subscription amd64 Packages [23.3 kB]
Fetched 26.1 kB in 1s (18.8 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
24 packages can be upgraded. Run 'apt list --upgradable' to see them.
참조: https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_no_subscription_repo