[Bug 1986480] Re: package linux-firmware 1.187.33 failed to install/upgrade: installed linux-firmware package post-installation script subprocess returned error exit status 1

Benjamin Drung 1986480 at bugs.launchpad.net
Mon Aug 14 18:20:16 UTC 2023


*** This bug is a duplicate of bug 798414 ***
    https://bugs.launchpad.net/bugs/798414

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.

** This bug has been marked a duplicate of bug 798414
   update-initramfs should produce a more helpful error message when there isn't enough  free space--or provide an automatic tool for removal of old files

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1986480

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

Status in initramfs-tools package in Ubuntu:
  New

Bug description:
  Terminal copy;

  (1) 	david at FPA-Admin2:~$ lsb_release -rd
  	Description:	Ubuntu 20.04.4 LTS
  	Release:	20.04

  (2)	david at FPA-Admin2:~$ apt-cache policy pkgname
  	N: Unable to locate package pkgname

  (3)	What I expected was; the update to complete successfully
  (4)	What happened instead was; it failed  

  Terminal Log follows:

  David at FPA-Admin2:~$ sudo apt update
  [sudo] password for david: 
  Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
  Hit:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease              
  Hit:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease            
  Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease               
  Hit:5 http://archive.canonical.com/ubuntu focal InRelease
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  12 packages can be upgraded. Run 'apt list --upgradable' to see them.
  david at FPA-Admin2:~$ sudo apt upgrade
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Calculating upgrade... Done
  The following NEW packages will be installed:
    linux-headers-5.15.0-46-generic linux-hwe-5.15-headers-5.15.0-46
    linux-image-5.15.0-46-generic linux-modules-5.15.0-46-generic
    linux-modules-extra-5.15.0-46-generic
  The following packages will be upgraded:
    isc-dhcp-client isc-dhcp-common libnetplan0 linux-firmware
    linux-generic-hwe-20.04 linux-headers-generic-hwe-20.04
    linux-image-generic-hwe-20.04 linux-libc-dev netplan.io unattended-upgrades
    update-notifier update-notifier-common
  12 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
  4 standard security updates
  Need to get 231 MB of archives.
  After this operation, 586 MB of additional disk space will be used.
  Do you want to continue? [Y/n] y
  Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 update-notifier amd64 3.192.30.11 [56.6 kB]
  Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 update-notifier-common all 3.192.30.11 [133 kB]
  Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 isc-dhcp-client amd64 4.4.1-2.1ubuntu5.20.04.3 [246 kB]
  Get:4 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 isc-dhcp-common amd64 4.4.1-2.1ubuntu5.20.04.3 [44.9 kB]
  Get:5 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 netplan.io amd64 0.104-0ubuntu2~20.04.2 [88.0 kB]
  Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libnetplan0 amd64 0.104-0ubuntu2~20.04.2 [82.5 kB]
  Get:7 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-firmware all 1.187.33 [125 MB]
  Get:8 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-5.15.0-46-generic amd64 5.15.0-46.49~20.04.1 [20.5 MB]
  Get:9 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-5.15.0-46-generic amd64 5.15.0-46.49~20.04.1 [11.3 MB]
  Get:10 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-extra-5.15.0-46-generic amd64 5.15.0-46.49~20.04.1 [57.8 MB]
  Get:11 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-generic-hwe-20.04 amd64 5.15.0.46.49~20.04.16 [1,928 B]
  Get:12 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-generic-hwe-20.04 amd64 5.15.0.46.49~20.04.16 [2,700 B]
  Get:13 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-hwe-5.15-headers-5.15.0-46 all 5.15.0-46.49~20.04.1 [12.0 MB]
  Get:14 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.15.0-46-generic amd64 5.15.0-46.49~20.04.1 [2,776 kB]
  Get:15 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-generic-hwe-20.04 amd64 5.15.0.46.49~20.04.16 [2,592 B]
  Get:16 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-libc-dev amd64 5.4.0-124.140 [1,104 kB]
  Get:17 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 unattended-upgrades all 2.3ubuntu0.3 [48.5 kB]
  Fetched 231 MB in 44s (5,289 kB/s)                                             
  Requesting to save current system state
  ERROR couldn't save system state: Minimum free space to take a snapshot and preserve ZFS performance is 20%.
  Free space on pool "bpool" is 13%.
  Please remove some states manually to free up space. 
  Preconfiguring packages ...
  (Reading database ... 190357 files and directories currently installed.)
  Preparing to unpack .../00-update-notifier_3.192.30.11_amd64.deb ...
  Unpacking update-notifier (3.192.30.11) over (3.192.30.10) ...
  Preparing to unpack .../01-update-notifier-common_3.192.30.11_all.deb ...
  Unpacking update-notifier-common (3.192.30.11) over (3.192.30.10) ...
  Preparing to unpack .../02-isc-dhcp-client_4.4.1-2.1ubuntu5.20.04.3_amd64.deb ..
  .
  Unpacking isc-dhcp-client (4.4.1-2.1ubuntu5.20.04.3) over (4.4.1-2.1ubuntu5.20.0
  4.2) ...
  Preparing to unpack .../03-isc-dhcp-common_4.4.1-2.1ubuntu5.20.04.3_amd64.deb ..
  .
  Unpacking isc-dhcp-common (4.4.1-2.1ubuntu5.20.04.3) over (4.4.1-2.1ubuntu5.20.0
  4.2) ...
  Preparing to unpack .../04-netplan.io_0.104-0ubuntu2~20.04.2_amd64.deb ...
  Unpacking netplan.io (0.104-0ubuntu2~20.04.2) over (0.104-0ubuntu2~20.04.1) ...
  Preparing to unpack .../05-libnetplan0_0.104-0ubuntu2~20.04.2_amd64.deb ...
  Unpacking libnetplan0:amd64 (0.104-0ubuntu2~20.04.2) over (0.104-0ubuntu2~20.04.
  1) ...
  Preparing to unpack .../06-linux-firmware_1.187.33_all.deb ...
  Unpacking linux-firmware (1.187.33) over (1.187.31) ...
  Selecting previously unselected package linux-modules-5.15.0-46-generic.
  Preparing to unpack .../07-linux-modules-5.15.0-46-generic_5.15.0-46.49~20.04.1_
  amd64.deb ...
  Unpacking linux-modules-5.15.0-46-generic (5.15.0-46.49~20.04.1) ...
  Selecting previously unselected package linux-image-5.15.0-46-generic.
  Preparing to unpack .../08-linux-image-5.15.0-46-generic_5.15.0-46.49~20.04.1_am
  d64.deb ...
  Unpacking linux-image-5.15.0-46-generic (5.15.0-46.49~20.04.1) ...
  Selecting previously unselected package linux-modules-extra-5.15.0-46-generic.
  Preparing to unpack .../09-linux-modules-extra-5.15.0-46-generic_5.15.0-46.49~20
  .04.1_amd64.deb ...
  Unpacking linux-modules-extra-5.15.0-46-generic (5.15.0-46.49~20.04.1) ...
  Preparing to unpack .../10-linux-generic-hwe-20.04_5.15.0.46.49~20.04.16_amd64.d
  eb ...
  Unpacking linux-generic-hwe-20.04 (5.15.0.46.49~20.04.16) over (5.15.0.43.46~20.
  04.14) ...
  Preparing to unpack .../11-linux-image-generic-hwe-20.04_5.15.0.46.49~20.04.16_a
  md64.deb ...
  Unpacking linux-image-generic-hwe-20.04 (5.15.0.46.49~20.04.16) over (5.15.0.43.
  46~20.04.14) ...
  Selecting previously unselected package linux-hwe-5.15-headers-5.15.0-46.
  Preparing to unpack .../12-linux-hwe-5.15-headers-5.15.0-46_5.15.0-46.49~20.04.1
  _all.deb ...
  Unpacking linux-hwe-5.15-headers-5.15.0-46 (5.15.0-46.49~20.04.1) ...
  Selecting previously unselected package linux-headers-5.15.0-46-generic.
  Preparing to unpack .../13-linux-headers-5.15.0-46-generic_5.15.0-46.49~20.04.1_
  amd64.deb ...
  Unpacking linux-headers-5.15.0-46-generic (5.15.0-46.49~20.04.1) ...
  Preparing to unpack .../14-linux-headers-generic-hwe-20.04_5.15.0.46.49~20.04.16
  _amd64.deb ...
  Unpacking linux-headers-generic-hwe-20.04 (5.15.0.46.49~20.04.16) over (5.15.0.4
  3.46~20.04.14) ...
  Preparing to unpack .../15-linux-libc-dev_5.4.0-124.140_amd64.deb ...
  Unpacking linux-libc-dev:amd64 (5.4.0-124.140) over (5.4.0-122.138) ...
  Preparing to unpack .../16-unattended-upgrades_2.3ubuntu0.3_all.deb ...
  Unpacking unattended-upgrades (2.3ubuntu0.3) over (2.3ubuntu0.1) ...
  Setting up linux-firmware (1.187.33) ...
  update-initramfs: Generating /boot/initrd.img-5.15.0-43-generic
  I: The initramfs will attempt to resume from /dev/sda5
  I: (UUID=e5ef33ae-e6f2-487a-bb93-d3e1cc1d7861)
  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-43-generic with 1.
  dpkg: error processing package linux-firmware (--configure):
   installed linux-firmware package post-installation script subprocess returned e
  rror exit status 1
  Setting up update-notifier-common (3.192.30.11) ...
  Setting up linux-hwe-5.15-headers-5.15.0-46 (5.15.0-46.49~20.04.1) ...
  Setting up linux-libc-dev:amd64 (5.4.0-124.140) ...
  Setting up isc-dhcp-client (4.4.1-2.1ubuntu5.20.04.3) ...
  Installing new version of config file /etc/apparmor.d/sbin.dhclient ...
  Setting up libnetplan0:amd64 (0.104-0ubuntu2~20.04.2) ...
  Setting up netplan.io (0.104-0ubuntu2~20.04.2) ...
  Setting up unattended-upgrades (2.3ubuntu0.3) ...
  Installing new version of config file /etc/kernel/postinst.d/unattended-upgrades
   ...
  Setting up linux-headers-5.15.0-46-generic (5.15.0-46.49~20.04.1) ...
  Setting up isc-dhcp-common (4.4.1-2.1ubuntu5.20.04.3) ...
  Setting up update-notifier (3.192.30.11) ...
  dpkg: dependency problems prevent configuration of linux-image-generic-hwe-20.04
  :
   linux-image-generic-hwe-20.04 depends on linux-firmware; however:
    Package linux-firmware is not configured yet.

  dpkg: error processing package linux-image-generic-hwe-20.04 (--configure):
   dependency problems - leaving unconfigured
  No apport report written because the error message indicates its a followup erro
  r from a previous failure.
                            Setting up linux-headers-generic-hwe-20.04 (5.15.0.46.
  49~20.04.16) ...
  dpkg: dependency problems prevent configuration of linux-generic-hwe-20.04:
   linux-generic-hwe-20.04 depends on linux-image-generic-hwe-20.04 (= 5.15.0.46.4
  9~20.04.16); however:
    Package linux-image-generic-hwe-20.04 is not configured yet.

                            Setting up linux-image-5.15.0-46-generic (5.15.0-46.49
  ~20.04.1) ...
  dpkg: error processing package linux-generic-hwe-20.04 (--configure):
   dependency problems - leaving unconfigured
  No apport report written because the error message indicates its a followup erro
  r from a previous failure.
  I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.15.0-43-generic
  I: /boot/initrd.img.old is now a symlink to initrd.img-5.15.0-43-generic
  I: /boot/vmlinuz is now a symlink to vmlinuz-5.15.0-46-generic
  I: /boot/initrd.img is now a symlink to initrd.img-5.15.0-46-generic
  Setting up linux-modules-5.15.0-46-generic (5.15.0-46.49~20.04.1) ...
  Setting up linux-modules-extra-5.15.0-46-generic (5.15.0-46.49~20.04.1) ...
  Processing triggers for libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.4) ...
  Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
  Processing triggers for systemd (245.4-4ubuntu3.17) ...
  Processing triggers for man-db (2.9.1-1) ...
  Processing triggers for dbus (1.12.16-2ubuntu2.2) ...
  Processing triggers for hicolor-icon-theme (0.17-2) ...
  Processing triggers for linux-image-5.15.0-46-generic (5.15.0-46.49~20.04.1) ...
  /etc/kernel/postinst.d/initramfs-tools:
  update-initramfs: Generating /boot/initrd.img-5.15.0-46-generic
  I: The initramfs will attempt to resume from /dev/sda5
  I: (UUID=e5ef33ae-e6f2-487a-bb93-d3e1cc1d7861)
  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-46-generic with 1.
  run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  dpkg: error processing package linux-image-5.15.0-46-generic (--configure):
   installed linux-image-5.15.0-46-generic package post-installation script subpro
  cess returned error exit status 1
  No apport report written because MaxReports is reached already
                                                                Errors were encoun
  tered while processing:
   linux-firmware
   linux-image-generic-hwe-20.04
   linux-generic-hwe-20.04
   linux-image-5.15.0-46-generic
  ZSys is adding automatic system snapshot to GRUB menu
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 20.04
  Package: linux-firmware 1.187.33
  ProcVersionSignature: Ubuntu 5.15.0-43.46~20.04.1-generic 5.15.39
  Uname: Linux 5.15.0-43-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu27.24
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  david     14759 F.... pulseaudio
  CasperMD5CheckResult: skip
  Date: Sun Aug 14 16:07:51 2022
  Dependencies:
   
  ErrorMessage: installed linux-firmware package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2020-06-14 (791 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  MachineType: LENOVO 4480B5U
  PackageArchitecture: all
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_e752dx@/vmlinuz-5.15.0-43-generic root=ZFS=rpool/ROOT/ubuntu_e752dx ro quiet splash vt.handoff=1
  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.15
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: initramfs-tools
  Title: package linux-firmware 1.187.33 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: 06/10/2014
  dmi.bios.release: 0.58
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 9HKT58AUS
  dmi.board.vendor: LENOVO
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnLENOVO:bvr9HKT58AUS:bd06/10/2014:br0.58:svnLENOVO:pn4480B5U:pvrThinkCentreM91p:rvnLENOVO:rn:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:skuTobefilledbyO.E.M.:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: 4480B5U
  dmi.product.sku: To be filled by O.E.M.
  dmi.product.version: ThinkCentre M91p
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1986480/+subscriptions




More information about the foundations-bugs mailing list