Mise à jour debian

Erreur installation kernel

Espace disque du boot trop faible pour installer la nouvelle version du kernel

 

Paramétrage de linux-image-6.12.41+deb13-amd64 (6.12.41-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.12.38+deb13-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-6.12.38+deb13-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.12.41+deb13-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.12.41+deb13-amd64
/etc/kernel/postinst.d/dkms:
Automatic installation of modules for kernel 6.12.41+deb13-amd64 was skipped since the kernel headers for this kernel do not seem to be installed.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.12.41+deb13-amd64
zstd: error 70 : Write error : cannot write block : No space left on device 
E: mkinitramfs failure zstd -q -9 -T0 70

 

cd /boot

ls -al
total 317395
drwxr-xr-x  5 root root      1024 18 août  09:00 .
drwxr-xr-x 20 root root      4096 18 août  09:00 ..
-rw-r--r--  1 root root    283114 19 mai   23:52 config-6.12.27+bpo-amd64
-rw-r--r--  1 root root    283270 16 juil. 09:13 config-6.12.38+deb13-amd64
-rw-r--r--  1 root root    283248 12 août  05:28 config-6.12.41+deb13-amd64
drwx------  3 root root      4096  1 janv.  1970 efi
drwxr-xr-x  5 root root      1024 12 août  09:41 grub
-rw-r--r--  1 root root 143023957 12 août  09:27 initrd.img-6.12.27+bpo-amd64
-rw-r--r--  1 root root 143644678 12 août  09:40 initrd.img-6.12.38+deb13-amd64
drwx------  2 root root     12288 10 juin  12:24 lost+found
-rw-r--r--  1 root root        83 19 mai   23:52 System.map-6.12.27+bpo-amd64
-rw-r--r--  1 root root        83 16 juil. 09:13 System.map-6.12.38+deb13-amd64
-rw-r--r--  1 root root        83 12 août  05:28 System.map-6.12.41+deb13-amd64
-rw-r--r--  1 root root  11982784 19 mai   23:52 vmlinuz-6.12.27+bpo-amd64
-rw-r--r--  1 root root  12097472 16 juil. 09:13 vmlinuz-6.12.38+deb13-amd64
-rw-r--r--  1 root root  12101568 12 août  05:28 vmlinuz-6.12.41+deb13-amd64

➜  /boot sudo rm *-6.12.27*
➜  /boot sudo apt autoremove && sudo apt upgrade