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

Bug#585609: linux-base: postinstall script fails on loop-aes partitions



On Saturday 26 June 2010 22:50:42 Ben Hutchings wrote:
> On Fri, 2010-06-25 at 14:45 +0100, Adam Spragg wrote:
> > root@host:~# dpkg --configure --pending
> > Setting up linux-base (2.6.32-15) ...
> > tune2fs 1.41.12 (17-May-2010)
> > tune2fs: Bad magic number in super-block while trying to open /dev/sda6
> > Couldn't find valid filesystem superblock.
> > tune2fs failed: 256 at /var/lib/dpkg/info/linux-base.postinst line 1045,
> > <STDIN> line 10.
> 
> Without asking any questions?  Hmm, that makes things difficult.

Yup, no questions at all asked, and no apparent way to recover.
 
> I think you can work around this by purging linux-base and then
> reintstalling.

Yup, that then asked me if I wanted to update fstab and friends to use UUIDs 
instead of (unstable) device names, to which I replied "no", and it installed 
fine then.

> But I should change the post-installation script to
> recover from this and start asking questions again.

Probably a good idea. :-)

Thanks,

Adam

-- 
Adam Spragg <adam.spragg@octaltelecom.co.uk>
Developer
Octal Telecom <http://www.octaltelecom.co.uk/>


It reverses the logical flow of conversation!
> Why?
> > No.
> > > Should I top post?
<http://www.google.com/search?q=%22top+posting%22>



Reply to: