DPKG configuration calls invalid grub-install command

Bug #2037185 reported by Connor Nolan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Won't Fix
Undecided
Julian Andres Klode
shim-signed (Ubuntu)
Fix Released
Critical
Julian Andres Klode

Bug Description

When DPKG tries to configure "shim-signed" it runs an invalid "grub-install" command. This can be tested by running "dpkg-reconfigure shim-signed".

Log output:

Installing grub to /boot/efi.
grub-install: unrecognized option '--auto-nvram'
Try 'grub-install --help' or 'grub-install --usage' for more information.

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: shim-signed 1.54+15.7-0ubuntu1
ProcVersionSignature: Ubuntu 6.5.0-5.5-generic 6.5.0
Uname: Linux 6.5.0-5-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.27.0-0ubuntu2
Architecture: amd64
BootEFIContents:
 BOOTX64.CSV
 grub.cfg
 grubx64.efi
 mmx64.efi
 shimx64.efi
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Sep 23 16:10:04 2023
InstallationDate: Installed on 2023-08-02 (53 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SecureBoot: 6 0 0 0 1
SourcePackage: shim-signed
UpgradeStatus: Upgraded to mantic on 2023-09-23 (0 days ago)

Revision history for this message
Connor Nolan (thebrokenrail) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

This option was dropped from the grub2 package in mantic without a transition.

Changed in grub2 (Ubuntu):
status: New → Triaged
Changed in shim-signed (Ubuntu):
status: New → Triaged
Changed in grub2 (Ubuntu):
assignee: nobody → Julian Andres Klode (juliank)
Changed in shim-signed (Ubuntu):
assignee: nobody → Julian Andres Klode (juliank)
Changed in grub2 (Ubuntu):
status: Triaged → Won't Fix
Changed in shim-signed (Ubuntu):
status: Triaged → In Progress
status: In Progress → Fix Committed
Steve Langasek (vorlon)
Changed in shim-signed (Ubuntu):
milestone: none → ubuntu-23.10
importance: Undecided → Critical
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package shim-signed - 1.56

---------------
shim-signed (1.56) mantic; urgency=medium

  * Drop --auto-nvram from grub-multi-install call (LP: #2037185)

 -- Julian Andres Klode <email address hidden> Wed, 04 Oct 2023 18:54:03 +0200

Changed in shim-signed (Ubuntu):
status: Fix Committed → Fix Released
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.