package grub-pc 2.02~beta2-36ubuntu3.28 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
cannot update
cannot partial upgrade
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: grub-pc 2.02~beta2-
ProcVersionSign
Uname: Linux 4.4.0-142-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.25
Architecture: amd64
Date: Sat Oct 24 14:19:59 2020
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 2017-02-16 (1346 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
InvalidGrubScript: /etc/default/grub
ProcCmdLine: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.4ubuntu1.6
apt 1.2.32ubuntu0.1
SourcePackage: grub2
Title: package grub-pc 2.02~beta2-
UpgradeStatus: No upgrade log present (probably fresh install)
| tags: | removed: need-duplicate-check |

Your /etc/default/grub is broken, fix it. Seems like it is merged wrong. You can see it starts again after the first third of the file:
GRUB_CMDLINE_ LINUX_DEFAULT= "quiet splash # If you change this file, run 'update-grub' afterwards to update