package grub-pc (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 128
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
apt-cache policy grub-pc
grub-pc:
Installed: (none)
Candidate: 2.02~beta2-15
Version table:
2.02~beta2-15 0
500 http://
100 /var/lib/
ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: grub-pc (not installed)
ProcVersionSign
Uname: Linux 3.16.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
Date: Sun Oct 26 07:59:36 2014
DuplicateSignature: package:
ErrorMessage: subprocess installed post-removal script returned error exit status 128
EtcDefaultGrubD
EtcDefaultGrubD
InstallationDate: Installed on 2014-10-21 (4 days ago)
InstallationMedia:
InvalidGrubScript: /etc/grub.
ProcCmdLine: BOOT_IMAGE=
SourcePackage: grub2
Title: package grub-pc (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 128
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
From DpkgTerminalLog .txt:
Removing grub-pc (2.02~beta2-15) ...
Purging configuration files for grub-pc (2.02~beta2-15) ...
ucfr: Corrupt registry: Duplicate entries for /etc/default/grub
grub-pc /etc/default/grub
grub-pc /etc/default/grub
grub-pc /etc/default/grub
grub-pc /etc/default/grub
grub-pc /etc/default/grub
ucfr: Corrupt registry: Duplicate entries for /etc/default/grub