package initramfs-tools 0.99ubuntu12 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #972933 reported by Sean DS
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
High
Brian Murray
initramfs-tools (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Fresh install message flashed up so reported.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: initramfs-tools 0.99ubuntu12
ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
Uname: Linux 3.2.0-21-generic x86_64
ApportVersion: 2.0-0ubuntu4
AptOrdering:
 fglrx-amdcccle-updates: Purge
 fglrx-updates: Purge
Architecture: amd64
Date: Tue Apr 3 23:31:38 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64+mac (20120328)
PackageArchitecture: all
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.99ubuntu12 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sean DS (se4n-1) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

You seem to have run out of free space:

cp: failed to extend `/tmp/mkinitramfs_qxAq0V//lib/x86_64-linux-gnu/libuuid.so.1': No space left on device
cp: writing `/tmp/mkinitramfs_qxAq0V//bin/date': No space left on device
cp: failed to extend `/tmp/mkinitramfs_qxAq0V//bin/date': No space left on device
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.2.0-21-generic with 1.
dpkg: error processing initramfs-tools (--purge):
 subprocess installed post-installation script returned error exit status 1

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

In you df file we can see that /tmp is full:

tmpfs 1024 1024 0 100% /tmp

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

apport doesn't check /tmp for low free space but it should.

Changed in apport (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
importance: Undecided → High
status: New → In Progress
Changed in initramfs-tools (Ubuntu):
status: New → Invalid
Revision history for this message
Sean DS (se4n-1) wrote :

"apport doesn't check /tmp for low free space but it should."

Thanks Brian, that's the ideal solution.

Martin Pitt (pitti)
Changed in apport (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.0-0ubuntu5

---------------
apport (2.0-0ubuntu5) precise; urgency=low

  * Merge from trunk:
    - generic package hook: Also check /tmp for enough space. Thanks Brian
      Murray. (LP: #972933)
    - Automatic Launchpad translation updates.
 -- Martin Pitt <email address hidden> Tue, 10 Apr 2012 07:34:08 +0200

Changed in apport (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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