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):
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:
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......
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......