Could not delete variable: Invalid argument (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) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Users experiencing this bug are most likely affected by <https:/
[Original Description]
Ubuntu 18.04 LTS (error while upgrading)
shim-signed:
Installed: 1.34.9+13-0ubuntu2
Candidate: 1.34.9+13-0ubuntu2
Version table:
*** 1.34.9+13-0ubuntu2 500
500 http://
100 /var/lib/
Issue occurred while doing a dist-upgrade from 17.10. to 18.04.
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
Architecture: amd64
Date: Fri Apr 27 20:23:29 2018
EFIBootMgr:
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001
Boot0000* Windows Boot Manager HD(1,GPT,
Boot0001* ubuntu HD(1,GPT,
EFITables:
apr 27 20:29:30 k2so kernel: efi: EFI v2.31 by American Megatrends
apr 27 20:29:30 k2so kernel: efi: ACPI=0xdae9b000 ACPI 2.0=0xdae9b000 SMBIOS=0xf0000
apr 27 20:29:30 k2so kernel: secureboot: Secure boot could not be determined (mode 0)
ErrorMessage: installed shim-signed package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-04-17 (9 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.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
SecureBoot: 6 0 0 0 0
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: Upgraded to bionic on 2018-04-27 (0 days ago)
The error in your log is:
Setting up shim-signed (1.34.9+ 13-0ubuntu2) ...
Installing for x86_64-efi platform.
File descriptor 3 (pipe:[1989611]) leaked on vgs invocation. Parent PID 2523: grub-install
File descriptor 5 (/dev/sda1) leaked on vgs invocation. Parent PID 2523: grub-install
File descriptor 3 (pipe:[1989611]) leaked on vgs invocation. Parent PID 2523: grub-install
File descriptor 5 (/dev/sda1) leaked on vgs invocation. Parent PID 2523: grub-install
Could not delete variable: Invalid argument
grub-install: error: efibootmgr failed to register the boot entry: Block device required.
dpkg: error processing package shim-signed (--configure):
installed shim-signed package post-installation script subprocess returned error exit status 1
It appears that there is a problem with your firmware that prevents shim from uploading the bootloader configuration variables. Is it possible that you are affected by https:/ /bugs.launchpad .net/ubuntu/ +source/ linux/+ bug/1734147 ?