How to uninstall proxmox?

Jul 7, 2021
I tried to uninstall proxmox by running

apt remove proxmox-ve

However, afterwards every apt command fails with

/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

How can I remove proxmox packages from the system?
Its theoretically possible, but wouldnt make sense to do this on a system that was installed using Proxmox ISO.
It may make more sense to do it if you originally installed Debian with PVE on top of it. Even so, a much cleaner approach is to re-install OS.

I havent tried this operation and, I suspect, the issue you are seeing is not the only underwater stone you might hit. That said, for this specific issue running this command should give you enough of a hint on what to do:
" grep -R pve-apt-hook /etc"

Blockbridge: Ultra low latency all-NVME shared storage for Proxmox -


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!