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

Bug #1787432 reported by Giuseppe
8
This bug affects 1 person
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-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)

Revision history for this message
Giuseppe (lietcai) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Steve Langasek (vorlon) wrote :

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
Revision history for this message
Giuseppe (lietcai) wrote : Re: [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

I am goin to reinstall my PC and then we will see: thank you
> Il 17 agosto 2018 alle 1.04 Steve Langasek <email address hidden> ha scritto:
>
>
> 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 subscribed to the bug
> report.
> 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

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for grub (Ubuntu) because there has been no activity for 60 days.]

Changed in grub (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.