This is almost certainly related to the hung task messages in dmesg. Changing this bug to be against the kernel.
** Package changed: linux-firmware (Ubuntu) => linux (Ubuntu) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1774165 Title: package linux-firmware 1.173.1 failed to install/upgrade: installed linux-firmware package post-installation script subprocess returned error exit status 143 Status in linux package in Ubuntu: Confirmed Bug description: While running casual apt upgrade of 18.04 LTS, the process got stuck in >> update-initramfs: Generating /boot/initrd.img-4.15.0-22-generic I had to kill update-initramfs process by hand to continue /usr/bin/dpkg --status-fd 50 --configure --pending /bin/sh /var/lib/dpkg/info/linux-firmware.postinst configure 1.173 \_ /bin/sh /usr/sbin/update-initramfs -u -k all \_ /bin/sh /usr/sbin/update-initramfs -u -k 4.15.0-22-generic -b /boot -t \_ sync Setting up linux-firmware (1.173.1) ... update-initramfs: Generating /boot/initrd.img-4.15.0-22-generic Terminated dpkg: error processing package linux-firmware (--configure): installed linux-firmware package post-installation script subprocess returned error exit status 143 Setting up ssh-import-id (5.7-0ubuntu1.1) ... Setting up python3-distupgrade (1:18.04.18) ... Setting up software-properties-common (0.96.24.32.3) ... Setting up nautilus-extension-gnome-terminal (3.28.1-1ubuntu1.1) ... Setting up ubuntu-release-upgrader-core (1:18.04.18) ... Setting up software-properties-gtk (0.96.24.32.3) ... Setting up ubuntu-release-upgrader-gtk (1:18.04.18) ... Errors were encountered while processing: linux-firmware E: Sub-process /usr/bin/dpkg returned an error code (1) W: Operation was interrupted before it could finish ProblemType: Package DistroRelease: Ubuntu 18.04 Package: linux-firmware 1.173.1 ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17 Uname: Linux 4.15.0-22-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 Date: Wed May 30 13:13:22 2018 Dependencies: ErrorMessage: installed linux-firmware package post-installation script subprocess returned error exit status 143 InstallationDate: Installed on 2018-05-23 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) PackageArchitecture: all Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3 PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1 RelatedPackageVersions: dpkg 1.19.0.5ubuntu2 apt 1.6.1 SourcePackage: linux-firmware Title: package linux-firmware 1.173.1 failed to install/upgrade: installed linux-firmware package post-installation script subprocess returned error exit status 143 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1774165/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp