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

Bug #979928 reported by Robert Kulagowski
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Undecided
Martin Pitt
Precise
Fix Released
Undecided
Martin Pitt
initramfs-tools (Ubuntu)
Invalid
Undecided
Unassigned
Precise
Invalid
Undecided
Unassigned

Bug Description

Received crash report notification after running Update Manager and subsequent reboot.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: initramfs-tools 0.99ubuntu12
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu2
Architecture: amd64
Date: Tue Apr 10 15:52:12 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Xubuntu 12.04 "Precise Pangolin" - Beta amd64 (20120228)
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
Robert Kulagowski (rkulagow-gmail) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Brian Murray (brian-murray) wrote :

You seem to have run out of free space in your /tmp partition which is used to build part of this package update.

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-22-generic
mktemp: failed to create directory via template `/tmp/mkinitramfs_XXXXXX': No space left on device
update-initramfs: failed for /boot/initrd.img-3.2.0-22-generic with 1.
dpkg: error processing initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1

Changed in initramfs-tools (Ubuntu):
status: New → Invalid
Revision history for this message
Brian Murray (brian-murray) wrote :

The reporters /tmp partition is clearly full and they are running a version of apport with the /tmp check for free space. Do you know how this may have gotten through?

Martin Pitt (pitti)
affects: apport → apport (Ubuntu)
Revision history for this message
Martin Pitt (pitti) wrote :

Apport currently checks if there are at least 10 MB free. However, that's not enough for building an initramfs:

gzip -cd /boot/initrd.img-3.2.0-23-generic | wc -c
39785472

So I propose we bump the limit for /tmp/ to 50 MB? That also seems appropriate for /usr/.

Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in trunk r2285.

Changed in apport (Ubuntu):
status: New → Fix Committed
Changed in apport (Ubuntu Precise):
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
apport (2.0.1-0ubuntu5) precise-proposed; urgency=low

  * etc/apport/crashdb.conf: Disable Launchpad crash/kernel reports for the
    final release. Leave Apport running for whoopsie, though, so use the new
    mechanism for selective problem types.
  * Cherry-pick from trunk:
    - data/general-hooks/generic.py: Bump minimum free space requirement from
      10 to 50 MB. 10 is not nearly enough particularly for /tmp.
      (LP: #979928)
 -- Martin Pitt <email address hidden> Wed, 18 Apr 2012 10:08:28 +0200

Changed in apport (Ubuntu Precise):
status: Fix Committed → Fix Released
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.