package shim-signed 1.34.9+13-0ubuntu2 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shim-signed (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
While trying to upgrade from 16.04 LTS to 18.04 LTS received that error.
The upgrade failed.
I'm quite knowledgeable with Linux but I don't have any moree information.
Avigdor
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: shim-signed 1.34.9+13-0ubuntu2
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
.proc.sys.
ApportVersion: 2.20.9-0ubuntu7
AptOrdering:
shim:amd64: Install
shim-signed:amd64: Install
NULL: ConfigurePending
Architecture: amd64
BootEFIContents:
fw
fwupx64.efi
Date: Tue May 8 02:31:08 2018
Df:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda5 54465980 18570792 33105352 36% /
/dev/sr0 1876800 1876800 0 100% /cdrom
udev 1721580 0 1721580 0% /dev
tmpfs 348556 1464 347092 1% /run
EFIBootMgr: Error: command ['efibootmgr', '-v'] failed with exit code 2: EFI variables are not supported on this system.
EFITables: May 08 02:45:08 walnut fwupd[2426]: disabling plugin because: failed to startup uefi: UEFI firmware updating not supported
ErrorMessage: installed shim-signed package post-installation script subprocess returned error exit status 1
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.1
SourcePackage: shim-signed
Title: package shim-signed 1.34.9+13-0ubuntu2 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
Addition to Bug #1769770
I tried again, but got the same error.
root@walnut:~# apt install grub2 gfxpayload- lists grub-pc grub-pc-bin amd64-signed gfxpayload- lists grub-pc grub-pc-bin grub2 il.archive. ubuntu. com/ubuntu bionic/main amd64 grub-pc-bin amd64 2.02-2ubuntu8 [900 kB] il.archive. ubuntu. com/ubuntu bionic/main amd64 grub-pc amd64 2.02-2ubuntu8 [137 kB] il.archive. ubuntu. com/ubuntu bionic/main amd64 grub-gfxpayload -lists amd64 0.7 [3,658 B] il.archive. ubuntu. com/ubuntu bionic/universe amd64 grub2 amd64 2.02-2ubuntu8 [2,568 B] amd64-signed (1.93+2. 02-2ubuntu8) ... pc-bin_ 2.02-2ubuntu8_ amd64.deb ... pc_2.02- 2ubuntu8_ amd64.deb ... -lists. gfxpayload- lists_0. 7_amd64. deb ... -lists (0.7) ... 2.02-2ubuntu8_ amd64.deb ... 13-0ubuntu2) ... -lists (0.7) ... 4.15.0- 20-generic img-4.15. 0-20-generic 4.4.0-122- generic img-4.4. 0-122-generic 4.4.0-119- generic img-4.4. 0-119-generic +.elf +.bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
grub-
Suggested packages:
desktop-base
The following packages will be REMOVED:
grub-efi-amd64 grub-efi-
The following NEW packages will be installed:
grub-
0 upgraded, 4 newly installed, 2 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 1,043 kB of archives.
After this operation, 3,072 B disk space will be freed.
Do you want to continue? [Y/n]
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Fetched 1,043 kB in 8s (127 kB/s)
Preconfiguring packages ...
(Reading database ... 143877 files and directories currently installed.)
Removing grub-efi-
Removing grub-efi-amd64 (2.02-2ubuntu8) ...
Selecting previously unselected package grub-pc-bin.
(Reading database ... 143866 files and directories currently installed.)
Preparing to unpack .../grub-
Unpacking grub-pc-bin (2.02-2ubuntu8) ...
Selecting previously unselected package grub-pc.
Preparing to unpack .../grub-
Unpacking grub-pc (2.02-2ubuntu8) ...
Selecting previously unselected package grub-gfxpayload
Preparing to unpack .../grub-
Unpacking grub-gfxpayload
Selecting previously unselected package grub2.
Preparing to unpack .../grub2_
Unpacking grub2 (2.02-2ubuntu8) ...
Setting up grub-pc-bin (2.02-2ubuntu8) ...
Setting up shim-signed (1.34.9+
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
dpkg: error processing package shim-signed (--configure):
installed shim-signed package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.8.3-2) ...
Setting up grub-gfxpayload
Setting up grub-pc (2.02-2ubuntu8) ...
Installing for i386-pc platform.
Installation finished. No error reported.
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found memtest86+ image: /boot/memtest86
Found Windows 7 on /dev/sda1...