This package fails to install on a fresh Ubuntu 18.04. My laptop has the UEFI boot security disabled. It is an ASUS N552VX.206.
jgr@zoe:~$ cat /sys/firmware/efi cat: /sys/firmware/efi: No such file or directory After installation, I tried to correct it, but if fails: sudo apt -f install 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. Setting up shim-signed (1.34.9+13-0ubuntu2) ... Installing for x86_64-efi platform. grub-install: error: cannot find EFI directory. dpkg: error processing package shim-signed (--configure): installed shim-signed package post-installation script subprocess returned error exit status 1 Setting up grub-efi-amd64-signed (1.93+2.02-2ubuntu8) ... grub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory. dpkg: error processing package grub-efi-amd64-signed (--configure): installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: shim-signed grub-efi-amd64-signed E: Sub-process /usr/bin/dpkg returned an error code (1) Looking at the file system, there is no /usr/lib/grub/i386-pc/modinfo.sh jgr@zoe:~$ ls -l /usr/lib/grub/ total 20 lrwxrwxrwx 1 root root 34 abr 29 14:54 grub-mkconfig_lib -> ../../share/grub/grub-mkconfig_lib drwxr-xr-x 2 root root 16384 abr 29 14:56 x86_64-efi drwxr-xr-x 2 root root 4096 abr 29 14:56 x86_64-efi-signed There is another modinfo.sh script, but on a different folder: jgr@zoe:~$ ls -l /usr/lib/grub/x86_64-efi/modinfo.sh -rwxr-xr-x 1 root root 2475 mar 4 13:11 /usr/lib/grub/x86_64-efi/modinfo.sh How to reproduce? Well, in my case I've tried several times to install Ubuntu 18.04, and it always fails. Right now, the workaround is to delete this package. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1766313 Title: (non-UEFI) package shim-signed 1.33.1+13-0ubuntu2 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1766313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs