Comment 3 for bug 1822845

Revision history for this message
Jaroslav Popelka (jarulkapop) wrote : 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

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.
Any further suggestions?

Thanks a lot for your help.

Regards

JP
---------- Původní e-mail ----------
Od: Steve Langasek <email address hidden>
Komu: <email address hidden>
Datum: 2. 4. 2019 18:20:48
Předmět: [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
"You have installed the 'grub' package, which is grub version 1 and
deprecated; and you have not configured it; which causes the kernel
installation to fail.

You should remove the grub package with 'sudo apt-get remove --purge
grub'.

** Changed in: grub (Ubuntu)
Status: New => Invalid

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