Confused system between enterprise and no-subscription

MikeP

Active Member
Feb 14, 2016
47
5
28
54
I have a new test system... I just installed 4.4 on it from USB.
Code:
root@pve2:~# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian jessie main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian jessie pve-no-subscription

# security updates
deb http://security.debian.org jessie/updates main contrib

But,
Code:
apt -y update
is pulling from enterprise and fails (apt-get -y update also fails). Thoughts? Help?

Get:15 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [401 B]
Get:16 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages [401 B]
Err https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages
HttpError401
Get:17 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [401 B]
Ign https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US
Get:18 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [401 B]
Ign https://enterprise.proxmox.com jessie/pve-enterprise Translation-en
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.


I've been working on a command/script to make the changes I want, such as:
printf ‘deb http://ftp.debian.org/debian jessie main contrib\n\n# PVE pve-no-subscription repository provided by proxmox.com,\n# NOT recommended for production use\ndeb http://download.proxmox.com/debian jessie pve-no-subscription\n\n# security updates\ndeb http://security.debian.org jessie/updates main contrib\n’ >/etc/apt/sources.list
 
Last edited:
have a look here:
https://pve.proxmox.com/wiki/Package_Repositories


If you do not have a subscription and are triggered by your "error" messages you do:
your "issues" should now be solved. Just remember to uncomment the line in step 2 once you get your subscription.
 
  • Like
Reactions: MikeP
have a look here:
https://pve.proxmox.com/wiki/Package_Repositories


If you do not have a subscription and are triggered by your "error" messages you do:
your "issues" should now be solved. Just remember to uncomment the line in step 2 once you get your subscription.
Doh!
I missed the first part of the instructions and just did the other part. Thanks.
 
But is that normal, that the no-subscription repo is eqal active, when we get the enterprise repos?

We found this in /etc/apt/sources.list.d/pve-install-repo.list and their is an entry:
deb http://download.proxmox.com/debian jessie pve-no-subscription

I am sure, that we haven´t create this file and we have this in 3 hosts - can been that this comes with the 0vh installation?!
 
PVE does not setup the no-subscription repository. If you don't use our official installation medium, but one provided by your hoster, you should probably check with them (or just test it yourself?).

If you have a subscription, you should only have the regular Debian repositories and our pve-enterprise repository enabled.
 
Yes we have subscription! Thanks, then we get the host with prepared proxmox 4.x with this wrong entry from 0vh!
Ok, thanks, I delete then the entry in sources.list.d!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!