Comment 6 for bug 1250611

Revision history for this message
Rodolfo Aramayo (raramayo) wrote :

I continue to see the problem on a MacMini Running Ubuntu 12.04

I get:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  shim-signed
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/434 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up shim-signed (1.5~12.04.1+0.4-0ubuntu4) ...
Unrecognized option `--target=x86_64-efi'
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.

  -h, --help print this message and exit
  -v, --version print the version information and exit
  --modules=MODULES pre-load specified modules MODULES
  --boot-directory=DIR install GRUB images under the directory DIR/grub
                          instead of the /boot/grub directory
  --grub-setup=FILE use FILE as grub-setup
  --grub-mkimage=FILE use FILE as grub-mkimage
  --grub-mkrelpath=FILE use FILE as grub-mkrelpath
  --grub-mkdevicemap=FILE use FILE as grub-mkdevicemap
  --grub-probe=FILE use FILE as grub-probe
  --no-floppy do not probe any floppy drive
  --allow-floppy Make the drive also bootable as floppy
                          (default for fdX devices). May break on some BIOSes.
  --recheck probe a device map even if it already exists
  --force install even if problems are detected
  --disk-module=MODULE disk module to use

INSTALL_DEVICE can be a GRUB device name or a system device filename.

grub-install copies GRUB images into /boot/grub, and uses grub-setup
to install grub into the boot sector.

Report bugs to <email address hidden>.
dpkg: error processing shim-signed (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 shim-signed
[ Rootkit Hunter version 1.3.8 ]
File updated: searched for 166 files, found 136
E: Sub-process /usr/bin/dpkg returned an error code (1)

Other details:

# ls -l /sys/firmware
total 0
drwxr-xr-x 4 root root 0 Nov 9 20:18 acpi
drwxr-xr-x 4 root root 0 Nov 8 09:07 efi
drwxr-xr-x 26 root root 0 Nov 9 20:18 memmap

# dpkg -l | grep grub
rc grub 0.97-29ubuntu66 GRand Unified Bootloader (Legacy version)
ii grub-common 1.99-21ubuntu3.10 GRand Unified Bootloader (common files)
rc grub-efi-amd64 1.99-21ubuntu3.10 GRand Unified Bootloader, version 2 (EFI-AMD64 version)
ii grub-efi-amd64-bin 1.99-21ubuntu3.10 GRand Unified Bootloader, version 2 (EFI-AMD64 binaries)
ii grub-gfxpayload-lists 0.6 GRUB gfxpayload blacklist
ii grub-pc 1.99-21ubuntu3.10 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub-pc-bin 1.99-21ubuntu3.10 GRand Unified Bootloader, version 2 (PC/BIOS binaries)
ii grub2 1.99-21ubuntu3.10 GRand Unified Bootloader, version 2 (dummy package)
ii grub2-common 1.99-21ubuntu3.10 GRand Unified Bootloader (common files for version 2)

# dpkg -l | grep shim
ii shim 0.4-0ubuntu4 boot loader to chain-load signed boot loaders under Secure Boot
iF shim-signed 1.5~12.04.1+0.4-0ubuntu4 Secure Boot chain-loading bootloader (Microsoft-signed binary)