shim-signed only half-configured following ubuntu upgrade to 16.04

Bug #1580217 reported by eddy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shim-signed (Ubuntu)
New
Undecided
Unassigned

Bug Description

System was working fine, just upgraded to 16.04. There were errors during installation and apt now reports that shim-signed isn't properly installed with error
grub-install: error: cannot find EFI directory.

> sudo apt-get install shim-signed
Reading package lists... Done
Building dependency tree
Reading state information... Done
shim-signed is already the newest version (1.12+0.8-0ubuntu2).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up shim-signed (1.12+0.8-0ubuntu2) ...
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
dpkg: error processing package shim-signed (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)

> lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04

> apt-cache policy shim-signed
shim-signed:
  Installed: 1.12+0.8-0ubuntu2
  Candidate: 1.12+0.8-0ubuntu2
  Version table:
 *** 1.12+0.8-0ubuntu2 500
        500 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

I've checked a couple of existing shim-signed bugs; they seem to focus on the /boot/efi directory being missing, but I have one:
> du /boot/eft
4 /boot/efi/EFI/ubuntu/fw
72 /boot/efi/EFI/ubuntu
76 /boot/efi/EFI
80 /boot/efi/

> df /boot
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb4 28704764 8583044 18640556 32% /

Revision history for this message
Dan Bourguignon (danbo62) wrote :

Also seeing this issue.
Windows 10 Dual-boot with Ubuntu LTS version.

Log: /var/dpkg.log

2016-12-19 10:53:03 startup packages configure
2016-12-19 10:53:03 configure shim-signed:amd64 1.19~16.04.1+0.8-0ubuntu2 <none>
2016-12-19 10:53:03 status half-configured shim-signed:amd64 1.19~16.04.1+0.8-

The software updater remains hung until I have to manually kill it.

This is a recent installation Ubuntu.

Revision history for this message
Hein Oldewage (neoin) wrote :

I also had this problem when switching over to Nvidia drivers.

The problem was that one package required interaction from the user.

Killing the update/install and running
sudo dpkg --configure -a

to finish it through command line worked.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.