I get the "Not enough free disk space" error about once a month during software updates. I'm getting tired of having to manually clear out old kernels every time I get this message.
Is there something I can do to prevent this issue from regularly occurring? I would like to have an automated solution so I don't have to manually remove old kernels every month.
I would think there would be something in place to prevent old unused kernels from accumulating like this.
I know there are a bunch of questions on here on how to clear up some disk space in /boot
in order to get rid of this error. That is not my question. I have not found any solutions that prevent this error from being a regular issue. I will continue searching while this question is up though, just in case I missed something.
/boot
is one possibility. – muru Apr 12 '15 at 19:52/boot
in a separate partition. – muru Apr 12 '15 at 19:58/boot
), but you would need 25 old versions to get to 1GB. Anapt-get autoremove
once a month and you'll never get that far. – muru Apr 12 '15 at 20:03apt-get autoremove
once a month using cron. – muru Apr 12 '15 at 20:18