[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

Jaroslav Popelka jarulkapop at seznam.cz
Tue Apr 2 19:43:45 UTC 2019


Of course I have grub in my system since first installation of Ubuntu 
because I have still a windows partition and one more Linux partition. Grub 
was always updated till this update.
I do have menu.lst see the enclosure.



---------- Původní e-mail ----------
Od: Steve Langasek <steve.langasek at canonical.com>
Komu: jarulkapop at seznam.cz
Datum: 2. 4. 2019 20:30:49
Předmět: Re: [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 
"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 subscribed to the bug 
report. 
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 
"

** Attachment added: "Snímek obrazovky pořízený 2019-04-02 21-42-03.png"
   https://bugs.launchpad.net/bugs/1822845/+attachment/5252189/+files/Sn%C3%ADmek%20obrazovky%20po%C5%99%C3%ADzen%C3%BD%202019-04-02%2021-42-03.png

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