package linux-image-extra-4.4.0-130-generic 4.4.0-130.156 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1

Bug #1799629 reported by FARAZ ALAM
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

alam@alam:~$ sudo apt-get -f install linux-image-4.4.0-135-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools
  linux-headers-4.4.0-135-generic
The following packages will be REMOVED:
  linux-image-extra-4.4.0-128-generic linux-image-extra-4.4.0-130-generic
The following NEW packages will be installed:
  linux-image-4.4.0-135-generic
0 upgraded, 1 newly installed, 2 to remove and 312 not upgraded.
18 not fully installed or removed.
Need to get 0 B/22.1 MB of archives.
After this operation, 244 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 445898 files and directories currently installed.)
Removing linux-image-extra-4.4.0-128-generic (4.4.0-128.154) ...
depmod: FATAL: could not load /boot/System.map-4.4.0-128-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-128-generic /boot/vmlinuz-4.4.0-128-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-128-generic /boot/vmlinuz-4.4.0-128-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-128-generic
WARNING: missing /lib/modules/4.4.0-128-generic
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/4.4.0-128-generic: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_gCUcDz/lib/modules/4.4.0-128-generic/modules.order: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_gCUcDz/lib/modules/4.4.0-128-generic/modules.builtin: No such file or directory
xz: (stdout): Write error: No space left on device
E: mkinitramfs failure cpio 141 xz --check=crc32 1
update-initramfs: failed for /boot/initrd.img-4.4.0-128-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-128-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
Removing linux-image-extra-4.4.0-130-generic (4.4.0-130.156) ...
depmod: FATAL: could not load /boot/System.map-4.4.0-130-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-130-generic
WARNING: missing /lib/modules/4.4.0-130-generic
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/4.4.0-130-generic: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_rpJGqk/lib/modules/4.4.0-130-generic/modules.order: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_rpJGqk/lib/modules/4.4.0-130-generic/modules.builtin: No such file or directory
xz: (stdout): Write error: No space left on device
E: mkinitramfs failure cpio 141 xz --check=crc32 1
update-initramfs: failed for /boot/initrd.img-4.4.0-130-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-130-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 linux-image-extra-4.4.0-128-generic
 linux-image-extra-4.4.0-130-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
alam@alam:~$

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: linux-image-extra-4.4.0-130-generic 4.4.0-130.156
ProcVersionSignature: Ubuntu 4.13.0-41.46~16.04.1-generic 4.13.16
Uname: Linux 4.13.0-41-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: alam 2744 F.... pulseaudio
Date: Wed Oct 24 11:03:03 2018
DpkgHistoryLog:
 Start-Date: 2018-10-24 11:02:40
 Commandline: apt-get -f install linux-image-4.4.0-135-generic
 Requested-By: alam (1000)
 Install: linux-image-4.4.0-135-generic:amd64 (4.4.0-135.161)
 Remove: linux-image-extra-4.4.0-130-generic:amd64 (4.4.0-130.156), linux-image-extra-4.4.0-128-generic:amd64 (4.4.0-128.154)
ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
HibernationDevice: RESUME=UUID=decee405-14ed-4595-a0e1-1ba1c869eb9c
InstallationDate: Installed on 2018-03-06 (231 days ago)
InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
MachineType: HP HP ProBook 640 G2
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-41-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions: grub-pc N/A
SourcePackage: initramfs-tools
Title: package linux-image-extra-4.4.0-130-generic 4.4.0-130.156 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/22/2016
dmi.bios.vendor: HP
dmi.bios.version: N76 Ver. 01.04
dmi.board.name: 80FD
dmi.board.vendor: HP
dmi.board.version: KBC Version 22.39
dmi.chassis.asset.tag: 5CG646451J
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.modalias: dmi:bvnHP:bvrN76Ver.01.04:bd07/22/2016:svnHP:pnHPProBook640G2:pvr:rvnHP:rn80FD:rvrKBCVersion22.39:cvnHP:ct10:cvr:
dmi.product.family: 103C_5336AN G=N L=BUS B=HP S=PRO
dmi.product.name: HP ProBook 640 G2
dmi.sys.vendor: HP

Revision history for this message
FARAZ ALAM (farazalam030) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
Benjamin Drung (bdrung) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 798414, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

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.