package grub-efi-amd64-signed 1.187.3~22.04.1+2.06-2ubuntu14.1 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32

Bug #2015401 reported by Sarah Alazab
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Triaged
Low
Unassigned

Bug Description

During the software update debconf-communicate window (configuring grub-efi-amd64-signed) showed up asking me to select the grub location. I researched but didn't find a solution online for what I should choose. I ended up choosing the SSD with the boot/efi but the next window it wouldn't continue (there was a check box saying continue without installing grub). So I went back and marked both SSDs and pressed next. Now it shows me window saying the installation of the software failed. I hope it didn't mess up my Grub loader; I have a dual boot system for Windows and ubuntu Linux.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: grub-efi-amd64-signed 1.187.3~22.04.1+2.06-2ubuntu14.1
ProcVersionSignature: Ubuntu 5.19.0-38.39~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-38-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: pass
Date: Wed Apr 5 22:17:45 2023
DuplicateSignature:
 package:grub-efi-amd64-signed:1.187.3~22.04.1+2.06-2ubuntu14.1
 Setting up grub-efi-amd64-signed (1.187.3~22.04.1+2.06-2ubuntu14.1) ...
 mount: /var/lib/grub/esp: special device /, does not exist.
 dpkg: error processing package grub-efi-amd64-signed (--configure):
  installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
ErrorMessage: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
InstallationDate: Installed on 2022-07-12 (267 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.8
SourcePackage: grub2-signed
Title: package grub-efi-amd64-signed 1.187.3~22.04.1+2.06-2ubuntu14.1 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sarah Alazab (furious.witch) wrote :
affects: ubuntu → grub2-signed (Ubuntu)
tags: removed: need-duplicate-check
Revision history for this message
Steve Langasek (vorlon) wrote :

The target for installing EFI GRUB must be an EFI System Partition, not a disk. GRUB does not a priori know whether the device you've specified is correct.

The value of this field is supposed to have been populated for you by the installer at install time. So I don't think there's much here we can do to improve this, aside from the error message presented by the postinst ("/" is not the name of an ssd).

Changed in grub2-signed (Ubuntu):
importance: Undecided → Low
status: New → Triaged
affects: grub2-signed (Ubuntu) → grub2 (Ubuntu)
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.