system-admin@Ubuntu-TW-VM:~$ sudo dpkg --configure -a [sudo] password for system-admin: 設定 grub-efi-amd64-signed (1.66.17+2.02~beta2-36ubuntu3.17) ... Installing for i386-pc platform. grub-install:錯誤: install device isn't specified. dpkg: error processing package grub-efi-amd64-signed (--configure): 子程序 已安裝的 post-installation script 傳回了錯誤退出狀態 1 處理時發生錯誤: grub-efi-amd64-signed
sh
case $1 in
configure)
bootloader_id="$(config_item GRUB_DISTRIBUTOR | tr A-Z a-z | \
cut -d' ' -f1)"
if [ "$bootloader_id" ] && [ -d "/boot/efi/EFI/$bootloader_id" ]; then
grub-install
fi
;;
esac