package shim-signed 1.40.3+15+1533136590.3beb971-0ubuntu1 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 1

Bug #1874533 reported by Pavel Petrovic
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
shim-signed (Ubuntu)
Confirmed
Undecided
Unassigned
ubiquity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I do not know. Just a fresh install on this completely clean machine. After the very first boot, just clicking through the Welcome to Ubuntu dialog and this bug comes up. And btw, the only way to install Ubuntu on this machine was in "save graphics" mode. Otherwise, it freezes completely during setup. What a surprise. Nvidia has never worked properly on Linux! :(

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: shim-signed 1.40.3+15+1533136590.3beb971-0ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.sys.kernel.moksbstate_disabled: Error: [Errno 2] No such file or directory: '/proc/sys/kernel/moksbstate_disabled'
ApportVersion: 2.20.11-0ubuntu27
AptOrdering:
 shim:amd64: Install
 shim-signed:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
BootEFIContents:
 BOOTX64.CSV
 grub.cfg
 grubx64.efi
 mmx64.efi
 shimx64.efi
CasperMD5CheckResult: skip
Date: Thu Apr 23 22:00:52 2020
EFITables:
 apr 23 22:10:12 mato kernel: efi: EFI v2.31 by American Megatrends
 apr 23 22:10:12 mato kernel: efi: ACPI=0xba5f0000 ACPI 2.0=0xba5f0000 ESRT=0xbced7998 SMBIOS=0xf0570 MPS=0xfd650
 apr 23 22:10:12 mato kernel: secureboot: Secure boot enabled
 apr 23 22:10:12 mato kernel: esrt: Reserving ESRT space from 0x00000000bced7998 to 0x00000000bced79d0.
 apr 23 22:10:12 mato kernel: secureboot: Secure boot enabled
ErrorMessage: installed shim-signed package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2020-04-23 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2
SecureBoot: 6 0 0 0 1
SourcePackage: shim-signed
Title: package shim-signed 1.40.3+15+1533136590.3beb971-0ubuntu1 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.04
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash nomodeset ---
InstallationDate: Installed on 2020-04-23 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
NonfreeKernelModules: nvidia_modeset nvidia wl
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Tags: focal ubiquity-20.04.15
Uname: Linux 5.4.0-26-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True

Revision history for this message
Pavel Petrovic (pavel-petrovic) wrote :
Revision history for this message
Julian Andres Klode (juliank) wrote :

The terminal log does not show anything about shim, unfortunately

Changed in shim-signed (Ubuntu):
status: New → Incomplete
Revision history for this message
Steve Langasek (vorlon) wrote :

Yes, it is likely that this is captured in the installer logs rather than in the apt term log, unfortunately.

Could you please run 'apport-collect -p ubiquity 1874533' from the live environment after you have hit this error, so that we can see what the installer logs say is the failure?

Steve Langasek (vorlon)
Changed in ubiquity (Ubuntu):
status: New → Incomplete
Revision history for this message
Pavel Petrovic (pavel-petrovic) wrote : Casper.txt

apport information

tags: added: apport-collected ubiquity-20.04.15
description: updated
Revision history for this message
Pavel Petrovic (pavel-petrovic) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Pavel Petrovic (pavel-petrovic) wrote : ProcEnviron.txt

apport information

Revision history for this message
Pavel Petrovic (pavel-petrovic) wrote : UbiquityPartman.txt

apport information

Revision history for this message
Pavel Petrovic (pavel-petrovic) wrote : UbiquitySyslog.txt

apport information

Revision history for this message
Pavel Petrovic (pavel-petrovic) wrote :

Thank you for your prompt reaction.
This happened only one time on the first boot.
Also, I had issues with the booting - I have installed on the SSD in UEFI as "something else" manually creating EFI partition 550 MB, swap 16GB and root partition 120GB, but when booting,
the message
"system bootorder not found initializing defaults creating boot entry boot0002 with label ubuntu for file \EFI\ubuntu\shimx64.efi"
was appearing when selecting UEFI system to boot, and then freezing.
There were also two (sadly identically named) "ubuntu" entries in the bios setup F8 boot entries list, out of which one of them sometimes worked, but not consistently, then I have tried to fiddle with the bios settings a little bit, finally being able to put that one of the two ubuntu entries on top of the boot list (although this bios setup is a bit unusual, because unless something else has also changed, it has not noticed the change of order - maybe because both are called "ubuntu", I do not know why they are two), anyway, finally reaching a situation that the system consistently boots without having to go through boot menu and does not produce this bug anymore. I have reported it because it appeared after a fresh install and the report dialog showed up.

Changed in ubiquity (Ubuntu):
status: Incomplete → New
Changed in shim-signed (Ubuntu):
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in shim-signed (Ubuntu):
status: New → Confirmed
Changed in ubiquity (Ubuntu):
status: New → Confirmed
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.