@Kevin: The way UM does its calculation is to count up all the kernels
that are marked to-be-installed, and then simply allocates N KB per new
kernel, which includes the initrd, vmlinux, etc files.  Through
observation I noticed that it's assigning 18*1024*1024 bytes for this,
which on one of my systems is undercounting by 260KB (although on
another system, it's just about right, so hmm...)

IIUC, the code uses statvfs on the underlying /boot file system to
determine how much space is already consumed, so it doesn't have to
count kernels that are already installed specifically.

Do you know how much space you had available in the /boot filesystem
when it failed?

You generally only need one active kernel at a time.  You can probably
use Computer Janitor to clean up those old kernels and free up /boot
space.  Some people feel it's good to keep at least one old (i.e. not
active) known-good kernel around just in case you find a problem with
the one that is active, i.e. the last installed.

-- 
Improve Update Manager's /boot space requirement calculation
https://bugs.launchpad.net/bugs/132311
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to