Something keeps eating all the space in that partition and any time I use apt-get it seems it tries to write to that and fails. I can't even update my system anymore.
I tried apt-get autoremove and apt-get autoclean but it was failing, so I moved a couple files to /tmp just so that it works, but all it did is it caused even more space to be used!
Anything else I can try? I know there is something about purging old kernels, which I thought this command was going to do, but can't find much info on how to do it.
These are the biggest files:
Are any of those safe to delete? Those are the actual kernels right? So as long as I don't delete the latest one I should be good?
I tried apt-get autoremove and apt-get autoclean but it was failing, so I moved a couple files to /tmp just so that it works, but all it did is it caused even more space to be used!
Anything else I can try? I know there is something about purging old kernels, which I thought this command was going to do, but can't find much info on how to do it.
These are the biggest files:
Code:
40561 -rw-r--r-- 1 root root 41371472 Apr 19 2019 initrd.img-4.4.0-103-generic
40559 -rw-r--r-- 1 root root 41369245 Apr 19 2019 initrd.img-4.4.0-112-generic
40803 -rw-r--r-- 1 root root 41617772 Apr 19 2019 initrd.img-4.4.0-134-generic
40803 -rw-r--r-- 1 root root 41618079 Oct 22 22:28 initrd.img-4.4.0-135-generic
40833 -rw-r--r-- 1 root root 41648182 Nov 1 02:38 initrd.img-4.4.0-166-generic
39933 -rw-r--r-- 1 root root 40729863 Apr 19 2019 initrd.img-4.4.0-21-generic
40418 -rw-r--r-- 1 root root 41224852 Apr 19 2019 initrd.img-4.4.0-45-generic
40457 -rw-r--r-- 1 root root 41265117 Apr 19 2019 initrd.img-4.4.0-47-generic
40194 -rw------- 1 root root 40996864 Nov 1 02:39 initrd.img-4.4.0-67-generic
Are any of those safe to delete? Those are the actual kernels right? So as long as I don't delete the latest one I should be good?