Upgrade failing trying to remove proxmox-ve meta=package

ropeguru

Member
Nov 18, 2019
37
2
13
65
I am trying to upgrade my Proxmomx from 7.3-4 to the latest. However, when I run the upgrade I am getting the below error.


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

System not fully up to date (found 95 new packages)
 
Hi,
did you install on top of Debian? Then you might need to uninstall the default kernel by running apt remove linux-image-amd64 first. If that is not the problem please post the full output of apt update && apt dist-upgrade as well as your configured sources cat /etc/apt/sources.list.d/*.list /etc/apt/sources.list
 
Hi,
did you install on top of Debian? Then you might need to uninstall the default kernel by running apt remove linux-image-amd64 first. If that is not the problem please post the full output of apt update && apt dist-upgrade as well as your configured sources cat /etc/apt/sources.list.d/*.list /etc/apt/sources.list
If I can recall, it was installed via iso.. But it was quite a while ago.. Never had any upgrade issues until now.

However, ran through the process you mentioned if it was installed on top of Debian, and it seems to be working..
 
Last edited:
The following NEW packages will be installed: firmware-linux-free libslirp0 linux-image-5.10.0-23-amd64
Yes, the linux-image-amd64 package is your problem, remove it by running apt remove linux-image-amd64 then try to upgrade again.
 

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!