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

Bug #926916 reported by Aleksiy
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Incomplete
Undecided
Unassigned

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)

Revision history for this message
Aleksiy (aleksiyi) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

You may need to run the following:

sudo apt-get install -f
sudo apt-get clean
sudo apt-get update

Then re-install the package.

If that does not resolve your issue, please mark the bug as "Confirmed"

Changed in initramfs-tools (Ubuntu):
status: New → Incomplete
Revision history for this message
Aleksiy (aleksiyi) wrote : Re: [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

What do you mean - "Then re-install the package." ?

On Wed, Feb 15, 2012 at 2:20 PM, Joseph Salisbury <
<email address hidden>> wrote:

> You may need to run the following:
>
> sudo apt-get install -f
> sudo apt-get clean
> sudo apt-get update
>
> Then re-install the package.
>
> If that does not resolve your issue, please mark the bug as "Confirmed"
>
> ** Changed in: initramfs-tools (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> 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
>

Revision history for this message
Brian Murray (brian-murray) wrote :

Actually the issue here is that you've run out of space in your root partition on your persistent media. The command 'sudo apt-get clean' may help resolve this issue by cleaning up packages you've downloaded and already installed.

Revision history for this message
Aleksiy (aleksiyi) wrote :

No, it does not help.

On Thu, Mar 15, 2012 at 12:23 PM, Brian Murray <email address hidden> wrote:

> Actually the issue here is that you've run out of space in your root
> partition on your persistent media. The command 'sudo apt-get clean'
> may help resolve this issue by cleaning up packages you've downloaded
> and already installed.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> 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
>

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.