package grub-efi-amd64 2.06-2ubuntu7 failed to install/upgrade: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 2
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| grub2-unsigned (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
This was probably my fault. I was messing around with GRUB (sudo cat) and Grub Customizer, even though I know that it's bugged.
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: grub-efi-amd64 2.06-2ubuntu7
ProcVersionSign
Uname: Linux 5.15.0-52-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
Date: Wed Oct 19 19:44:05 2022
ErrorMessage: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2022-10-05 (14 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.21.1ubuntu2.1
apt 2.4.8
SourcePackage: grub2-unsigned
Title: package grub-efi-amd64 2.06-2ubuntu7 failed to install/upgrade: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)

Seems like 99_brunch whatever that is is not a shell script writing a grub.cfg snippet to stdout but a grub.cfg snippet on its own.
/etc/grub. d/99_brunch: 1: menuentry: not found