Problems activating subscription

Should I try:
Code:
apt update --allow-unauthenticated && apt-get dist-upgrade --allow-unauthenticated

I don't think the problem is certs anymore. Lets clear the other mess out (for now):
Code:
mv /etc/apt/sources.list.d/pve-enterprise.list ~

This puts away (to your home directory) the non-usable enterprise repo. You already have the PVE no-subscription repo in.

What is weird is:

Code:
Err http://archive.debian.org jessie/main amd64 Packages
  404  Not Found [IP: 151.101.2.132 80]

Can you then do:

Code:
apt-get clean
apt-get update
apt-get dist-upgrade
 
Should I comment out the enterprise repository, like opening the file:
Code:
vi /etc/apt/sources.list.d/pve-enterprise.list
and comment out the line like this:
Code:
#deb https://enterprise.proxmox.com/debian jessie pve-enterprise
 
Should I comment out the enterprise repository, like opening the file:
Code:
vi /etc/apt/sources.list.d/pve-enterprise.list
and comment out the line like this:
Code:
#deb https://enterprise.proxmox.com/debian jessie pve-enterprise

This is not necessary if you move it away as I had suggested above:

This puts away (to your home directory) the non-usable enterprise repo.

Code:
mv /etc/apt/sources.list.d/pve-enterprise.list ~

Just so we are on the same page, I had you rename the sources.list file to .outdated already, now all you worry about is the partial files in sources.list.d/ directory.

You have one for jessie-archive (debian) and other for jessie-pve (PVE no subscription).

When you go on moving from version to version, instead of editing files (like they suggest with sed), you can simply be adding (you do not even have to be removing them):
Code:
cat > /etc/apt/sources.list.d/stretch-archive.list <<< "deb http://archive.debian.org/debian stretch main"
cat > /etc/apt/sources.list.d/stretch-pve.list <<< "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription"

And then keep changing the release codenames as you go through the upgrades.
 
Last edited:
Hi esi_y,

I think I missed that suggestion. moved the file away as you suggested. Updated the system using the commands:
Code:
apt-get clean
apt-get update
apt-get dist-upgrade
Renamed jessie to stretch end performed the above update again. After this I noticed that the proxmox server version went to 5.4-15. Tried to check the key and now I have an active and valid community subscription. Enabled the enterprise repositories again by moving the file back. Now trying to upgrade further to the newer versions. I'll keep posting updates (or questions) as I go along.
 
  • Like
Reactions: esi_y
Hi esi_y,

I think I missed that suggestion. moved the file away as you suggested. Updated the system using the commands:
Code:
apt-get clean
apt-get update
apt-get dist-upgrade
Renamed jessie to stretch end performed the above update again. After this I noticed that the proxmox server version went to 5.4-15. Tried to check the key and now I have an active and valid community subscription. Enabled the enterprise repositories again by moving the file back. Now trying to upgrade further to the newer versions. I'll keep posting updates (or questions) as I go along.
Excellent just keep checking the official upgrade guides as linked by mariol above so you don’t miss something important.
 

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!