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
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-
ProcVersionSign
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/
InstallationDate: Installed on 2017-11-25 (496 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageV
dpkg 1.18.4ubuntu1.5
apt 1.2.31
SourcePackage: grub
Title: package linux-image-
UpgradeStatus: No upgrade log present (probably fresh install)
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 postinst. d/zz-update- grub exited with return code 1 4.4.0-145- generic (--configure) :
run-parts: /etc/kernel/
dpkg: erreur de traitement du paquet linux-image-
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'.