package grub2-common 2.02~beta3-4ubuntu2.1 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
lsb_release -rd
Description: Ubuntu 17.04
Release: 17.04
apt-cache policy grub2
grub2:
Installed: (none)
Candidate: 2.02~beta3-
Version table:
2.
500 http://
2.
500 http://
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-
linux-
linux-
linux-
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/529 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package grub2-common (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of grub-pc:
grub-pc depends on grub2-common (= 2.02~beta3-
Package grub2-common is not configured yet.
No apport report written because the error message indicates its a followup error from a previous failure.
dependency problems - leaving unconfigured
Errors were encountered while processing:
grub2-common
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
Software update via Software Updater app fails on the install of this grub2 package.
ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: grub2-common 2.02~beta3-
ProcVersionSign
Uname: Linux 4.10.0-24-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.1
Architecture: amd64
Date: Wed Jun 28 15:30:31 2017
DuplicateSignature:
package:
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
dpkg: error processing package grub2-common (--configure):
package is in a very bad inconsistent state; you should
ErrorMessage: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
InstallationDate: Installed on 2017-05-26 (33 days ago)
InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
ProcCmdLine: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.10ubuntu2
apt 1.4
SourcePackage: grub2
Title: package grub2-common 2.02~beta3-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Re-installation of offending packages - sudo apt-get install grub-pc - resolved issue.