Proxmox 7.3-4 You are attempting to remove the meta-package 'proxmox-ve'! error

berkbal

New Member
Dec 1, 2022
5
0
1
Hello, im trying to update swtpm to version 0.8.0~bpo11+2 to match nodes versions. But when i try to update with apt install swtpm=0.8.0~bpo11+2 it gives error below;

Code:
Do you want to continue? [Y/n] y
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

Is there any bypass to fix this or anyone solved this issue?

Thanks
 
Hi,
please post the full command you are using and the full output as well as the output of pveversion -v. It is highly recommended to always use the latest updates, so does it work if you run apt dist-upgrade instead?
 
Hi,
please post the full command you are using and the full output as well as the output of pveversion -v. It is highly recommended to always use the latest updates, so does it work if you run apt dist-upgrade instead?
Hi,

Full Command : apt install swtpm-libs=0.8.0~bpo11+2

It does work with dist-upgrade but im using at least 10 nodes and because of uptime and compability issues i don't want to update all nodes. I want to update packages to same version as current used nodes.
 
It does work with dist-upgrade but im using at least 10 nodes and because of uptime and compability issues i don't want to update all nodes. I want to update packages to same version as current used nodes.
How is updating all packages supposed to be different from just upgrading? Other than creating dependency problems I mean.

ETA: It is not advised in Debian-based systems to mix packages from different major releases. It leads to dependency issues that will often end up in either upgrading large chucks of the system or leaving things a broken mess. For official Debian packages, they do have the backports repository that contains newer versions built for an older release but I don't think Proxmox has that for their packages.

So short answer is "don't do that".
 
Last edited:
How is updating all packages supposed to be different from just upgrading? Other than creating dependency problems I mean.

ETA: It is not advised in Debian-based systems to mix packages from different major releases. It leads to dependency issues that will often end up in either upgrading large chucks of the system or leaving things a broken mess. For official Debian packages, they do have the backports repository that contains newer versions built for an older release but I don't think Proxmox has that for their packages.

So short answer is "don't do that".
im trying to make exact same versions for packages, thats why. Otherwise cluster won't work properly.
 
im trying to make exact same versions for packages, thats why. Otherwise cluster won't work properly.
If you upgrade all nodes, they will have the same version (assuming you have the same repositories configured!) ;) When you do a major upgrade (e.g. 7 to 8), you need to be more careful, there's a guide. But within the same version, you can always just use apt dist-upgrade. That is recommended, because you will get security updates and bug fixes.

Also, a cluster should work even when there's version differences as long as it's the same major version. There can be bugs of course, but upgrading often fixes them.
 
Last edited:

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!