package grub-pc 2.12-1ubuntu7 failed to install/upgrade: installed grub-pc package post-installation script subprocess returned error exit status 2

Bug #2080382 reported by Ferenc Forró

This bug report will be marked for expiration in 53 days if no further activity occurs. (find out why)

8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

package grub-pc 2.12-1ubuntu7 failed to install/upgrade: installed grub-pc package post-installation script subprocess returned error exit status 2

ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: grub-pc 2.12-1ubuntu7
ProcVersionSignature: Ubuntu 6.8.0-40.40~22.04.3-generic 6.8.12
Uname: Linux 6.8.0-40-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Wed Sep 11 16:12:46 2024
ErrorMessage: installed grub-pc package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2020-09-12 (1460 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
InvalidGrubScript: /etc/grub.d/40_custom.save /etc/grub.d/40_custom
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-40-generic root=UUID=e3ef1bb5-1953-4ae2-99af-cbf0eabe5ac4 ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu2
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.22.6ubuntu6.1
 apt 2.7.14build2
SourcePackage: grub2
Title: package grub-pc 2.12-1ubuntu7 failed to install/upgrade: installed grub-pc package post-installation script subprocess returned error exit status 2
UpgradeStatus: Upgraded to noble on 2024-09-11 (0 days ago)
mtime.conffile..etc.init.d.apport: 2024-07-22T16:59:07

Revision history for this message
Ferenc Forró (forro.feri) wrote :
Revision history for this message
Mate Kukri (mkukri) wrote :

Hi,

It looks like your /etc/grub.d/40_custom file is corrupt, please double check that and retry the update.

Changed in grub2 (Ubuntu):
status: New → Incomplete
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.