Public bug reported: After upgrading to Ubuntu 18.04, I got the error there was trouble with the package shim-signed and now I can't upgrade packages using 'sudo apt-get upgrade'.
ProblemType: Package DistroRelease: Ubuntu 18.04 Package: shim-signed 1.37~18.04.8+15+1552672080.a4a1fbe-0ubuntu2 ProcVersionSignature: Ubuntu 4.15.0-142.146-generic 4.15.18 Uname: Linux 4.15.0-142-generic x86_64 .proc.sys.kernel.moksbstate_disabled: Error: [Errno 2] No such file or directory: '/proc/sys/kernel/moksbstate_disabled' ApportVersion: 2.20.9-0ubuntu7.23 AptOrdering: NULL: ConfigurePending Architecture: amd64 BootEFIContents: fw grub.cfg grubx64.efi mmx64.efi shimx64.efi Date: Fri Apr 30 19:47:22 2021 DpkgTerminalLog: Setting up shim-signed (1.37~18.04.8+15+1552672080.a4a1fbe-0ubuntu2) ... Installing for x86_64-efi platform. grub-install: error: relocation 0x4 is not implemented yet. dpkg: error processing package shim-signed (--configure): installed shim-signed package post-installation script subprocess returned error exit status 1 EFIBootMgr: BootCurrent: 0000 Timeout: 0 seconds BootOrder: 0000,0001 Boot0000* ubuntu HD(1,GPT,903a2a31-68a0-4d11-a08a-78e8efbf6635,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi) Boot0001* UEFI: PM981 NVMe Samsung 256GB, Partition 1 HD(1,GPT,903a2a31-68a0-4d11-a08a-78e8efbf6635,0x800,0x100000)/File(EFI\Ubuntu\shimx64.efi)..BO EFITables: Apr 30 19:37:39 carlo-XPS-13-9370 kernel: efi: EFI v2.40 by American Megatrends Apr 30 19:37:39 carlo-XPS-13-9370 kernel: efi: ACPI=0x3f0c2000 ACPI 2.0=0x3f0c2000 SMBIOS=0xf0000 SMBIOS 3.0=0xf0020 ESRT=0x3fdc1698 MEMATTR=0x3c161298 Apr 30 19:37:39 carlo-XPS-13-9370 kernel: secureboot: Secure boot enabled Apr 30 19:37:39 carlo-XPS-13-9370 kernel: esrt: Reserving ESRT space from 0x000000003fdc1698 to 0x000000003fdc16d0. ErrorMessage: installed shim-signed package post-installation script subprocess returned error exit status 1 InstallationDate: Installed on 2019-06-12 (687 days ago) InstallationMedia: Ubuntu 16.04.6 LTS "Xenial Xerus" - Release amd64 (20190227) MokSBStateRT: 7 0 0 0 1 Python3Details: /usr/bin/python3.6, Python 3.6.13, python3-minimal, 3.6.7-1~18.04 PythonDetails: /usr/bin/python2.7, Python 2.7.17, python-minimal, 2.7.15~rc1-1 RelatedPackageVersions: dpkg 1.19.0.5ubuntu2.3 apt 1.6.13 SecureBoot: 6 0 0 0 1 SourcePackage: shim-signed Title: package shim-signed 1.37~18.04.8+15+1552672080.a4a1fbe-0ubuntu2 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 1 UpgradeStatus: Upgraded to bionic on 2021-04-30 (0 days ago) ** Affects: shim-signed (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package bionic third-party-packages -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1926798 Title: package shim-signed 1.37~18.04.8+15+1552672080.a4a1fbe-0ubuntu2 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1926798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs