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

Bug #1900335 reported by Johannes Kloos
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
yubikey-luks (Ubuntu)
New
Undecided
Unassigned

Bug Description

This happened during an upgrade from Ubuntu LTS 18.04 to 20.04. A `dpkg --configure -a` afterwards worked without trouble - bad interaction of install scripts?

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: linux-firmware 1.187.3
ProcVersionSignature: Ubuntu 5.4.0-51.56-generic 5.4.65
Uname: Linux 5.4.0-51-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jkloos 1861 F.... pulseaudio
CasperMD5CheckResult: skip
Date: Sun Oct 18 15:31:24 2020
Dependencies:

ErrorMessage: installed linux-firmware package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2020-03-02 (230 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
MachineType: Dell Inc. XPS 13 7390
PackageArchitecture: all
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-51-generic 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.
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageVersions: grub-pc 2.04-1ubuntu26.4
SourcePackage: initramfs-tools
Title: package linux-firmware 1.187.3 failed to install/upgrade: installed linux-firmware package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to focal on 2020-10-18 (0 days ago)
dmi.bios.date: 07/07/2020
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.6.0
dmi.board.name: 0G2D0W
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.6.0:bd07/07/2020:svnDellInc.:pnXPS137390:pvr:rvnDellInc.:rn0G2D0W:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: XPS
dmi.product.name: XPS 13 7390
dmi.product.sku: 0962
dmi.sys.vendor: Dell Inc.

Revision history for this message
Johannes Kloos (johanneskloos) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Tom Reynolds (tomreyn) wrote :

Relevant lines from DpkgTerminalLog.txt:

Setting up linux-firmware (1.187.3) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-51-generic
[..]
cp: cannot stat '/etc/ykluks.cfg': No such file or directory
E: /usr/share/initramfs-tools/hooks/yubikey-luks failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.4.0-51-generic with 1.
dpkg: error processing package linux-firmware (--configure):
 installed linux-firmware package post-installation script subprocess returned error exit status 1

You have yubikey-luks installed, which hooks into update-initramfs and attempts to load a configuration file /etc/ykluks.cfg - which does not exist. As a result, the hook, update-initramfs, and configuring the linux-firmware package (which triggers an update-initramfs) fail.

This is probably a configuration issue. It could also *possibly* be a bug in yubikey-luks (*may* want to just warn if this configuration file is missing), so I'm reassigning to that for now.

Note that yubikey-luks is in universe, so community maintained.

affects: initramfs-tools (Ubuntu) → yubikey-luks (Ubuntu)
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.