3

Not enough free disk space

The upgrade has aborted. The upgrade needs a total of 103 M free space on disk '/boot'. Please free at least an additional 12,4 M of disk space on '/boot'. You can remove old kernels using 'sudo apt autoremove' and you could also set COMPRESS=xz in /etc/initramfs-tools/initramfs.conf to reduce the size of your initramfs.

i have tried deleting old kernels, clean up with tweak and boot does not empty

any hints of what and how i should delete from the following, are welcome

1,5M    /boot/abi-4.15.0-23-generic
213K    /boot/config-4.15.0-23-generic
221K    /boot/config-5.0.0-31-generic
221K    /boot/config-5.0.0-32-generic
6,7M    /boot/grub
57M     /boot/initrd.img-4.15.0-29-generic
13M     /boot/initrd.img-4.4.0-62-generic
41M     /boot/initrd.img-5.0.0-32-generic
12K     /boot/lost+found
180K    /boot/memtest86+.bin
182K    /boot/memtest86+.elf
182K    /boot/memtest86+_multiboot.bin
4,3M    /boot/System.map-5.0.0-31-generic
4,3M    /boot/System.map-5.0.0-32-generic
8,5M    /boot/vmlinuz-5.0.0-32-generic

sudo du -sh /boot/* gives bash: /usr/bin/sudo: Permission denied

planet rocker
  • 51
  • 1
  • 6

1 Answers1

0

You can delete these (provided you boot into 5.0.0):

57M     /boot/initrd.img-4.15.0-29-generic
13M     /boot/initrd.img-4.4.0-62-generic

You can use these commands:

sudo rm /boot/initrd.img-4.15.0-29-generic
sudo rm /boot/initrd.img-4.4.0-62-generic

But first verify that you are not using the kernels 4.15.0 or 4.4.0 by running:

uname -a

Please note that normally it is not advised to delete these files manualy, though I have done it in the past multiple times without any problems, if you take the precautions mentioned (the purge command should do exactly the same, though as Oli said "sometimes things get gunged up").

Bruni
  • 11,099