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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
! BROKEN...
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
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-
ErrorMessage: run-parts: /etc/kernel/
InstallationDate: Installed on 2019-05-12 (361 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageV
dpkg 1.18.4ubuntu1.6
apt 1.2.32
SourcePackage: grub
Title: package linux-image-
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | ubuntu → grub (Ubuntu) |
The error in your log is:
update-initramfs: Deleting /boot/initrd. img-4.4. 0-171-generic postrm. d/zz-update- grub:
/etc/kernel/
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 postrm. d/zz-update- grub exited with return code 1 4.4.0-171- generic (--remove):
run-parts: /etc/kernel/
dpkg: erro ao processar o pacote linux-image-
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'.