> The computer still boots successfully!

Well, that's good to hear!

> So now I have two directories in /boot/efi/EFI, one called "ubuntu" and
> the other called "Ubuntu 16.04.2 LTS".

> 1. Would you recommend I remove the older Ubuntu 16.04.2 LTS
directory?

> 2. Do you think this problem will occur again for future updates?

I am uncertain if removing the older directory will cause problems.  It
depends on whether anything is referencing it in your boot path.  You
may want to check the output of 'sudo efibootmgr -v' to see.

This problem should not recur on future updates now that the mach_kernel
file exists.

> I then installed grub manually using a modified command from same
> guide I referred to earlier

> sudo grub-install --target x86_64-efi --boot-directory=/boot
> --efi-directory=/boot/efi --bootloader-id="ubuntu"

This should have the same result as just running 'sudo grub-install'.
In fact, the use of a different --bootloader-id before, instead of the
'ubuntu' value expected by the packages, is probably what led to the
problems in the config.

I'm not sure whether there is anything further we should do to improve
the grub package here.  The immediate cause of the failure was the
following of a third-party guide, however it should not have been
necessary for you to follow a third-party guide at all - the
installation should have just done the right thing for you out of the
box.  So I'll leave this bug report open for further triaging by the
grub maintainers.

** Changed in: grub2 (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707832

Title:
  package shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
  failed to install/upgrade: subprocess installed post-installation
  script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1707832/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to