[Bug 1822845] 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
Tue Apr 2 18:17:30 UTC 2019


On Tue, Apr 02, 2019 at 05:56:43PM -0000, Jaroslav Popelka wrote:

> I do update some every two days and never have had such problem.  I am
> afraid that by purging grub my system will not start again.

The grub package in question is absolutely not used on your system.  It
can't be, you have no menu.lst, which is the config file grub uses to know
what to boot.

I don't know why you have the 'grub' package installed.  It is never
installed by default on an Ubuntu 16.04 system.  The package name for grub
in 16.04 is 'grub-pc'.

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

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:
  Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N) /usr/sbin/update-grub: řádek 1094: read: chyba čtení: 0: Chybný popisovač souboru
  run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
  dpkg: chyba při zpracovávání balíku linux-image-4.15.0-47-generic (--configure):
   podproces instalovaný post-installation skript vrátil chybový status 1
  Při zpracování nastaly chyby:
   linux-image-4.15.0-47-generic
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  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.15.0-46.49~16.04.1-generic 4.15.18
  Uname: Linux 4.15.0-46-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.18
  Architecture: amd64
  Date: Tue Apr  2 17:41:10 2019
  ErrorMessage: run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 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/1822845/+subscriptions



More information about the foundations-bugs mailing list