The error in your log is: Configurazione di grub-efi-amd64-signed (1.66.20+2.02~beta2-36ubuntu3.20)... grub-install: errore: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory. dpkg: errore nell'elaborare il pacchetto grub-efi-amd64-signed (--configure): il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1 Configurazione di shim (15+1533136590.3beb971-0ubuntu1)... Configurazione di shim-signed (1.33.1~16.04.4+15+1533136590.3beb971-0ubuntu1)... Installing for x86_64-efi platform. grub-install: errore: cannot find EFI directory. dpkg: errore nell'elaborare il pacchetto shim-signed (--configure): il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1
This looks like you have a system that was previously installed in UEFI mode, but you have removed the ESP from /boot/efi and booted it in BIOS mode instead. Is this the case? Is there a reason you have done this? ** Changed in: shim-signed (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821513 Title: package shim-signed 1.33.1~16.04.4+15+1533136590.3beb971-0ubuntu1 failed to install/upgrade: il sottoprocesso installato script di post- installation ha restituito lo stato di errore 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1821513/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs