运行 apt 时出现问题

运行 apt 时出现问题

当我尝试在 Ubuntu MATE 20.04 上进行任何更新或自动删除时,出现以下情况:

/usr/sbin/grub-probe: error: failed to get canonical path of rpool/ROOT/ubuntu_    55nzf7'.
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
dpkg: error processing package linux-image-5.4.0-96-generic (--remove):
 installed linux-image-5.4.0-96-generic package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
 linux-image-5.4.0-96-generic
Processing was halted because there were too many errors.
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)

相关内容