package linux-image-4.15.0-42-generic 4.15.0-42.45~16.04.1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
can't delete package
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-39-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Tue Dec 11 14:36:13 2018
ErrorMessage: run-parts: /etc/kernel/
InstallationDate: Installed on 2017-10-16 (420 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
RelatedPackageV
dpkg 1.18.4ubuntu1.5
apt 1.2.29
SourcePackage: grub
Title: package linux-image-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Your log shows that you have the 'grub' package installed, which is grub version 1. This is not the grub package that we install by default in Ubuntu, and you appear to have installed it without configuring it.
You should remove the grub package from your system and install the grub-pc package instead.
The grub package has been removed from the Ubuntu archive for 18.04 and later.