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

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

Bug Description

I don't know.. I have no idea.. you've made this too difficult for average users (non technical people) and it isn't fair. Something is failing on my system related to installing linux-firmware and that sounds bad. Now I (a regular person) have to drop everything and try to figure it out? Maybe if I don't give you what you want here in this further information section I don't get help or the thing to be fixed?

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: linux-firmware 1.187.36
ProcVersionSignature: Ubuntu 5.15.0-60.66~20.04.1-generic 5.15.78
Uname: Linux 5.15.0-60-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.25
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: gdm 1641 F.... pulseaudio
                      jake 2452 F.... pulseaudio
CasperMD5CheckResult: skip
Date: Tue Feb 21 23:29:18 2023
Dependencies:

ErrorMessage: installed linux-firmware package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2021-04-05 (687 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
MachineType: HP HP ENVY Laptop 17-cg1xxx
PackageArchitecture: all
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-60-generic root=/dev/mapper/vgubuntu-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.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions: grub-pc 2.04-1ubuntu26.16
SourcePackage: initramfs-tools
Title: package linux-firmware 1.187.36 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)
dmi.bios.date: 02/17/2021
dmi.bios.release: 15.12
dmi.bios.vendor: Insyde
dmi.bios.version: F.12
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 8823
dmi.board.vendor: HP
dmi.board.version: 49.36
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 49.36
dmi.modalias: dmi:bvnInsyde:bvrF.12:bd02/17/2021:br15.12:efr49.36:svnHP:pnHPENVYLaptop17-cg1xxx:pvrType1ProductConfigId:rvnHP:rn8823:rvr49.36:cvnHP:ct10:cvrChassisVersion:sku19S92AV:
dmi.product.family: 103C_5335KV HP Envy
dmi.product.name: HP ENVY Laptop 17-cg1xxx
dmi.product.sku: 19S92AV
dmi.product.version: Type1ProductConfigId
dmi.sys.vendor: HP

Revision history for this message
jfines (blahboybaz) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
Revision history for this message
Seth Arnold (seth-arnold) wrote :

These look like the important errors:

update-initramfs: Generating /boot/initrd.img-5.15.0-60-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgubuntu-swap_1)
I: Set the RESUME variable to override this.
Error 24 : Write error : cannot write compressed block
E: mkinitramfs failure cpio 141 lz4 -9 -l 24
update-initramfs: failed for /boot/initrd.img-5.15.0-60-generic with 1.

These kinds of messages usually mean your /boot is full. And your Df.txt confirms this:

/dev/nvme0n1p2 719936 550688 116784 83% /boot

try: sudo apt autoremove

that might help, it might not. If it doesn't help, the easiest thing to do is to *truncate* old kernels and initrds from /boot. 'sudo truncate -s0 /boot/....' preferably of the old versions that you're not actively running at the moment. Be careful, this could make the system fail to boot in the future if you truncate too many things, mismatched things, etc.

Once done, try: sudo apt install -f

You could also ask for help on https://askubuntu.com/ or irc #ubuntu irc.libera.chat.

Thanks

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.