Update error :: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!

HPmoss

Member
May 8, 2023
39
5
8
Online
www.google.co.uk
I am seeing this for the first time. My version is as (
pve-manager/8.2.2/9355359cd7afbae4 (running kernel: 6.8.4-3-pve)

Any suggestions?

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
 
# apt list --upgradable
Listing... Done


libnvpair3linux/stable 2.2.4-pve1 amd64 [upgradable from: 2.2.3-pve2]
libpve-cluster-api-perl/stable 8.0.7 all [upgradable from: 8.0.6]
libpve-cluster-perl/stable 8.0.7 all [upgradable from: 8.0.6]
libpve-guest-common-perl/stable 5.1.3 all [upgradable from: 5.1.2]
libpve-notify-perl/stable 8.0.7 all [upgradable from: 8.0.6]
libpve-rs-perl/stable 0.8.9 amd64 [upgradable from: 0.8.8]
libpve-storage-perl/stable 8.2.2 all [upgradable from: 8.2.1]
libuutil3linux/stable 2.2.4-pve1 amd64 [upgradable from: 2.2.3-pve2]
libzfs4linux/stable 2.2.4-pve1 amd64 [upgradable from: 2.2.3-pve2]
libzpool5linux/stable 2.2.4-pve1 amd64 [upgradable from: 2.2.3-pve2]
proxmox-kernel-6.8/stable 6.8.8-1 all [upgradable from: 6.8.4-3]
pve-cluster/stable 8.0.7 amd64 [upgradable from: 8.0.6]
pve-container/stable 5.1.11 all [upgradable from: 5.1.10]
pve-esxi-import-tools/stable 0.7.1 amd64 [upgradable from: 0.7.0]
pve-firmware/stable 3.12-1 all [upgradable from: 3.11-1]
pve-ha-manager/stable 4.0.5 amd64 [upgradable from: 4.0.4]
pve-manager/stable 8.2.4 amd64 [upgradable from: 8.2.2]
spl/stable 2.2.4-pve1 all [upgradable from: 2.2.3-pve2]
zfs-initramfs/stable 2.2.4-pve1 all [upgradable from: 2.2.3-pve2]
zfs-zed/stable 2.2.4-pve1 amd64 [upgradable from: 2.2.3-pve2]
zfsutils-linux/stable 2.2.4-pve1 amd64 [upgradable from: 2.2.3-pve2]
 
# apt update

Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://ftp.de.debian.org/debian bookworm InRelease
Hit:3 http://ftp.de.debian.org/debian bookworm-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
21 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware'
N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split
 
I'm having this issue too. I had to opt-in to "newer" kernel and did remove every other kernel after updating.
That must be the issue here. I'm guessing, after installing any other older kernel, it would go through...

Edit: I just tried to install the kernel package 6.1 and tried again, didn't work. A dist-upgrade will try to remove following packages, which is the issue here:
Code:
The following packages were automatically installed and are no longer required:
  fonts-font-logos libjs-sencha-touch proxmox-default-kernel proxmox-firewall proxmox-kernel-helper proxmox-mail-forward proxmox-offline-mirror-docs
  proxmox-offline-mirror-helper
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  proxmox-ve pve-manager

Why are all the packages not needed anymore?
 
Last edited:
Ditto - same issue.

I only checked for updates as apparently there is a Kernal issue that may be impacting Frigate (CCTV docker container). Got exactly as per above when attempting an Upgrade. No idea how to fix so will monitor this as hopefully someone that knows Proxmox better than me can suggest a fix.
 
Same issue here. I also already foolislhly ran an apt autoremove already, as it looked to be just older kernels, but wouldn't want anything else to have snuck in there even though it didn't look like it...
 
So I Just enabled the pvetest repo and everything updated correctly, I am now on 8.2.4 in the GUI, and Proxmox Virtual Enviroment (6.8.8.1-pve) when I boot up.pveTest.jpg
 
  • Like
Reactions: Lampros
Please note enabling the "test" repo and doing a classic update + dist-upgrade then have the side effect to also update Qemu to v9, which is not in the "no-sub" repo (yet).

I suggest people interrested in this update problem follow the thread

Upgrading PVE Tries to Remove proxmox-ve package​

Link

... which IMHO is more complete and have more comments / solutions / tests / feedbacks.
 
  • Like
Reactions: Freebooter
I just enabled, refreshed and ran. Got same error. So have disabled again.
That's what I though that I did. I have been migrating 2 servers to one, trying to install proxmox on the old server for Offsite Proxmox, TureNAS Replication, proxmox backup server. So I have been doing a lot of fresh, installs/ reinstalls and trying to update everything. Maybe I did something else. Sorry it didn't work for you. I probably shouldn't have turned on the pvetest for my only server at home, but whatever. If break it I have backups I can restore from and so many txt notes oh commands to do everything easily lol. Will give me something to do.
 
  • Like
Reactions: Freebooter

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!