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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
During the software update debconf-communicate window (configuring grub-efi-
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: grub-efi-
ProcVersionSign
Uname: Linux 5.19.0-38-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckR
Date: Wed Apr 5 22:17:45 2023
DuplicateSignature:
package:
Setting up grub-efi-
mount: /var/lib/grub/esp: special device /, does not exist.
dpkg: error processing package grub-efi-
installed grub-efi-
ErrorMessage: installed grub-efi-
InstallationDate: Installed on 2022-07-12 (267 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.21.1ubuntu2.1
apt 2.4.8
SourcePackage: grub2-signed
Title: package grub-efi-
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | ubuntu → grub2-signed (Ubuntu) |
tags: | removed: need-duplicate-check |
affects: | grub2-signed (Ubuntu) → grub2 (Ubuntu) |
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).