Unable to upgrade from PVE 6.4 to 7


Jan 6, 2020
I've successfully upgraded my instance from 6.3 to 6.4, but now after switching the sources from buster to bullseye and try apt update && apt-dist-upgrade I'm seeing the following:

714 upgraded, 152 newly installed, 51 to remove and 1 not upgraded.
Need to get 0 B/616 MB of archives.
After this operation, 612 MB of additional disk space will be used.
Do you want to continue? [Y/n]
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

pve-manager/6.4-15/af7986e6 (running kernel: 5.4.203-1-pve)

cat /etc/apt/sources.list && cat /etc/apt/sources.list.d/pve-install-repo.list
deb http://deb.debian.org/debian bullseye main contrib
deb-src http://deb.debian.org/debian bullseye main contrib
deb [trusted=yes] http://download.proxmox.com/debian/pve bullseye pve-no-subscription

I've checked the upgrade guide to v7 but I'm stuck on this step.

Thanks in advance for the help!


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!