[Bug 1250611] Re: shim-signed update unrecognized option
Rodolfo Aramayo
raramayo at gmail.com
Wed Nov 13 03:51:43 UTC 2013
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 <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
[ 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)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shim-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1250611
Title:
shim-signed update unrecognized option
Status in “shim-signed” package in Ubuntu:
Fix Released
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/shim-signed/+bug/1250611/+subscriptions
More information about the foundations-bugs
mailing list