Proxmox VE: Subscription 없이 업데이트&업그레이드 하기

Proxmox를 구독(Subscription)하지 않으면, 아래와 같이 업데이트를 진행할 수 없습니다.

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

구독없이 업데이트 및 업그레이드를 진행하려면 /etc/apt/sources.list.d/ 디렉토리에 저장된 pve-enterprise.list 파일과 ceph.list 파일을 아래와 같이 수정합니다.

root@node1:~# 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

root@node1:~# 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-quincy bookworm no-subscription

pve-enterprise.list 파일과 ceph.list 파일을 수정하면 업데이트 및 업그레이드를 할 수 있습니다.(apt-get update && apt-get dist-upgrade -y)

root@node1:~# apt-get update
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://ftp.kr.debian.org/debian bookworm InRelease
Hit:3 http://ftp.kr.debian.org/debian bookworm-updates InRelease
Get:4 http://download.proxmox.com/debian/ceph-quincy bookworm InRelease [3,470 B]
Hit:5 http://download.proxmox.com/debian/pve bookworm InRelease
Get:6 http://download.proxmox.com/debian/ceph-quincy bookworm/no-subscription amd64 Packages [41.5 kB]
Fetched 45.0 kB in 1s (43.2 kB/s)   
Reading package lists... Done
root@node1:~# apt-get dist-upgrade -y
업그레이드가 진행됩니다....

You may also like...

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다