package grub-pc 2.04-1ubuntu26.4 failed to install/upgrade: installed grub-pc package post-installation script subprocess returned error exit status 1

Bug #1898770 reported by Scott Talbert
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This happened when upgrading my machine from 18.04 -> 20.4.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: grub-pc 2.04-1ubuntu26.4
ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60
Uname: Linux 5.4.0-48-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckResult: skip
Date: Tue Oct 6 14:38:07 2020
DuplicateSignature:
 package:grub-pc:2.04-1ubuntu26.4
 Setting up grub-pc (2.04-1ubuntu26.4) ...
 dpkg: error processing package grub-pc (--configure):
  installed grub-pc package post-installation script subprocess returned error exit status 1
ErrorMessage: installed grub-pc package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2013-11-04 (2527 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-48-generic root=UUID=08068afd-7442-4bb5-b53a-76f24196407d ro quiet splash nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw vt.handoff=7
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18rc1, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2ubuntu0.1
SourcePackage: grub2
Title: package grub-pc 2.04-1ubuntu26.4 failed to install/upgrade: installed grub-pc package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to focal on 2020-10-06 (0 days ago)

Revision history for this message
Scott Talbert (swt-techie) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Scott Talbert (swt-techie) wrote :

Here's running dpkg --configure grub-pc with "set -x" in grub-pc.postinst.

Revision history for this message
Scott Talbert (swt-techie) wrote :

I have two hard drives in an MD RAID configuration as my boot device(s).

Revision history for this message
Scott Talbert (swt-techie) wrote :

Seems possibly related to bug #1896608, but I don't have grub-efi-* installed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Julian Andres Klode (juliank) wrote :

Same bug nonetheless, the log tells us it skipped the question and this was accidentally treated as a failure.

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.