package linux-image-4.15.0-47-generic 4.15.0-47.50~16.04.1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1

Bug #1823470 reported by mantello
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Lord d'essai pour installer un logiciel on m'a indiqué des lignes de programmation dans le terminal, ceci n'a pas fonctionné et j'ai laissé tomber l'installation de ce logiciel, mais ces lignes provoquent ces messages d'erreurs.
Merci pour tout.
Mr.Mantello

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: linux-image-4.15.0-47-generic 4.15.0-47.50~16.04.1
ProcVersionSignature: Ubuntu 4.4.0-143.169-generic 4.4.170
Uname: Linux 4.4.0-143-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Sat Apr 6 16:34:09 2019
ErrorMessage: run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
InstallationDate: Installed on 2017-11-25 (496 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.5
 apt 1.2.31
SourcePackage: grub
Title: package linux-image-4.15.0-47-generic 4.15.0-47.50~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
mantello (arlette1) wrote :
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 ... found: /boot/grub/default
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: ligne 1094 : read: Erreur de lecture : 0 : Mauvais descripteur de fichier
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
dpkg: erreur de traitement du paquet linux-image-4.4.0-145-generic (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1

This indicates that you have manually installed the 'grub' package, which is not the recommended bootloader package in Ubuntu, and you have not configured it. As a result, upgrading kernel package afterwards results in an error.

To solve this issue you should remove the grub package from your system by running 'sudo apt purge grub'.

Changed in grub (Ubuntu):
status: New → Invalid
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.