[Bug 1943557] Re: package grub-common 2.04-1ubuntu26.13 failed to install/upgrade: installed grub-common package post-installation script subprocess returned error exit status 1
Julian Andres Klode
1943557 at bugs.launchpad.net
Tue Sep 14 10:38:03 UTC 2021
It seems your /boot/grub/grubenv gets corrupted on a weekly basis then -
It fails to find that first line:
# head -1 /boot/grub/grubenv
# GRUB Environment Block
Deleting the file should get you started again. Maybe there is an issue
with the PCIe card or the SSD causing the file(system) to get corrupted?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1943557
Title:
package grub-common 2.04-1ubuntu26.13 failed to install/upgrade:
installed grub-common package post-installation script subprocess
returned error exit status 1
Status in grub2 package in Ubuntu:
Incomplete
Bug description:
This is a single operating system home pc where the system disc is a
2.5" Samsung 860 Pro 512GB mounted on a ASMedia PCIe card, I also have
3 1TB Seagate 3.5" mechanical hard drives with NTFS file system on
them which are data drives left over from the time when I used to use
Windows 7, hence the NTFS partitions.
Every time I do a clean install, the following Monday I get error
messages again, and can only boot the pc via the grub menu thereafter.
Obviously Monday being the start of the new week is something to do
with it. It does not matter which day of the week I do a clean
install, the following Monday is always the same result.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: grub-common 2.04-1ubuntu26.13
ProcVersionSignature: Ubuntu 5.11.0-34.36~20.04.1-generic 5.11.22
Uname: Linux 5.11.0-34-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: skip
Date: Tue Sep 14 10:27:29 2021
ErrorMessage: installed grub-common package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2021-07-06 (69 days ago)
InstallationMedia: Ubuntu 20.04.2 LTS "Focal Fossa" - Release amd64 (20210705.1)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-34-generic root=UUID=cb0bee09-2844-4f73-923b-3ee38fbd9666 ro quiet splash
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
dpkg 1.19.7ubuntu3
apt 2.0.6
SourcePackage: grub2
Title: package grub-common 2.04-1ubuntu26.13 failed to install/upgrade: installed grub-common package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1943557/+subscriptions
More information about the foundations-bugs
mailing list