package grub-pc 2.02~beta2-36ubuntu3.10 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
radim@sbasus201
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-pc (2.02~beta2-
/var/lib/
dpkg: error processing package grub-pc (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: grub-pc 2.02~beta2-
ProcVersionSign
Uname: Linux 4.4.0-79-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
Date: Sat May 20 12:28:02 2017
DuplicateSignature:
package:
Setting up grub-pc (2.02~beta2-
/var/lib/
dpkg: error processing package grub-pc (--configure):
subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationDate: Installed on 2013-11-11 (1285 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
ProcCmdLine: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.4ubuntu1.2
apt 1.2.20
SourcePackage: grub2
Title: package grub-pc 2.02~beta2-
UpgradeStatus: Upgraded to xenial on 2016-08-14 (278 days ago)
tags: | removed: need-duplicate-check |
missing semicolon on line 699, this is the fix:
- if dpkg --compare-versions "$2" lt-nl 2.02~beta2- 36ubuntu3. 10 then 36ubuntu3. 10; then
+ if dpkg --compare-versions "$2" lt-nl 2.02~beta2-