[SOLVED] Need some help uninstalling proxmox-ve

Ovidiu

Renowned Member
Apr 27, 2014
324
12
83
I am fooling around on a test server and was simply trying out proxmox-ve and installing it with zfs on root.
I now would like to remove proxmox-ve and keep doing some tests with zfs so I tried the following:

apt-get remove proxmox-ve

which asked me to do a touch '/please-remove-proxmox-ve'
it worked, I rebooted but now I can't seem to install other packages, i.e.

Code:
 apt-get install deborphan debfoster -u
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  dialog libgc1c2
The following NEW packages will be installed:
  debfoster deborphan dialog libgc1c2
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/643 kB of archives.
After this operation, 2,121 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
/bin/sh: 1: /usr/share/proxmox-ve/pve-apt-hook: not found
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (127)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook

can I get a quick pointer how to completely remove proxmox-ve or how to get rid of this problem please?
 
  • Like
Reactions: hellresistor
ok, after removing most promox-ve leftovers I can't seem to update initramfs-tools

apt-get install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.

Code:
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.133+deb10u1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.133+deb10u1) ...
update-initramfs: Generating /boot/initrd.img-5.4.44-2-pve

/etc/initramfs/post-update.d//pve-efiboot-sync: 10: /etc/initramfs/post-update.d//pve-efiboot-sync: /usr/sbin/pve-efiboot-tool: not found
run-parts: /etc/initramfs/post-update.d//pve-efiboot-sync exited with return code 127

dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools


Any hints?
 
apt-get remove proxmox-ve
try purging the config as well -
Code:
apt purge proxmox-ve
and also purge all configurations of the remaining pve/proxmox packages (the pve-efiboot-sync tool and the initramfs hooks are in 'pve-kernel-helper' for example)...
 
  • Like
Reactions: Ovidiu
try purging the config as well -
Code:
apt purge proxmox-ve
and also purge all configurations of the remaining pve/proxmox packages (the pve-efiboot-sync tool and the initramfs hooks are in 'pve-kernel-helper' for example)...
not sure if it was purging the different pve components but things seem to work now. Thanks for the help.
 
  • Like
Reactions: Stoiko Ivanov

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!