Why do you say it has something to do with livepatch? This is the error from the log:
awk: symbol lookup error: /usr/local/lib/libreadline.so.7: undefined symbol: UP This looks like a problem with the libreadline library, but since the library being used is in /usr/local/lib it looks like something you have installed manually, not something from an Ubuntu package. I'd suggest uninstalling the library and trying the update again. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-firmware in Ubuntu. https://bugs.launchpad.net/bugs/1774484 Title: package linux-firmware 1.173.1 failed to install/upgrade: installed linux-firmware package post-installation script subprocess returned error exit status 127 Status in linux-firmware package in Ubuntu: New Bug description: The failure has something to do with live patch 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: Tue May 29 09:03:40 2018 Dependencies: DuplicateSignature: package:linux-firmware:1.173.1 Setting up linux-firmware (1.173.1) ... awk: symbol lookup error: /usr/local/lib/libreadline.so.7: undefined symbol: UP dpkg: error processing package linux-firmware (--configure): installed linux-firmware package post-installation script subprocess returned error exit status 127 ErrorMessage: installed linux-firmware package post-installation script subprocess returned error exit status 127 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 127 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1774484/+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