package linux-image-extra-4.4.0-66-generic 4.4.0-66.87~14.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1672047 reported by Francis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-lts-xenial (Ubuntu)
New
Undecided
Unassigned

Bug Description

Error output from upgrade

update-initramfs: Generating /boot/initrd.img-4.4.0-66-generic

gzip: stdout: No space left on device
E: mkinitramfs failure find 141 cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.4.0-66-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-4.4.0-66-generic (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-generic-lts-xenial:
 linux-image-generic-lts-xenial depends on linux-image-extra-4.4.0-66-generic; however:
  Package linux-image-extra-4.4.0-66-generic is not configured yet.

dpkg: error processing package linux-image-generic-lts-xenial (--configure):
 dependency problems - leaving unconfigured
Setting up linux-headers-4.4.0-66 (4.4.0-66.87~14.04.1) ...
Setting up linux-headers-4.4.0-66-generic (4.4.0-66.87~14.04.1) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-66-generic /boot/vmlinuz-4.4.0-66-generic
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Setting up linux-headers-generic-lts-xenial (4.4.0.66.52) ...
dpkg: dependency problems prevent configuration of linux-generic-lts-xenial:
 linux-generic-lts-xenial depends on linux-image-generic-lts-xenial (= 4.4.0.66.52); however:
  Package linux-image-generic-lts-xenial is not configured yet.

dpkg: error processing package linux-generic-lts-xenial (--configure):
 dependency problems - leaving unconfigured
Setting up linux-signed-image-4.4.0-66-generic (4.4.0-66.87~14.04.1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          cp: error writing ‘/boot/vmlinuz-4.4.0-66-generic.efi.signed’: No space left on device
cp: failed to extend ‘/boot/vmlinuz-4.4.0-66-generic.efi.signed’: No space left on device
dpkg: error processing package linux-signed-image-4.4.0-66-generic (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of linux-signed-image-generic-lts-xenial:
 linux-signed-image-generic-lts-xenial depends on linux-signed-image-4.4.0-66-generic; however:
  Package linux-signed-image-4.4.0-66-generic is not configured yet.
 linux-signed-image-generic-lts-xenial depends on linux-image-extra-4.4.0-66-generic; however:
  Package linux-image-extra-4.4.0-66-generic is not configured yet.

dpkg: error processing package linux-signed-image-generic-lts-xenial (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of linux-signed-generic-lts-xenial:
 linux-signed-generic-lts-xenial depends on linux-signed-image-generic-lts-xenial (= 4.4.0.66.52); however:
  Package linux-signed-image-generic-lts-xenial is not configured yet.

dpkg: error processing package linux-signed-generic-lts-xenial (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Setting up nvidia-367-dev (367.57-0ubuntu0.14.04.1) ...
Setting up nvidia-352-dev (367.57-0ubuntu0.14.04.1) ...
Setting up nvidia-opencl-icd-367 (367.57-0ubuntu0.14.04.1) ...
Setting up nvidia-opencl-icd-352 (367.57-0ubuntu0.14.04.1) ...
Setting up python3-crypto (2.6.1-4ubuntu0.2) ...
Setting up shim-signed (1.19~14.04.1+0.8-0ubuntu2) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
Setting up software-center (13.10-0ubuntu4.2) ...
Updating software catalog...this may take a moment.
INFO:softwarecenter.db.pkginfo_impl.aptcache:aptcache.open()
Software catalog update was successful.
Setting up thunderbird (1:45.7.0+build1-0ubuntu0.14.04.1) ...
Setting up thunderbird-gnome-support (1:45.7.0+build1-0ubuntu0.14.04.1) ...
Setting up python3-libapparmor (2.10.95-0ubuntu2.5~14.04.1) ...
Setting up python3-apparmor (2.10.95-0ubuntu2.5~14.04.1) ...
Setting up apparmor-easyprof (2.10.95-0ubuntu2.5~14.04.1) ...
Setting up oxideqt-codecs:amd64 (1.20.4-0ubuntu0.14.04.1) ...
Setting up libnss3-nssdb (2:3.26.2-0ubuntu0.14.04.3) ...
Setting up libnss3:amd64 (2:3.26.2-0ubuntu0.14.04.3) ...
Setting up libnss3-1d:amd64 (2:3.26.2-0ubuntu0.14.04.3) ...
Setting up chromium-browser (53.0.2785.143-0ubuntu0.14.04.1.1145) ...
Setting up chromium-browser-l10n (53.0.2785.143-0ubuntu0.14.04.1.1145) ...
Setting up libreoffice-core (1:4.2.8-0ubuntu5) ...
Setting up libreoffice-base-core (1:4.2.8-0ubuntu5) ...
Setting up libreoffice-calc (1:4.2.8-0ubuntu5) ...
Setting up libreoffice-gtk (1:4.2.8-0ubuntu5) ...
Setting up libreoffice-gnome (1:4.2.8-0ubuntu5) ...
Setting up libreoffice-draw (1:4.2.8-0ubuntu5) ...
Setting up libreoffice-impress (1:4.2.8-0ubuntu5) ...
Setting up libreoffice-writer (1:4.2.8-0ubuntu5) ...
Setting up libreoffice-pdfimport (1:4.2.8-0ubuntu5) ...
Setting up libreoffice-math (1:4.2.8-0ubuntu5) ...
Setting up python3-uno (1:4.2.8-0ubuntu5) ...
Setting up libreoffice-ogltrans (1:4.2.8-0ubuntu5) ...
Setting up openjdk-7-jre-headless:amd64 (7u121-2.6.8-1ubuntu0.14.04.3) ...
Installing new version of config file /etc/java-7-openjdk/security/java.security ...
Installing new version of config file /etc/java-7-openjdk/net.properties ...
Setting up openjdk-7-jre:amd64 (7u121-2.6.8-1ubuntu0.14.04.3) ...
Setting up adobe-flashplugin (1:20170214.1-0ubuntu0.14.04.1) ...
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/mozilla/plugins/flashplugin-alternative.so (mozilla-flashplugin) in auto mode
Setting up adobe-flash-properties-gtk (1:20170214.1-0ubuntu0.14.04.1) ...
Setting up libreoffice-avmedia-backend-gstreamer (1:4.2.8-0ubuntu5) ...
Setting up libreoffice-presentation-minimizer (1:4.2.8-0ubuntu5) ...
Setting up liboxideqtcore0:amd64 (1.20.4-0ubuntu0.14.04.1) ...
Setting up liboxideqtquick0:amd64 (1.20.4-0ubuntu0.14.04.1) ...
Setting up liboxideqt-qmlplugin:amd64 (1.20.4-0ubuntu0.14.04.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Processing triggers for initramfs-tools (0.103ubuntu4.6) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-66-generic

gzip: stdout: No space left on device
E: mkinitramfs failure find 141 cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.4.0-66-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for libreoffice-common (1:4.2.8-0ubuntu5) ...
Errors were encountered while processing:
 linux-image-extra-4.4.0-66-generic
 linux-image-generic-lts-xenial
 linux-generic-lts-xenial
 linux-signed-image-4.4.0-66-generic
 linux-signed-image-generic-lts-xenial
 linux-signed-generic-lts-xenial
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: linux-image-extra-4.4.0-66-generic 4.4.0-66.87~14.04.1
ProcVersionSignature: Ubuntu 4.4.0-45.66~14.04.1-generic 4.4.21
Uname: Linux 4.4.0-45-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 2.14.1-0ubuntu3.23
Architecture: amd64
Date: Sat Mar 11 11:20:27 2017
DpkgHistoryLog:

DpkgTerminalLog:

ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-01-24 (411 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.7
 apt 1.0.1ubuntu2.17
SourcePackage: linux-lts-xenial
Title: package linux-image-extra-4.4.0-66-generic 4.4.0-66.87~14.04.1 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
Francis (francisquintallauzon) wrote :
Revision history for this message
B. Kernel (bravo-kernel) wrote :

Seems this error is user-caused (at least in my case) since I was able to perform a full in-vm release upgrade and solving this bug/error by:

1. Installing these pacakges:
sudo apt-get install linux-headers-4.4.0-63-generic --assume-yes
sudo apt-get install linux-image-4.4.0-63-generic --assume-yes
sudo apt-get install linux-image-extra-4.4.0-63-generic --assume-yes

2. Removing this directory:
sudo rm /etc/udev/rules.d/70-persistent-net.rules/ -rf

3. Only then starting do-release-upgrade

Removed my bug-count

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.