Comment 5 for bug 1477455

Revision history for this message
Tyler Dinsmoor (pappad) wrote :

Hello. I submitted this bug in 2015. See bug #1460396. In that report I included a short patch for update-manager which would allow checking for enough space for a new kernel, but it got little attention.

Although @Alberto mentioned patching update-manager would be over-engineering, it's better to at least add a check, than to do nothing.. Since 2015..

My solution makes sure there is enough room for the current kernel size + 10MB headroom in case of a large increase.

It does no harm to make a simple check prior to an upgrade and prompt the user that they may not have enough room for the upgrade, and to go to a URL with instructions on how to run an apt autoremove, or to use synaptic to remove specific old kernels, etc. No harm. It's better to give a recommendation instead of letting users who are just that, users, fend for themselves.