package linux-firmware 1.187.3 failed to install/upgrade: installed linux-firmware package post-installation script subprocess returned error exit status 1
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
ProcVersionSign
Uname: Linux 5.4.0-51-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CasperMD5CheckR
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
PackageArchitec
ProcFB: 0 i915drmfb
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.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
RelatedPackageV
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.
dmi.product.family: XPS
dmi.product.name: XPS 13 7390
dmi.product.sku: 0962
dmi.sys.vendor: Dell Inc.
tags: | removed: need-duplicate-check |
Relevant lines from DpkgTerminalLog .txt:
Setting up linux-firmware (1.187.3) ... img-5.4. 0-51-generic initramfs- tools/hooks/ yubikey- luks failed with return 1. img-5.4. 0-51-generic with 1.
update-initramfs: Generating /boot/initrd.
[..]
cp: cannot stat '/etc/ykluks.cfg': No such file or directory
E: /usr/share/
update-initramfs: failed for /boot/initrd.
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.