package grub-common 2.04-1ubuntu26.3 failed to install/upgrade: installed grub-common package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This happoned during a automated update through the GUI update prompt.
The system is running in a Hyper-v VM from windows 10
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: grub-common 2.04-1ubuntu26.3
ProcVersionSign
Uname: Linux 5.4.0-42-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
CasperMD5CheckR
Date: Mon Sep 7 08:11:10 2020
ErrorMessage: installed grub-common package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2020-06-15 (83 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcCmdLine: BOOT_IMAGE=
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.2ubuntu0.1
SourcePackage: grub2
Title: package grub-common 2.04-1ubuntu26.3 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)
tags: | removed: need-duplicate-check |
I believe I just observed the same issue again, and now have a log from that See below. /bugs.launchpad .net/ubuntu/ +source/ grub2/+ bug/1699520
I've also come accross a simular issue here https:/
"plymouth --ping" is also hanging for me, I will attach a strace
First the log which happoned as I used `apt` to install an other unrelated tool y-to-buffer libllvm9 libnode-dev libnode64 libpython2-stdlib libpython2. 7-minimal libpython2.7-stdlib libssl-dev libuv1-dev nodejs-doc python- pkg-resources dk.archive. ubuntu. com/ubuntu focal/main amd64 net-tools amd64 1.60+git2018062 6.aebd88e- 1ubuntu1 [196 kB] tools_1. 60+git20180626. aebd88e- 1ubuntu1_ amd64.deb ... 26.aebd88e- 1ubuntu1) ... 26.aebd88e- 1ubuntu1) ...
$ sudo apt install net-tools
[sudo] password for skk:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gyp javascript-common libc-ares2 libfprint-2-tod1 libjs-inherits libjs-is-typedarray libjs-psl libjs-typedarra
python2 python2-minimal python2.7 python2.7-minimal
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
net-tools
0 upgraded, 1 newly installed, 0 to remove and 16 not upgraded.
6 not fully installed or removed.
Need to get 196 kB of archives.
After this operation, 864 kB of additional disk space will be used.
Get:1 http://
Fetched 196 kB in 0s (938 kB/s)
Selecting previously unselected package net-tools.
(Reading database ... 174869 files and directories currently installed.)
Preparing to unpack .../net-
Unpacking net-tools (1.60+git201806
Setting up net-tools (1.60+git201806
Setting up grub-common (2.04-1ubuntu26.3) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Job for grub-common.service failed because a timeout was exceeded. service" and "journalctl -xe" for details. d/grub- common; generated) sysv-generator( 8) /etc/init. d/grub- common start (code=killed, signal=TERM) slice/grub- common. service
├ ─1923087 plymouth --ping
└ ─1985208 plymouth --ping
See "systemctl status grub-common.
invoke-rc.d: initscript grub-common, action "restart" failed.
● grub-common.service - LSB: Record successful boot for GRUB
Loaded: loaded (/etc/init.
Active: failed (Result: timeout) since Wed 2020-09-09 08:32:40 CEST; 5ms ago
Docs: man:systemd-
Process: 1985200 ExecStart=
Tasks: 6 (limit: 23958)
Memory: 4.0M
CGroup: /system.
├─ 421180 plymouth --ping
├─ 423955 plymouth --ping
├─ 434262 plymouth --ping
├─ 444489 plymouth --ping
Sep 09 08:27:40 PC-5928-Linux-VM systemd[1]: Starting LSB: Record successful boot for GRUB... service: start operation timed out. Terminating. service: Failed with result 'timeout'.
Sep 09 08:32:40 PC-5928-Linux-VM systemd[1]: grub-common.
Sep 09 08:32:40 PC-5928-Linux-VM systemd[1]: grub-common.
Sep 09 08:32:40 PC-5928-Linux-VM systemd[1]: Failed to start LSB: Record successful boot for GRUB.
dpkg: error processing package grub-common (--configure):
installed grub-common package post-installation script subproces...