[Bug 798462] [NEW] update-manager's free space calculator for /boot seems insufficient

Brian Murray brian at ubuntu.com
Thu Jun 16 22:58:04 UTC 2011


Public bug reported:

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/DistUpgradeCache.py update-manager uses
the following when calculating how much space the boot partition will
need:

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.

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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/DistUpgradeCache.py update-manager uses
  the following when calculating how much space the boot partition will
  need:
  
  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.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/798462

Title:
  update-manager's free space calculator for /boot seems insufficient

Status in “update-manager” package in Ubuntu:
  New

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/DistUpgradeCache.py update-manager uses
  the following when calculating how much space the boot partition will
  need:

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/798462/+subscriptions




More information about the foundations-bugs mailing list