proxmox : fix updates
Posted on July 16, 2015 • 1 minutes • 175 words • Suggest Changes
I love proxmox, its cool it works and its very user friendly. The only pain point is, they try to sell their subscription really hard. In such an attempt they even change the default update location to something that will throw an error when not having a subscription!
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 572 kB in 2s (231 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.
Changing them is easy enough :
nano /etc/apt/sources.list
add
note : this is for wheezy
# pve updates deb http://download.proxmox.com/debian wheezy pve-no-subscription
For jessie :
deb http://download.proxmox.com/debian jessie pve-no-subscription
Also remove this one :
rm /etc/apt/sources.list.d/pve-enterprise.list
If you now run a apt-get update && apt-get dist-upgrade
no errors should be there ! (dist-upgrade !)
Note : There is also a official wiki, where one can see the same changes : proxmox wiki