package linux-image-4.15.0-32-generic 4.15.0-32.35~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) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I don't know what is the problem I was updating ubuntu by softwer updater
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.13.0-45-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Thu Aug 16 17:19:58 2018
ErrorMessage: run-parts: /etc/kernel/
InstallationDate: Installed on 2018-07-13 (34 days ago)
InstallationMedia: Lubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
RelatedPackageV
dpkg 1.18.4ubuntu1.4
apt 1.2.27
SourcePackage: grub
Title: package linux-image-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
The error in your log is:
/etc/kernel/ postinst. d/zz-update- grub:
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... Generating /boot/grub/default file and setting the default boot entry to 0
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.lst file ...
Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N) /usr/sbin/ update- grub: line 1094: read: read error: 0: Bad file descriptor
I don't know why the script failed in this particular way, but this shows that you have the 'grub' package installed on your system which is grub version 1. Why do you have this installed? All supported versions of Ubuntu use grub-pc (grub version 2) by default.