Comment 6 for bug 926916

Revision history for this message
Tom Fields (udzelem) wrote :

This can be reproduced when creating a bootable USB pen drive image using Ubuntu package UNetbootin.
Tested with latest Ubuntu Precise Beta2 i386 desktop CD image.

However, I am not sure if this is possibly a bug of Ubuntu package "unetbootin" instead of "initramfs-tools".

It is a severe problem when using an Ubuntu live-disk as a rescue system for systems using Linux
logical volume management (lvm), as I had to find out the hard way.

Steps to reproduce:

1. Create a bootable USB installation, using "unetbootin", of abovementioned
Ubuntu Precise Pangolin Beta2 CD image,
setting the persistend storage file size to a nonzero value, e.g. 3GB for a 4GB USB drive.

2. Boot from the freshly created USB drive installation and start a root terminal.

3. Install some package that triggers the update-initramfs trigger; e.g.:
    apt-get update && apt-get install lvm2

4. dpkg fails with "lzma: (stdout): Write error: No space left on device".

Now the package management is in an inconsistent, broken state.
No further package updates/removals are possible.