[Bug 132311] Re: Improve Update Manager's /boot space requirement calculation
** Changed in: update-manager (Ubuntu) Status: In Progress => Fix Released -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 132311] Re: Improve Update Manager's /boot space requirement calculation
@Barry: No, that was total size, not free space. Subtract out however much space five 6.10-era kernels would have consumed, along with whatever other typical /boot files might take up. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 132311] Re: Improve Update Manager's /boot space requirement calculation
@Kevin: cool. Do youmean that /boot had about 101MB of free space left? That should definitely have been enough to install a new kernel. Oh well, 7.04 was a long time ago :) Is anybody still seeing this bug on Karmic or Lucid? -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 132311] Re: Improve Update Manager's /boot space requirement calculation
@Barry: Thanks for the details. The bug bit me back in 2007 (upgrading to 7.04), so obviously the details are pretty hazy by now. I mentioned in my bug report that I had 5 kernels in /boot at the time of failure. I just booted up that old system, and df reports a size of 101086 total 1K blocks. Sorry I can't give you more details about the state of things back then. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 132311] Re: Improve Update Manager's /boot space requirement calculation
@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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 132311] Re: Improve Update Manager's /boot space requirement calculation
@Barry: To clarify, when you talk about "per kernel", you are talking about per kernel that will be installed? As opposed to per kernel already in /boot. I ask because at the time it failed for me, I may have had 10 kernels stacked up in /boot. How many kernels get installed? Maybe you could briefly outline what that calculation is doing so the rest of us can understand it? Thanks. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 132311] Re: Improve Update Manager's /boot space requirement calculation
** Summary changed: - update-manager should refuse to upgrade if space is not available + Improve Update Manager's /boot space requirement calculation -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs