ERROR "update-grub" returned an error: exit status 1

I have a Minisform GK41 with Zorin 16 lite installed Jan 2022. I trired an apt full-upgrade a couple days ago Now I get a grub error. The box is still functional; but there is this error that keeps coming up

uname -a
Linux GK41 5.13.0-27-generic #29~20.04.1-Ubuntu SMP Fri Jan 14 00:32:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

jpb@GK41:~$ sudo apt autoremove
[sudo] password for :
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Requesting to save current system state
Successfully saved as "autozsys_8yzd8c"
Setting up grub-efi-amd64 (2.04-1ubuntu47.4) ...
Installing grub to /boot/efi.
Installing for x86_64-efi platform.
Installation finished. No error reported.
/usr/sbin/grub-probe: error: failed to get canonical path of `rpool/ROOT/ubuntu_bbd1v5'.
dpkg: error processing package grub-efi-amd64 (--configure):
installed grub-efi-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of grub-efi-amd64-signed:
grub-efi-amd64-signed depends on grub-efi-amd64 | grub-pc; however:
Package grub-efi-amd64 is not configured yet.
Package grub-pc is not installed.

dpkg: error processing package grub-efi-amd64-signed (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent processing triggers for shim-signed:
shim-signed depends on grub-efi-amd64-signed | grub-efi-arm64-signed; however:
Package grub-efi-amd64-signed is not configured yet.
Package grub-efi-arm64-signed is not installed.

dpkg: error processing package shim-signed (--configure):
dependency problems - leaving triggers unprocessed
Errors were encountered while processing:
ZSys is adding automatic system snapshot to GRUB menu
ERROR "update-grub" returned an error: exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is a rather long-standing issue between using zsys and grub - you can read more here (and hopefully resolve your issue). I realize this goes back a few versions, but the fix should be the same.:

1 Like

Thank. Annoying, at least it's not fatal. yet. :slight_smile:


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.