by Cerium · 9y ago · 0 comments
The symptom was always the same : "I can't upgrade anymore". And the reason was always the same : like 20 different kernels in /boot, which has no more free space and was breaking upgrade process for any package.
EDIT : sorry to have to ask that, by the way : I'm on kde neon myself, but I always make my own partition scheme, so I can't answer that question.
Newer Linux boot loaders have largely eliminated the need, but old compatibility items everywhere tend to stay stuck well beyond the point where they ceased actually being necessary anymore (partially due to the "if it is not broke, don't fix it" mindset).
But the problem you describe is not a failure of having /boot be a small separate partition. It is a failure of the upgrade scripts not cleaning up old, no longer used, kernel files.
It is definitely one of those things where the default case has been made to cover everything and has gotten really complicated.
But the upgrade tool really should be smart enough to clean up the oldest kernels when /boot gets full. That's pretty sad if they haven't fixed that yet.
apt-get autoremove
It's just not enabled by default, you have to put it in /etc/cron.monthly, if you want it to just run for you.
It's curious how a "supported" OS like Windows 7 mysteriously only runs on old hardware and cannot be bought anymore. You'd almost think they're trying to force you to upgrade.
These older folks built the very things you used. As for the "definitely not going to understand" bit, there's a not insignificant chance that I understand it better than you.
I'm glad you're capable, but please be realistic.