[Bug 1877521] Re: package linux-image-4.4.0-171-generic 4.4.0-171.200 failed to install/upgrade: run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
Steve Langasek
steve.langasek at canonical.com
Fri May 8 18:42:38 UTC 2020
The error in your log is:
update-initramfs: Deleting /boot/initrd.img-4.4.0-171-generic
/etc/kernel/postrm.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: linha 1094: read: erro de leitura: 0: Descritor de arquivo inválido
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
dpkg: erro ao processar o pacote linux-image-4.4.0-171-generic (--remove):
sub-processo script post-removal instalado retornou estado de saída de erro 1
You have installed the 'grub' package, which is grub1, instead of the
grub-pc package, which is grub2, and have not configured it. This is an
error. You should remove the grub1 package from your system with 'apt-
get remove --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/1877521
Title:
package linux-image-4.4.0-171-generic 4.4.0-171.200 failed to
install/upgrade: run-parts: /etc/kernel/postrm.d/zz-update-grub exited
with return code 1
Status in grub package in Ubuntu:
Invalid
Bug description:
! BROKEN...
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-171-generic 4.4.0-171.200
ProcVersionSignature: Ubuntu 4.4.0-176.206-generic 4.4.211
Uname: Linux 4.4.0-176-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.23
Architecture: amd64
Date: Fri May 8 03:55:18 2020
DpkgHistoryLog:
Start-Date: 2020-05-08 03:55:06
Commandline: apt-get autoremove
Remove: linux-headers-4.4.0-171:amd64 (4.4.0-171.200), linux-modules-extra-4.4.0-171-generic:amd64 (4.4.0-171.200), linux-modules-4.4.0-171-generic:amd64 (4.4.0-171.200), linux-headers-4.4.0-171-generic:amd64 (4.4.0-171.200), linux-modules-4.4.0-154-generic:amd64 (4.4.0-154.181), linux-image-4.4.0-171-generic:amd64 (4.4.0-171.200), linux-image-4.4.0-154-generic:amd64 (4.4.0-154.181)
ErrorMessage: run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
InstallationDate: Installed on 2019-05-12 (361 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageVersions:
dpkg 1.18.4ubuntu1.6
apt 1.2.32
SourcePackage: grub
Title: package linux-image-4.4.0-171-generic 4.4.0-171.200 failed to install/upgrade: run-parts: /etc/kernel/postrm.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/1877521/+subscriptions
More information about the foundations-bugs
mailing list