You have UEFI, so use grub-efi-amd64 version.
Unfortunately no dice:
Code:
sudo apt-get install grub-efi-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
grub-efi-amd64-bin libreoffice-help-common
Recommended packages:
grub-efi-amd64-signed
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc linux-image-5.8.0-43-lowlatency
The following NEW packages will be installed:
grub-efi-amd64
The following packages will be upgraded:
grub-efi-amd64-bin libreoffice-help-common
2 upgraded, 1 newly installed, 3 to remove and 1281 not upgraded.
3 not fully installed or removed.
Need to get 0 B/3,500 kB of archives.
After this operation, 3,456 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
(Reading database ... 409812 files and directories currently installed.)
Removing linux-image-5.8.0-43-lowlatency (5.8.0-43.49~20.04.1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.8.0-43-lowlatency
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Script `/boot/grub/grub.cfg.new' contains no commands and will do nothing
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
dpkg: error processing package linux-image-5.8.0-43-lowlatency (--remove):
installed linux-image-5.8.0-43-lowlatency package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
linux-image-5.8.0-43-lowlatency
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
Bookmarks