package linux-image-4.15.0-24-generic 4.15.0-24.26 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Running apt -V dist-upgrade suddenly failed and printed:
W: APT had planned for dpkg to do more than it reported back (22 vs 26). Affected packages: linux-image-
I do not know what happened; I tried to run apt -V dist-upgrade one more time; this time it succeeded. Then I tried dpkg --configure -a which printed nothing so I assume everything went okay.
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-23-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
Date: Wed Jul 4 08:52:33 2018
Df:
Dmesg:
ErrorMessage: run-parts: /etc/kernel/
HibernationDevice: RESUME=
InstallationDate: Installed on 2016-09-05 (666 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 138a:0090 Validity Sensors, Inc.
Bus 001 Device 002: ID 04ca:7058 Lite-On Technology Corp.
Bus 001 Device 004: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 20EN0005MS
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
SourcePackage: initramfs-tools
Title: package linux-image-
UpgradeStatus: Upgraded to bionic on 2018-03-13 (112 days ago)
dmi.bios.date: 03/28/2018
dmi.bios.vendor: LENOVO
dmi.bios.version: N1EET77W (1.50 )
dmi.board.
dmi.board.name: 20EN0005MS
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40705 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad P50
dmi.product.name: 20EN0005MS
dmi.product.
dmi.sys.vendor: LENOVO
tags: | removed: need-duplicate-check |
Processing triggers for initramfs-tools (0.130ubuntu3.1) ... img-4.15. 0-23-generic 4.15.0- 24-generic (4.15.0-24.26) ... postinst. d/initramfs- tools: img-4.15. 0-24-generic initramfs- tools/hooks/ framebuffer: 141: /usr/share/ initramfs- tools/hooks/ framebuffer: Cannot fork initramfs- tools/hooks/ framebuffer: 65: /usr/share/ initramfs- tools/hooks/ framebuffer: Cannot fork initramfs- tools/hooks/ framebuffer failed with return 2. mkinitramfs: 181: /usr/sbin/ mkinitramfs: Cannot fork update- initramfs: 165: /usr/sbin/ update- initramfs: Cannot fork postinst. d/initramfs- tools exited with return code 2 4.15.0- 24-generic (--configure): 4.15.0- 24-generic package post-installation script subprocess returned error exit status 1
update-initramfs: Generating /boot/initrd.
Processing triggers for linux-image-
/etc/kernel/
update-initramfs: Generating /boot/initrd.
/usr/share/
/usr/share/
E: /usr/share/
/usr/sbin/
/usr/sbin/
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
installed linux-image-