Web lists-archives.com

Re: /boot full (of old-dkms)




Den 2019-02-07 kl. 10:31, skrev john doe:
On 2/7/2019 8:14 AM, Erik Josefsson wrote:
Hello,

I happen to have a couple of quite large old-dkms* files in my /boot
directory.

Apparently they are not removed by aptitude autoclean (which I use
regularly).


Can I safely remove those files manually with rm?

Or should I use another tool or command?

Thanks!


//Erik


*)

/boot$ ls -al | grep old
-rw-r--r--  1 root root 26018518 jul 26  2018
initrd.img-4.16.0-1-amd64.old-dkms
-rw-r--r--  1 root root  3538944 jul 26  2018
initrd.img-4.16.0-2-amd64.old-dkms
-rw-r--r--  1 root root 28866434 jan 16 18:06
initrd.img-4.19.0-1-amd64.old-dkms

According to (1), you should be fine removing '.old-dkms' files in '/boot'.
However, I would do a backup of those files before removing them.

1)  https://askubuntu.com/questions/863380/can-i-remove-old-dkms-files

Thank you!

Apparently there is also a new way of rid of old kernels coming up:

kthresher - Purge Unused Kernels

https://tracker.debian.org/pkg/kthresher

Best regards.

//Erik