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

Bug #1445308 reported by Gang Liu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

root@lg-virtual-machine:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  thunderbird-globalmenu libxrandr-ltsq2 language-pack-kde-en gir1.2-ubuntuoneui-3.0 language-pack-kde-en-base firefox-globalmenu
  libubuntuoneui-3.0-1 linux-headers-3.5.0-23 linux-headers-3.5.0-23-generic libllvm3.1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libc6-dev
Suggested packages:
  glibc-doc
The following packages will be upgraded:
  libc6-dev
1 upgraded, 0 newly installed, 0 to remove and 129 not upgraded.
5 not fully installed or removed.
Need to get 0 B/5,099 kB of archives.
After this operation, 12.3 kB disk space will be freed.
Do you want to continue [Y/n]? Y
Setting up initramfs-tools (0.99ubuntu13.5) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-3.13.0-40-generic (3.13.0-40.69~precise1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.13.0-40-generic
vmlinuz(/boot/vmlinuz-3.13.0-40-generic
) points to /boot/vmlinuz-3.13.0-40-generic
 (/boot/vmlinuz-3.13.0-40-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.13.0-40-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-40-generic /boot/vmlinuz-3.13.0-40-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-40-generic /boot/vmlinuz-3.13.0-40-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-40-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.13.0-40-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.13.0-40-generic.postinst line 1025.
dpkg: error processing linux-image-3.13.0-40-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libc6-dev:
 libc6-dev depends on libc6 (= 2.15-0ubuntu10.10); however:
  Version of libc6 on system is 2.15-0ubuntu10.12.
 libc6-dev depends on libc-dev-bin (= 2.15-0ubuntu10.10); however:
  Version of libc-dev-bin on system is 2.15-0ubuntu10.12.
dpkg: error processing libc6-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic-lts-trusty:
 linux-image-generic-lts-trusty depends on linux-image-3.13.0-40-generic; however:
  Package linux-image-3.13.0-40-generic is not configured yet.
dpkg: error processing linux-image-generic-lts-trusty (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-lts-trusty:
 linux-generic-lts-trusty depends on linux-image-generic-lts-trusty; however:
  Package linux-image-generic-lts-trusty is not configured yet.
dpkg: error processing linux-generic-lts-trusty (--configuNo apport report written because the error message indicates its a followup error from a previous failure.
                              No apport report written because the error message indicates its a followup error from a previous failure.
  No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                            re):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.13.0-39-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.13.0-39-generic with 1.
dpkg: error processing initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 linux-image-3.13.0-40-generic
 libc6-dev
 linux-image-generic-lts-trusty
 linux-generic-lts-trusty
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: initramfs-tools 0.99ubuntu13.5
ProcVersionSignature: Ubuntu 3.13.0-39.66~precise1-generic 3.13.11.8
Uname: Linux 3.13.0-39-generic i686
ApportVersion: 2.0.1-0ubuntu17.8
AptOrdering:
 initramfs-tools: Configure
 linux-image-3.13.0-40-generic: Configure
 libc6-dev: Configure
 linux-image-generic-lts-trusty: Configure
 linux-generic-lts-trusty: Configure
Architecture: i386
Date: Thu Apr 16 17:42:16 2015
DuplicateSignature: package:initramfs-tools:0.99ubuntu13.5:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release i386 (20130213)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.99ubuntu13.5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2015-04-13 (3 days ago)

Revision history for this message
Gang Liu (843076245-j) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Andy Whitcroft (apw) wrote :

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.13.0-39-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.13.0-39-generic with 1.
dpkg: error processing initramfs-tools (--configure):

Revision history for this message
Andy Whitcroft (apw) wrote :

This is a disk full situation. With the autoremove fixes this should be prevented in the future.

Changed in initramfs-tools (Ubuntu):
status: New → 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.