update-manager's free space calculator for /boot seems insufficient
Bug #798462 reported by
Brian Murray
This bug affects 89 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt |
Bug Description
Binary package hint: update-manager
There are a number of initramfs-tools apport package bug reports from distribution upgrades regarding errors with a lack of free space on /boot. Looking at DistUpgrade/
KERNEL_INITRD_SIZE = 19 * 1024 * 1024
The number 19 should probably be increased or as slangasek suggests "a much better predictor would be to check the size of the initrd for the current kernel".
WORKAROUND:
Remove unused kernels using computer janitor or manually free space on your partition containing the /boot file system.
description: | updated |
Changed in update-manager (Ubuntu): | |
assignee: | nobody → Ubuntu Foundations Team (ubuntu-foundations-team) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in update-manager (Ubuntu): | |
assignee: | Ubuntu Foundations Team (ubuntu-foundations-team) → Michael Vogt (mvo) |
Changed in update-manager (Ubuntu): | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
This bug was fixed in the package update-manager - 1:0.151.8
---------------
update-manager (1:0.151.8) oneiric; urgency=low
* DistUpgrade/ DistUpgradeView Gtk.py: ED_MESSAGES to force untranslated dpkg DistUpgradeCach e.py:
- set DPKG_UNTRANSLAT
terminal messages for easier package failure duplication
detection
* DistUpgrade/
- when calculating the size of the space required in /boot use
the size of the currently running kernel as the base and add
a small safety margin (LP: #798462).
* import new apt-btrfs-snapshot to fix crash for certain fstab
entries (LP: #806065)
-- Michael Vogt <email address hidden> Wed, 06 Jul 2011 17:23:26 +0200