[Bug 1250611] Re: shim-signed update unrecognized option

Stéphane Graber stgraber at stgraber.org
Wed Nov 13 01:45:01 UTC 2013


Can you please provide the following:
 ls -l /sys/firmware
 dpkg -l | grep grub
 dpkg -l | grep shim

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

Title:
  shim-signed update unrecognized option

Status in “grub2” package in Ubuntu:
  Confirmed

Bug description:
  I am having a macbook with ubuntu 12.04. Just did sudo-apt-get update;
  sudo apt-get upgrade; This installs an updated version of the package
  shim-signed.

  However, upon updating shim-signed, grub complains that it cannot
  recognize the option `--target=x86_64-efi'. Seems very related to a
  recent update on shim-signed that has been pushed recently,
  https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1242417.

  Below the resulting error message:

  sudo apt-get update;

  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  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]? Y
  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
     --removable             the installation device is removable
     --bootloader-id=ID      the ID of bootloader.
     --uefi-secure-boot      install an image usable with UEFI Secure Boot
                             (only available if the grub-efi-amd64-signed
                             package is installed)
     --no-uefi-secure-boot   do not install an image usable with UEFI Secure
                             Boot, even if the system was currently started
                             using it

  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 <bug-grub at gnu.org>.
  dpkg: error processing 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)

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



More information about the foundations-bugs mailing list