Comment 30 for bug 104337

Revision history for this message
ryanmbruce (ryanmbruce) wrote : Re: [Bug 104337] Re: [MASTER] /boot free space check message misleading and space requirement too big

Just to update everyone, deleting the kernel packages using apt-get
allowed the update manager to run with no hitches.

I have a few ideas/suggestions to help avoid more bug reports on this
in the future:

1) The text in the 'not enough free space' dialog box could be amended
to include a note about removing old kernels using apt-get, synaptic,
etc.

2) Change the process which consumes the space in the first place.
Try to squeeze out any unnecessary/overkill space requirements. [I'm
obviously not familiar with what's all is happening in these steps,
but I'm sure you know if this can be done or not.]

3) Increase the default size of the boot partition during a server
install. [The installation on this system is somewhat fuzzy to me now,
but I'm pretty sure I used the sizes suggested when using LVM]

4) If the update manager finds that there is not enough free space on
the drive, it could allow the user to select which kernels to keep, or
which ones/how many to keep. Then it would proceed to remove them
automatically, making sure to keep the ones the user wants.

5) Failing both of the former options, the update manager could guide
the user through a partition resizing application. This is a bit
scary for the user to do on their own, so help from above might ease
the situation. I wouldn't (at least for the foreseeable future) want
to see this become a standard part of an upgrade due to
risk/instability.

These are just some ideas I pulled off the top of my head, so I make
no claim that they're fully baked. I would like to hear input if you
have any.

Cheers,
-Ryan

On 8/28/07, Ryan Bruce <email address hidden> wrote:
> ahhh....duh. I incorrectly assumed it was calculating the space by
> looking at the images on disk. Boy do I feel dumb now. Thanks for
> the help!
>
> Cheers,
> -Ryan
>
> On 8/28/07, Michael Vogt <email address hidden> wrote:
> > @ryanmbruce: Thanks for the logs! It looks like you removed the images
> > from the filesystem, but not the kernel packages. Please use synaptic to
> > remove the no longer used kernels (make sure to keep the one you are
> > currently using :)
> >
> > 2007-08-26 22:56:14,237 DEBUG linux-image-2.6.17-10-386 (upgrade|installed) added with 20971520 to boot space
> > 2007-08-26 22:56:14,259 DEBUG linux-image-2.6.15-22-386 (upgrade|installed) added with 20971520 to boot space
> > 2007-08-26 22:56:14,272 DEBUG linux-image-2.6.17-7-386 (upgrade|installed) added with 20971520 to boot space
> > 2007-08-26 22:56:14,292 DEBUG linux-image-2.6.15-17-386 (upgrade|installed) added with 20971520 to boot space
> > 2007-08-26 22:56:14,317 DEBUG linux-image-2.6.17-8-386 (upgrade|installed) added with 20971520 to boot space
> > 2007-08-26 22:56:14,324 DEBUG linux-image-2.6.15-21-386 (upgrade|installed) added with 20971520 to boot space
> > 2007-08-26 22:56:14,363 DEBUG linux-image-2.6.22-10-386 (new-install) added with 10485760 to boot space
> > 2007-08-26 22:56:14,371 DEBUG linux-image-2.6.17-6-386 (upgrade|installed) added with 20971520 to boot space
> > 2007-08-26 22:56:14,382 DEBUG linux-image-2.6.17-9-386 (upgrade|installed) added with 20971520 to boot space
> > 2007-08-26 22:56:14,411 DEBUG linux-image-2.6.17-11-386 (upgrade|installed) added with 20971520 to boot space
> > 2007-08-26 22:56:14,437 DEBUG linux-image-2.6.17-5-386 (upgrade|installed) added with 20971520 to boot space
> > 2007-08-26 22:56:14,454 DEBUG linux-image-2.6.20-15-386 (upgrade|installed) added with 20971520 to boot space
> > 2007-08-26 22:56:14,531 DEBUG linux-image-2.6.20-16-386 (upgrade|installed) added with 20971520 to boot space
> > 2007-08-26 22:56:14,561 DEBUG linux-image-2.6.15-20-386 (upgrade|installed) added with 20971520 to boot space
> > 2007-08-26 22:56:14,572 DEBUG linux-image-2.6.15-23-386 (upgrade|installed) added with 20971520 to boot space
> > 2007-08-26 22:56:14,605 DEBUG linux-image-2.6.17-4-386 (upgrade|installed) added with 20971520 to boot space
> >
> > The space calculation is correct.
> >
> > --
> > [MASTER] /boot free space check message misleading and space requirement too big
> > https://bugs.launchpad.net/bugs/104337
> > You received this bug notification because you are a direct subscriber
> > of the bug.
> >
>