[SOLVED] Upgrading Proxmox 7 to 8 Without Subscription

gonzalo.garcia.ncp

New Member
Sep 5, 2023
21
1
3
Hi! I'm trying to upgrade my Proxmox 7 to 8, and I'm getting this warning. Can you help me out?

Code:
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook)       touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook)       - your APT repository settings
W: (pve-apt-hook)       - that you are using 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook

Code:
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://ftp.es.debian.org/debian bookworm InRelease
Hit:3 http://ftp.es.debian.org/debian bookworm-updates InRelease
Hit:4 http://download.proxmox.com/debian/ceph-quincy bookworm InRelease
Hit:5 http://download.proxmox.com/debian/pve buster InRelease
Err:6 https://enterprise.proxmox.com/debian/pve bookworm InRelease
  401  Unauthorized [IP: xx.xx.xx.xx. xxx]
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bookworm/InRelease  401  Unauthorized [IP: xx.xx.xx.xx. xxx]
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.

Thanks!
 
Last edited:
Hi,
you still have the enterprise repository configured in addition to the no-subscription repository. Also, the no-subscription repository still has buster configured instead of bookworm. Please fix this and make sure to also run pve7to8 --full to check for common upgrade issues/misconfiguration.

In addition, read trough and follow the upgrade guide very carefully, see https://pve.proxmox.com/wiki/Upgrade_from_7_to_8
 
In addition, as a side question:
Are you sure, that you are on PVE 7 at all?
I mean, buster is PVE 6 after all and the question is, why it is there; but not / instead of: bullseye which is PVE 7 and what would be expected for an overlooked (aka: mistakenly not yet updated/changed) repository on a system, that is in the process to be upgraded from PVE 7 to PVE 8.
 
  • Like
Reactions: Dunuin
Hi,

This is what I see when I run the command pve7to8 --full:

Code:
FAIL: Found mixed old and new package repository suites, fix before upgrading! Mismatches:
    found suite bookworm at in /etc/apt/sources.list:3
    found suite bullseye at in /etc/apt/sources.list:8
    found suite buster at in /etc/apt/sources.list.d/pve.list:1
  Configure the same base-suite for all Proxmox and Debian provided repos and ask original vendor for any third-party repos.
  E.g., for the upgrade to Proxmox VE 8 use the 'bookworm' suite.

I don't know how to fix it, could you help me?

Thanks,
Gonzalo.
 
In addition, as a side question:
Are you sure, that you are on PVE 7 at all?
I mean, buster is PVE 6 after all and the question is, why it is there; but not / instead of: bullseye which is PVE 7 and what would be expected for an overlooked (aka: mistakenly not yet updated/changed) repository on a system, that is in the process to be upgraded from PVE 7 to PVE 8.
Hi,

Yes, I'm sure. This is what I see when I run the command pveversion:

Code:
pve-manager/7.4-17/513c62be (running kernel: 5.15.102-1-pve)
 
Please provide the full output in code-tags of: grep -r '' /etc/apt/sources.list* (do not forget the: * at the end!)
 
Hi,

Here is the full output:

Code:
/etc/apt/sources.list:# deb http://ftp.es.debian.org/debian bookworm main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:# security updates
/etc/apt/sources.list:deb http://security.debian.org bookworm-security main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:
/etc/apt/sources.list.d/ceph.list:deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
/etc/apt/sources.list.d/pve-enterprise.list:# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list:
/etc/apt/sources.list.d/pve.list:
/etc/apt/sources.list.d/pve.list:
 
Hi,

Here is the full output:

Code:
/etc/apt/sources.list:# deb http://ftp.es.debian.org/debian bookworm main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:# security updates
/etc/apt/sources.list:deb http://security.debian.org bookworm-security main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:
/etc/apt/sources.list.d/ceph.list:deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
/etc/apt/sources.list.d/pve-enterprise.list:# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list:
/etc/apt/sources.list.d/pve.list:
/etc/apt/sources.list.d/pve.list:

This does not match your previous posted output of: pve7to8 --full...anyway:

Replace the whole content of your: /etc/apt/sources.list with:
Bash:
deb http://deb.debian.org/debian bookworm main contrib
deb http://deb.debian.org/debian bookworm-updates main contrib

# security updates
deb http://security.debian.org/debian-security bookworm-security main contrib
https://pve.proxmox.com/wiki/Package_Repositories -> "Sources.list"

Add/Insert to your (empty): /etc/apt/sources.list.d/pve.list:
Bash:
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_no_subscription_repo

Run: apt update, followed by: apt full-upgrade (recommended locally or via IPMI; but definitely not via the webUI!)

As @Chris already said: Read, understand and follow the upgrade guide step-by-step:
https://pve.proxmox.com/wiki/Upgrade_from_7_to_8
 
It worked!
This does not match your previous posted output of: pve7to8 --full...anyway:

Replace the whole content of your: /etc/apt/sources.list with:
Bash:
deb http://deb.debian.org/debian bookworm main contrib
deb http://deb.debian.org/debian bookworm-updates main contrib

# security updates
deb http://security.debian.org/debian-security bookworm-security main contrib
https://pve.proxmox.com/wiki/Package_Repositories -> "Sources.list"

Add/Insert to your (empty): /etc/apt/sources.list.d/pve.list:
Bash:
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_no_subscription_repo

Run: apt update, followed by: apt full-upgrade (recommended locally or via IPMI; but definitely not via the webUI!)

As @Chris already said: Read, understand and follow the upgrade guide step-by-step:
https://pve.proxmox.com/wiki/Upgrade_from_7_to_8

It worked!

Thanks,
Regards
 
  • Like
Reactions: itiberiu

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!