[Bug 1823470] Re: 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

Steve Langasek steve.langasek at canonical.com
Sat Apr 6 23:48:55 UTC 2019


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

-- 
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/1823470

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

Status in grub package in Ubuntu:
  Invalid

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/1823470/+subscriptions



More information about the foundations-bugs mailing list