error no space to left

So you now purged the kernel packages that only had config files left (rc state).

Your EFI partition still has too many kernels installed though, preventing apt do make adjustments.
To solve that, you manually need to clear out the EFI partition. See for example:
Hello and thank you . You actually on the node in production there are 2 zfs discs in mirror.

But I don’t caoise because even in the esp test node it’s often saturated.
 
So you now purged the kernel packages that only had config files left (rc state).

Your EFI partition still has too many kernels installed though, preventing apt do make adjustments.
To solve that, you manually need to clear out the EFI partition. See for example:
https://community-scripts.org/scripts?q=kernel , Can you solve the problem? look this

Code:
  / //_/__  _________  ___  / /  / ____/ /__  ____ _____
  / ,< / _ \/ ___/ __ \/ _ \/ /  / /   / / _ \/ __ `/ __ \
 / /| /  __/ /  / / / /  __/ /  / /___/ /  __/ /_/ / / / /
/_/ |_\___/_/  /_/ /_/\___/_/   \____/_/\___/\__,_/_/ /_/

Currently running kernel: 7.0.6-2-pve
Available kernels for removal:
 1. proxmox-kernel-6.14.11-2-pve-signed
 2. proxmox-kernel-6.14.11-3-pve-signed
 3. proxmox-kernel-6.14.11-9-pve-signed
 4. proxmox-kernel-6.17.2-2-pve-signed
 5. proxmox-kernel-6.17.13-13-pve-signed

Select kernels to remove (e.g. 1,3 or 1-5 or 1-3,7):
1
Kernels to be removed:
proxmox-kernel-6.14.11-2-pve-signed
Proceed with removal? (y/n): y
Removing proxmox-kernel-6.14.11-2-pve-signed...
Failed to remove: proxmox-kernel-6.14.11-2-pve-signed. Check dependencies.
Cleaning up...
 
Last edited:
That script only seems to remove kernel packages, not clean out the EFI partition(s).
It probably also fails because the EFI partition is full and can't complete the apt/dpkg removal.

You'll have to mount the EFI partition(s) and clean out manually like in the quoted thread.
 
Last edited: