[Bug 1972035] [NEW] installed grub-efi on bios install on upgrade from 21.10 to 22.04

Launchpad Bug Tracker 1972035 at bugs.launchpad.net
Mon May 9 14:04:09 UTC 2022


You have been subscribed to a public bug:

I have a weird use case where my old uefi macbook pro only works with
the aging nvidia 340 drivers when using a bios install. This is
necessary due to thermal problems with nouveau. after my most recent
upgrade to 22.04 from 21.10 i get this error:


Setting up grub-efi-amd64-signed (1.180+2.06-2ubuntu7) ...
mount: /var/lib/grub/esp: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.
dpkg: error processing package grub-efi-amd64-signed (--configure):
 installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
Processing triggers for man-db (2.10.2-1) ...
dpkg: dependency problems prevent processing triggers for shim-signed:
 shim-signed depends on grub-efi-amd64-signed | grub-efi-arm64-signed; however:
  Package grub-efi-amd64-signed is not configured yet.
  Package grub-efi-arm64-signed is not installed.

dpkg: error processing package shim-signed (--configure):
 dependency problems - leaving triggers unprocessed
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for libc-bin (2.35-0ubuntu3) ...
Errors were encountered while processing:
 grub-efi-amd64-signed
 shim-signed
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)


It appears that the installer mistakenly configured itself for efi mode and has installed the wrong grub which is not uninstallable. The system weirdly functions properly aside from this message after every system update.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-release-upgrader-core 1:22.04.10
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CrashReports:
 600:0:129:710361:2022-04-30 00:41:02.840038535 +0000:2022-05-06 20:53:00.766556933 +0000:/var/crash/grub-efi-amd64-signed.0.crash
 600:0:129:545317:2022-04-30 16:35:25.036099124 +0000:2022-04-30 16:35:24.920098211 +0000:/var/crash/shim-signed.0.crash
CurrentDesktop: i3
Date: Fri May  6 23:54:59 2022
InstallationDate: Installed on 2022-04-19 (17 days ago)
InstallationMedia: Ubuntu-Server 21.10 "Impish Indri" - Release amd64 (20211013)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-kitty
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: release-upgrade
UpgradeStatus: Upgraded to jammy on 2022-04-30 (6 days ago)
VarLogDistupgradeAptlog:
 Log time: 2022-04-30 00:47:45.133101
 Log time: 2022-04-30 00:47:52.012827
 Log time: 2022-04-30 00:48:42.091313

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade jammy uec-images
-- 
installed grub-efi on bios install on upgrade from 21.10 to 22.04
https://bugs.launchpad.net/bugs/1972035
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to grub2 in Ubuntu.



More information about the foundations-bugs mailing list