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

Bug #1995842 reported by V-info-n
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Nov 07 09:29:41 lts18.bsec.ch systemd[1]: Starting Record successful boot for GRUB...
Nov 07 09:29:41 lts18.bsec.ch grub-editenv[15504]: /usr/bin/grub-editenv: error: invalid environment block.
Nov 07 09:29:41 lts18.bsec.ch systemd[1]: grub-common.service: Main process exited, code=exited, status=1/FAILURE
Nov 07 09:29:41 lts18.bsec.ch systemd[1]: grub-common.service: Failed with result 'exit-code'.
Nov 07 09:29:41 lts18.bsec.ch systemd[1]: Failed to start Record successful boot for GRUB.
dpkg: error processing package grub-common (--configure):
 installed grub-common package post-installation script subprocess returned error exit status 1
Setting up rpcsvc-proto (1.4.2-0ubuntu6) ...
Setting up libc-dev-bin (2.35-0ubuntu3.1) ...
Setting up libtirpc3:amd64 (1.3.2-2ubuntu0.1) ...
dpkg: dependency problems prevent configuration of grub2-common:
 grub2-common depends on grub-common (= 2.04-1ubuntu26.15); however:
  Package grub-common is not configured yet.

dpkg: error processing package grub2-common (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of grub-pc-bin:
 grub-pc-bin depends on grub-common (= 2.04-1ubuntu26.15); however:
  Package grub-common is not configured yet.

dpkg: error processing package grub-pc-bin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of grub-pc:
 grub-pc depends on grub-common (= 2.04-1ubuntu26.15); however:
  Package grub-common is not configured yet.
 grub-pc depends on grub2-common (= 2.04-1ubuntu26.15); however:
  Package grub2-common is not configured yet.
 grub-pc depends on No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                              No apport report written because the error message indicates its a followup error from a previous failure.
                                                                       No apport report written because MaxReports is reached already
                                                                                                                                     grub-pc-bin (= 2.04-1ubuntu26.15); however:
  Package grub-pc-bin is not configured yet.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: grub-common 2.04-1ubuntu26.15
ProcVersionSignature: Ubuntu 5.4.0-131.147-generic 5.4.210
Uname: Linux 5.4.0-131-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
CasperMD5CheckResult: skip
Date: Mon Nov 7 09:29:41 2022
ErrorMessage: installed grub-common package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-02-22 (1718 days ago)
InstallationMedia: Ubuntu-Server 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180221)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-131-generic root=/dev/mapper/lts18--04srv--vg-root ro net.ifnames=0 biosdevname=0
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3.2
 apt 2.0.9
SourcePackage: grub2
Title: package grub-common 2.04-1ubuntu26.15 failed to install/upgrade: installed grub-common package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to focal on 2022-11-07 (0 days ago)

Revision history for this message
V-info-n (v-info-n) wrote :
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
tags: removed: need-duplicate-check
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.