[Bug 1747884] Re: package grub-efi-amd64-signed failed to install: could not find EFI directory

Apport retracing service 1747884 at bugs.launchpad.net
Wed Feb 7 10:30:13 UTC 2018


** Tags removed: need-duplicate-check

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

Title:
  package grub-efi-amd64-signed failed to install: could not find EFI
  directory

Status in grub2-signed package in Ubuntu:
  New

Bug description:
  package grub-efi-amd64-signed 1.85.1+2.02~beta3-4ubuntu7.1 failed to
  install

  I am on Ubuntu 17.10

  The error occurred when I installed available updates with aptitude.
  This is the relevant log snippet:

  Setting up grub-efi-amd64-signed (1.85.1+2.02~beta3-4ubuntu7.1) ...
  Installing for x86_64-efi platform.
  grub-install: error: cannot find EFI directory.
  dpkg: error processing package grub-efi-amd64-signed (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   grub-efi-amd64-signed
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  Setting up grub-efi-amd64-signed (1.85.1+2.02~beta3-4ubuntu7.1) ...
  Installing for x86_64-efi platform.
  grub-install: error: cannot find EFI directory.
  dpkg: error processing package grub-efi-amd64-signed (--configure):
   subprocess installed post-installation script returned error exit status 1

  My EFI partition is not mounted anywhere by default. I then mounted it manually:
  > sudo mount /dev/nvme0n1p1 /boot/efi

  Then retried installation:
  > sudo apt install package grub-efi-amd64-signed
  [...]
  Setting up grub-efi-amd64-signed (1.85.1+2.02~beta3-4ubuntu7.1) ...
  Installing for x86_64-efi platform.
  Installation finished. No error reported.
  W: APT had planned for dpkg to do more than it reported back (0 vs 4).
     Affected packages: grub-efi-amd64-signed:amd64

  That seemed to have worked but because of the warning at the end I reconfigured:
  > sudo dpkg-reconfigure grub-efi-amd64-signed
  Installing for x86_64-efi platform.
  Installation finished. No error reported.

  Seems to be ok now.

  So if the installation script could automatically mount the EFI
  partition then it should work.

  ProblemType: Package
  DistroRelease: Ubuntu 17.10
  Package: grub-efi-amd64-signed 1.85.1+2.02~beta3-4ubuntu7.1
  ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
  Uname: Linux 4.13.0-32-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.7-0ubuntu3.7
  Architecture: amd64
  Date: Wed Feb  7 11:05:48 2018
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2017-11-30 (68 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
  Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
  PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
  RelatedPackageVersions:
   dpkg 1.18.24ubuntu1
   apt  1.5.1
  SourcePackage: grub2-signed
  Title: package grub-efi-amd64-signed 1.85.1+2.02~beta3-4ubuntu7.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list