package linux-firmware 1.183.5 failed to install/upgrade: installed linux-firmware package post-installation script subprocess returned error exit status 1

Bug #1870251 reported by Stefan Reinauer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

~$ sudo apt upgrade
[sudo] password for stepan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  google-chrome-stable kmod libkmod2 libvirt0 linux-firmware python-keyring python3-keyring
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 148 MB of archives.
After this operation, 7,168 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu eoan-updates/main amd64 kmod amd64 26-1ubuntu1.1 [92.0 kB]
Get:2 http://dl.google.com/linux/chrome/deb stable/main amd64 google-chrome-stable amd64 80.0.3987.162-1 [63.5 MB]
Get:3 http://us.archive.ubuntu.com/ubuntu eoan-updates/main amd64 libkmod2 amd64 26-1ubuntu1.1 [43.0 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu eoan-updates/main amd64 libvirt0 amd64 5.4.0-0ubuntu5.2 [1,492 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu eoan-updates/main amd64 linux-firmware all 1.183.5 [83.1 MB]
Get:6 http://us.archive.ubuntu.com/ubuntu eoan-updates/universe amd64 python-keyring all 18.0.1-1ubuntu1 [32.9 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu eoan-updates/main amd64 python3-keyring all 18.0.1-1ubuntu1 [28.6 kB]
Fetched 148 MB in 4s (35.5 MB/s)
(Reading database ... 271826 files and directories currently installed.)
Preparing to unpack .../0-kmod_26-1ubuntu1.1_amd64.deb ...
Unpacking kmod (26-1ubuntu1.1) over (26-1ubuntu1) ...
Preparing to unpack .../1-libkmod2_26-1ubuntu1.1_amd64.deb ...
Unpacking libkmod2:amd64 (26-1ubuntu1.1) over (26-1ubuntu1) ...
Preparing to unpack .../2-google-chrome-stable_80.0.3987.162-1_amd64.deb ...
Unpacking google-chrome-stable (80.0.3987.162-1) over (80.0.3987.149-1) ...
Preparing to unpack .../3-libvirt0_5.4.0-0ubuntu5.2_amd64.deb ...
Unpacking libvirt0:amd64 (5.4.0-0ubuntu5.2) over (5.4.0-0ubuntu5.1) ...
Preparing to unpack .../4-linux-firmware_1.183.5_all.deb ...
Unpacking linux-firmware (1.183.5) over (1.183.4) ...
Preparing to unpack .../5-python-keyring_18.0.1-1ubuntu1_all.deb ...
Unpacking python-keyring (18.0.1-1ubuntu1) over (18.0.1-1) ...
Preparing to unpack .../6-python3-keyring_18.0.1-1ubuntu1_all.deb ...
Unpacking python3-keyring (18.0.1-1ubuntu1) over (18.0.1-1) ...
Setting up google-chrome-stable (80.0.3987.162-1) ...
Setting up linux-firmware (1.183.5) ...
update-initramfs: Generating /boot/initrd.img-5.3.0-42-generic
E: /usr/share/initramfs-tools/hooks/kbd failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.3.0-42-generic with 1.
dpkg: error processing package linux-firmware (--configure):
 installed linux-firmware package post-installation script subprocess returned error exit status 1
Setting up python-keyring (18.0.1-1ubuntu1) ...
Setting up libvirt0:amd64 (5.4.0-0ubuntu5.2) ...
Setting up python3-keyring (18.0.1-1ubuntu1) ...
Setting up libkmod2:amd64 (26-1ubuntu1.1) ...
Setting up kmod (26-1ubuntu1.1) ...
Setting up linux-image-5.3.0-45-generic (5.3.0-45.37) ...
Processing triggers for man-db (2.8.7-3) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu1) ...
Processing triggers for mime-support (3.63ubuntu1) ...
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for libc-bin (2.30-0ubuntu2.1) ...
/sbin/ldconfig.real: /lib/libcapsimage.so.5 is not a symbolic link

Processing triggers for systemd (242-7ubuntu3.7) ...
Processing triggers for linux-image-5.3.0-45-generic (5.3.0-45.37) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.3.0-45-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.3.0-45-generic
E: /usr/share/initramfs-tools/hooks/kbd failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.3.0-45-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.3.0-45-generic (--configure):
 installed linux-image-5.3.0-45-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-firmware
 linux-image-5.3.0-45-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 19.10
Package: linux-firmware 1.183.5
ProcVersionSignature: Ubuntu 5.3.0-42.34-generic 5.3.18
Uname: Linux 5.3.0-42-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu8.7
Architecture: amd64
Date: Wed Apr 1 17:35:05 2020
Dependencies:

ErrorMessage: installed linux-firmware package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2019-11-17 (136 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
PackageArchitecture: all
Python3Details: /usr/bin/python3.7, Python 3.7.5, python3-minimal, 3.7.5-1
PythonDetails: /usr/bin/python2.7, Python 2.7.17, python-minimal, 2.7.17-1
RelatedPackageVersions:
 dpkg 1.19.7ubuntu2
 apt 1.9.4
SourcePackage: initramfs-tools
Title: package linux-firmware 1.183.5 failed to install/upgrade: installed linux-firmware package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Stefan Reinauer (stefanreinauer) wrote :
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.