error no space to left

frankz

Renowned Member
Nov 16, 2020
446
31
68
i found this error !
Code:
root@pve:~# apt autoremove
REMOVING:                       
  proxmox-kernel-7.0.2-6-pve-signed  proxmox-kernel-7.0.2-7-pve-signed

Summary:
  Upgrading: 0, Installing: 0, Removing: 2, Not Upgrading: 0
  2 not fully installed or removed.
  Freed space: 2,059 MB

Continue? [Y/n] y
(Reading database ... 127080 files and directories currently installed.)
Removing proxmox-kernel-7.0.2-6-pve-signed (7.0.2-6) ...
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 7.0.2-6-pve /boot/vmlinuz-7.0.2-6-pve
update-initramfs: Deleting /boot/initrd.img-7.0.2-6-pve
run-parts: executing /etc/kernel/postrm.d/proxmox-auto-removal 7.0.2-6-pve /boot/vmlinuz-7.0.2-6-pve
run-parts: executing /etc/kernel/postrm.d/zz-proxmox-boot 7.0.2-6-pve /boot/vmlinuz-7.0.2-6-pve
Re-executing '/etc/kernel/postrm.d/zz-proxmox-boot' in new private mount namespace..
Copying and configuring kernels on /dev/disk/by-uuid/0104-CE60
    Copying kernel and creating boot-entry for 6.17.13-13-pve
    Copying kernel and creating boot-entry for 7.0.12-1-pve
cp: error writing '/var/tmp/espmounts/0104-CE60/EFI/proxmox/7.0.12-1-pve/initrd.img-7.0.12-1-pve': No space left on device
run-parts: /etc/kernel/postrm.d/zz-proxmox-boot exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/proxmox-kernel-7.0.2-6-pve-signed.postrm line 15.
dpkg: error processing package proxmox-kernel-7.0.2-6-pve-signed (--remove):
 installed proxmox-kernel-7.0.2-6-pve-signed package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
 proxmox-kernel-7.0.2-6-pve-signed
Processing was halted because there were too many errors.
Error: Sub-process /usr/bin/dpkg returned an error code (1)
root@pve:~#
 
Write English or German please?
now you report some apt output of a command you setup.
So what do you want to say?
Did you search the forum for more questions and answers?
 
Write English or German please?
now you report some apt output of a command you setup.
So what do you want to say?
Did you search the forum for more questions and answers?
I tried , I found nothing . I proceeded with the last update and it gives me error that there is no space . If you want to help me tell me how to free up space for EFI
Code:
oot@pve:~# apt autoremove
REMOVING:                       
  proxmox-kernel-7.0.2-6-pve-signed

Summary:
  Upgrading: 0, Installing: 0, Removing: 1, Not Upgrading: 0
  3 not fully installed or removed.
  Freed space: 1,029 MB

Continue? [Y/n] y
(Reading database ... 118871 files and directories currently installed.)
Removing proxmox-kernel-7.0.2-6-pve-signed (7.0.2-6) ...
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 7.0.2-6-pve /boot/vmlinuz-7.0.2-6-pve
update-initramfs: Deleting /boot/initrd.img-7.0.2-6-pve
run-parts: executing /etc/kernel/postrm.d/proxmox-auto-removal 7.0.2-6-pve /boot/vmlinuz-7.0.2-6-pve
run-parts: executing /etc/kernel/postrm.d/zz-proxmox-boot 7.0.2-6-pve /boot/vmlinuz-7.0.2-6-pve
Re-executing '/etc/kernel/postrm.d/zz-proxmox-boot' in new private mount namespace..
Copying and configuring kernels on /dev/disk/by-uuid/0104-CE60
    Copying kernel and creating boot-entry for 6.17.13-13-pve
    Copying kernel and creating boot-entry for 7.0.12-1-pve
cp: error writing '/var/tmp/espmounts/0104-CE60/EFI/proxmox/7.0.12-1-pve/initrd.img-7.0.12-1-pve': No space left on device
run-parts: /etc/kernel/postrm.d/zz-proxmox-boot exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/proxmox-kernel-7.0.2-6-pve-signed.postrm line 15.
dpkg: error processing package proxmox-kernel-7.0.2-6-pve-signed (--remove):
 installed proxmox-kernel-7.0.2-6-pve-signed package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
 proxmox-kernel-7.0.2-6-pve-signed
Processing was halted because there were too many errors.
Error: Sub-process /usr/bin/dpkg returned an error code (1)
 
Last edited:
nobody know you system or your drive and space.

Please use google translator for this an other treads:
# https://forum.proxmox.com/threads/alte-kernel-fragmente-deinstallieren-löschen.182333/
Look closely at the error:
opying and configuring kernels on /dev/disk/by-uuid/0104-CE60
Copying kernel and creating boot-entry for 6.17.13-13-pve
Copying kernel and creating boot-entry for 7.0.12-1-pve
cp: error writing '/var/tmp/espmounts/0104-CE60/EFI/proxmox/7.0.12-1-pve/initrd.img-7.0.12-1-pve': No space left on device
 
nobody know you system or your drive and space.

Please use google translator for this an other treads:
# https://forum.proxmox.com/threads/alte-kernel-fragmente-deinstallieren-löschen.182333/
i'm resolved :
Code:
cat /etc/kernel/proxmox-boot-uuids
67D6-E50C
ls -al /dev/disk/by-uuid/67D6-E50C
lrwxrwxrwx 1 root root 15 Sep  1 20:06 /dev/disk/by-uuid/67D6-E50C -> ../../nvme0n1p2
mkdir /tmp/myesp
mount /dev/nvme0n1p2 /tmp/myesp
ll /tmp/myesp/*/*
rm -rf /tmp/myesp/*/*/5.15.108-1-pve
rm -rf /tmp/myesp/*/*/6.2.16-5-pve
umount /tmp/myesp
apt-get -f install
 
  • Like
Reactions: Onslow
Be sure to not have too small "/" and "/boot" partitions and clean them up when neccessary even check with "df -h" first before running "apt ...".
 
Be sure to not have too small "/" and "/boot" partitions and clean them up when neccessary even check with "df -h" first before running "apt ...".
Hi following a guide on the forum, the problem was related to the space on the efi disk, in my root the space is huge
 
  • Like
Reactions: waltar