[Bug 926916] Re: package initramfs-tools 0.99ubuntu9 [modified: usr/sbin/update-initramfs] failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Tom Fields 926916 at bugs.launchpad.net
Thu Mar 29 23:37:54 UTC 2012


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.

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

Title:
  package initramfs-tools 0.99ubuntu9 [modified: usr/sbin/update-
  initramfs] failed to install/upgrade: subprocess installed post-
  installation script returned error exit status 1

Status in “initramfs-tools” package in Ubuntu:
  Incomplete

Bug description:
  Error due to update

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: initramfs-tools 0.99ubuntu9 [modified: usr/sbin/update-initramfs]
  ProcVersionSignature: Ubuntu 3.2.0-9.16-generic-pae 3.2.1
  Uname: Linux 3.2.0-9-generic-pae i686
  ApportVersion: 1.91-0ubuntu1
  Architecture: i386
  CasperVersion: 1.304
  Date: Sat Feb  4 17:37:00 2012
  DuplicateSignature:
   Setting up initramfs-tools (0.99ubuntu9) ...
   update-initramfs: deferring update (trigger activated)
   lzma: (stdout): Write error: No space left on device
   dpkg: error processing initramfs-tools (--configure):
    subprocess installed post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120120)
  PackageArchitecture: all
  SourcePackage: initramfs-tools
  Title: package initramfs-tools 0.99ubuntu9 [modified: usr/sbin/update-initramfs] failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to precise on 2012-02-04 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/926916/+subscriptions




More information about the foundations-bugs mailing list