I get this error when trying to update my system, all appears to be functioning, but I am new to Linux so I may be missing something
ben@ben-laptop:~$ sudo apt -y upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following package was automatically installed and is no longer required: libllvm9 Use 'sudo apt autoremove' to remove it. 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade. 1 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_k3262n" Setting up linux-image-5.4.0-40-generic (5.4.0-40.44) ... Processing triggers for linux-image-5.4.0-40-generic (5.4.0-40.44) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-5.4.0-40-generic I: The initramfs will attempt to resume from /dev/sda2 I: (UUID=a9642385-eacc-4155-b29f-90ba3692f639) I: Set the RESUME variable to override this. /etc/kernel/postinst.d/zz-update-grub: /usr/sbin/grub-probe: error: failed to get canonical path of `bpool/BOOT/ubuntu_0qqeus'. run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1 dpkg: error processing package linux-image-5.4.0-40-generic (--configure): installed linux-image-5.4.0-40-generic package post-installation script s ubprocess returned error exit status 1 Errors were encountered while processing: linux-image-5.4.0-40-generic 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)
If I run update-grub by itself I getben@ben-laptop:~$ sudo update-grub [sudo] password for ben: /usr/sbin/grub-probe: error: failed to get canonical path of `bpool/BOOT/ubuntu_0qqeus'.