[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#687821: fails to ensure sufficient free space for kernel install



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



On 16/09/12 16:01, Ben Hutchings wrote:
> On Sun, 2012-09-16 at 13:37 +0200, Julien Cristau wrote:
>> On Sun, Sep 16, 2012 at 13:24:56 +0200, Daniel Pocock wrote:
>> 
>>> The second point, (b), apt-get seems to be unable to calculate
>>> space required for the kernel package
>>> 
>>> I actually did a successful `apt-get dist-upgrade' for the
>>> whole system, hundreds of packages, and only this package had
>>> an issue.  I don't know if there is anything unusual about the
>>> package (for example, during preinst) that may contribute to
>>> the problem, for example - are there any obvious issues that
>>> you are already aware of?
>>> 
>> If I had to guess, apt probably uses the Installed-Size header,
>> which doesn't discriminate between filesystems.
> 
> Perhaps more importantly, it can't account for the initramfs.
> 
Well, if this was me hacking around on some embedded device I would
take full responsibility and would never have opened a bug report for
the issue

But as these are the filesystem sizes created by partman auto/guided
partitioning, and as it seems like wheezy's kernel packages will be
bigger than squeeze's 2.6 kernels, I can't help imagining this problem
will confront other people when they install or upgrade.

Could the preinst script be adapted to test disk space and give a
helpful warning?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJQVd2RAAoJEOm1uwJp1aqDkhcQAI4jWxPFah2oMdq3VlsYd9ry
8UW3ODgllLvQWz8vXpr4PVx+LT3gOfgXPylHoFDTGEwwizjqeYbAGbiHpPXXeBCp
IEk+pwwj3eiDJ4xmSEeZBTt2UaRT842RW7pblzmIvcusXrtLaSPDbSk9zXdtind/
yEiPTft30TIeuDbRExMj9wFy48NAlNFnWxJC+u8sndRGQSw2l05Ak99qmqz2ud8N
6UEYPbFEIOROLtH4ng4llrLuFJn//s4ReMIO1TKPjyqA+1MnlF/0cQxflRz0g6z8
EFBUWKH9gyVzq8yJHsPv5e8JiNxoi88I6HljH2kdXESmtKuppFyhyOyySvU87a1Z
e1YHX5yKcxUpU9zcJEdcy5S7r7awESML7YLru0HTLKvDUvwCYi1YUCy9oN2uJJHg
2P5QvHP/nobTaWDli+MIvAKg34u4tRNhTAOiiWCR5L6P/CaEPx6Rv8R8qjTf1dZT
kaRqNtiIvRo0VReLqK8uFpbZcs7e9UaTvfQ1VrcAlxCXblJdSOousWUzvfDUdWLs
I9bbXnKwyjdisiONRC5h2uoYzAUtHN+N52trW1KHPPz902d1Jprjrh3uboAyLhe3
LIhzFaxo90y+uC7Bs/tnZl2umSy4vGHuL10C2e11uQeu3BSFdixotwCy2rvjVYaB
fiBsKMpgj7qYwgs5Kc3P
=sJcR
-----END PGP SIGNATURE-----


Reply to: