help fix my proxmox servers

ncage

Member
Jan 28, 2022
7
0
6
50
I have touched my proxmox servers for months. I had 3. One machine had died so i wanted to remove it from the cluster. Before I did anything i went to update the other 2 servers left & got an error when i ran `apt dist-upgrade` (on both machines):

Code:
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

I should have learned my lesson from randomly googling around & running commands but thats what i did & this is what i did:
I commented out all the lines on`/etc/apt/apt.conf.d/10pveapthook` & was able to run the updates on both machines. Apparently the warning is exactly what it did & removed `proxmox-ve` & i can't seem to reinstall it:
Code:
sudo apt install --reinstall pve-manager
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 pve-container : Depends: proxmox-backup-client (>= 3.2.5-1) but 3.2.3-1 is to be installed
E: Unable to correct problems, you have held broken packages.

any way to fix this issue & not have to reinstall everything? I was running proxmox v8 when all of these issues start (what build i'm not 100% sure of). I wasn't doing an upgrade. I was simple doing a simple update when all of these issues started. During all of these issues i was able to remove the dead machine from the cluster. Any help would be greatly appreciated.

thanks......
 
Hi,

Could you post the output of the following commands?

Bash:
grep '' /etc/apt/sources.list && grep '' /etc/apt/sources.list.d/*
apt update
 

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!