[Bug 1787432] Re: 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
Steve Langasek
steve.langasek at canonical.com
Thu Aug 16 23:04:35 UTC 2018
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.
** Changed in: grub (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub in Ubuntu.
https://bugs.launchpad.net/bugs/1787432
Title:
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
Status in grub package in Ubuntu:
Incomplete
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-4.15.0-32-generic 4.15.0-32.35~16.04.1
ProcVersionSignature: Ubuntu 4.13.0-45.50~16.04.1-generic 4.13.16
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/postinst.d/zz-update-grub exited with return code 1
InstallationDate: Installed on 2018-07-13 (34 days ago)
InstallationMedia: Lubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
RelatedPackageVersions:
dpkg 1.18.4ubuntu1.4
apt 1.2.27
SourcePackage: grub
Title: 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
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/1787432/+subscriptions
More information about the foundations-bugs
mailing list