[SOLVED] Upgrading proxmox, but running into issues *new to PMVE*

kristphr

New Member
Jun 17, 2024
1
0
1
Hello all,

I get the follow message when trying to upgrade proxmox:

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

System not fully up to date (found 45 new packages)

I went to the repositories and removed the enterprise subscription, but what else am I missing? Is it advisable to remove proxmox-ve ?
 
Hi,

please post the output of pveversion -v, tail -n+0 /etc/apt/sources.list and tail -n+0 /etc/apt/sources.list.d/*.
This error normally just means that you configured the repos wrong, probably missing the no-subscription one based on your description.

It might be also just a transient error from yesterday that is already fixed - see https://forum.proxmox.com/threads/u...-proxmox-ve-package.149101/page-5#post-675210

I'd also advise to get familiar with the repositories available as documented in Package Repositories.

I get the follow message when trying to upgrade proxmox:
What command did you exactly use to upgrade?

Is it advisable to remove proxmox-ve ?
Well, that would remove all components specific to Proxmox VE, so no. That's why this hook is in place, to prevent users from accidentally uninstalling this package.
 
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!