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

Bug #1701074 reported by pgrosso0433
16
This bug affects 3 people
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-4ubuntu2.1
  Version table:
     2.02~beta3-4ubuntu2.1 500
        500 http://us.archive.ubuntu.com/ubuntu zesty-updates/universe amd64 Packages
     2.02~beta3-4ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu zesty/universe amd64 Packages
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-headers-4.10.0-19 linux-headers-4.10.0-19-generic
  linux-headers-4.10.0-21 linux-headers-4.10.0-21-generic
  linux-image-4.10.0-19-generic linux-image-4.10.0-21-generic
  linux-image-extra-4.10.0-19-generic linux-image-extra-4.10.0-21-generic
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-4ubuntu2.1); however:
  Package grub2-common is not configured yet.

No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: error processing package grub-pc (--configure):
 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-4ubuntu2.1
ProcVersionSignature: Ubuntu 4.10.0-24.28-generic 4.10.15
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:grub2-common:2.02~beta3-4ubuntu2.1
 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=/boot/vmlinuz-4.10.0-24-generic root=UUID=5cf174fc-fc6a-490c-916b-32dd1b87f129 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 dpkg 1.18.10ubuntu2
 apt 1.4
SourcePackage: grub2
Title: 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
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
pgrosso0433 (pgrosso0433) wrote :
tags: removed: need-duplicate-check
Revision history for this message
pgrosso0433 (pgrosso0433) wrote :

Re-installation of offending packages - sudo apt-get install grub-pc - resolved issue.

Changed in grub2 (Ubuntu):
assignee: nobody → pgrosso0433 (pgrosso0433)
Revision history for this message
pgrosso0433 (pgrosso0433) wrote :

Resolves issue-- run from cmdln

sudo apt-get install --reinstall grub2-common

Changed in grub2 (Ubuntu):
status: New → Fix Committed
Revision history for this message
dino99 (9d9) wrote :

Closed per comments above.

Changed in grub2 (Ubuntu):
assignee: pgrosso0433 (pgrosso0433) → nobody
status: Fix Committed → Invalid
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.