解決 Proxmox 更新套件庫出現的錯誤訊息

更新套件庫時出現如下的錯誤訊息
# apt-get update
Err https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages
  HttpError401
Get:22 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [401 B]
Ign https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US
Get:23 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [401 B]
Ign https://enterprise.proxmox.com jessie/pve-enterprise Translation-en
Fetched 590 kB in 6s (85.8 kB/s)
W: Failed to fetch https://enterprise.proxmox.com/debian/dists/jessie/pve-enterprise/binary-amd64/Packages  HttpError401

E: Some index files failed to download. They have been ignored, or old ones used instead.

主要的原因是沒有購買企業支援的授權,所以才會出現如上的訊息[@more@]解決的方式:
# sed -i ‘s/^deb/#deb/’ /etc/apt/sources.list.d/pve-enterprise.list

再一次更新,就不會出現錯誤訊息了!
# apt-get update
Ign http://ftp.tw.debian.org jessie InRelease
Hit http://ftp.tw.debian.org jessie Release.gpg
Hit http://ftp.tw.debian.org jessie Release
Hit http://ftp.tw.debian.org jessie/main amd64 Packages
Hit http://ftp.tw.debian.org jessie/contrib amd64 Packages
Hit http://ftp.tw.debian.org jessie/contrib Translation-en
Hit http://ftp.tw.debian.org jessie/main Translation-en
Hit http://security.debian.org jessie/updates InRelease
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Reading package lists… Done