[Bug 1826050] Re: package grub-efi-amd64-signed 1.115+2.02+dfsg1-12ubuntu2 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
Eldon Rosenberg
1826050 at bugs.launchpad.net
Thu Jul 25 04:10:43 UTC 2019
Hey all,
Trying to be a helpful chap, I looked into a verbosity level 2 (-v2)
output of efibootmgr, which is what's executed by the post-installation
script of the grub-efi-amd64-signed package:
$ sudo efibootmgr -v2 -c -d /dev/sdb -p 2 -w -L ubuntu -l \EFI\ubuntu\shimx64.efi
Could not prepare Boot variable: Invalid argument
error trace:
util.h:325 get_file(): could not open file "/sys/devices/pci0000:00/firmware_node/uid" for reading: No such file or directory
util.h:325 get_file(): could not open file "/sys/devices/pci0000:00/firmware_node/uid" for reading: No such file or directory
util.h:325 get_file(): could not open file "/sys/devices/pci0000:00/firmware_node/uid" for reading: No such file or directory
efivarfs.c:435 efivarfs_set_variable(): writing to fd 3 failed: Invalid argument
lib.c:76 _efi_set_variable_mode(): ops->set_variable() failed: Invalid argument
efibootmgr.c:323 make_var(): efi_set_variable failed: Invalid argument
efibootmgr.c:333 make_var(): Could not set variable Boot0005: Invalid argument
...and I submit that this is likely caused by the bug in the efivar package documented as recently fixed at https://github.com/rhboot/efivar/issues/120, as it talks about the fact that the uid node doesn't exist, only hid and cid (in my case, Ubuntu 19.04 on a HP Probook 6550b with kernel 5.0.0-21-generic, it's hid only). I have libefivar1 version 37-2 installed.
** Bug watch added: github.com/rhboot/efivar/issues #120
https://github.com/rhboot/efivar/issues/120
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1826050
Title:
package grub-efi-amd64-signed 1.115+2.02+dfsg1-12ubuntu2 failed to
install/upgrade: installed grub-efi-amd64-signed package post-
installation script subprocess returned error exit status 1
Status in grub2-signed package in Ubuntu:
Confirmed
Bug description:
i dont know anythings about this bug!
ProblemType: Package
DistroRelease: Ubuntu 19.04
Package: grub-efi-amd64-signed 1.115+2.02+dfsg1-12ubuntu2
ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
Uname: Linux 5.0.0-13-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia wl
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
Date: Tue Apr 23 23:29:42 2019
ErrorMessage: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2019-03-26 (28 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
Python3Details: /usr/bin/python3.7, Python 3.7.3, python3-minimal, 3.7.3-1
PythonDetails: /usr/bin/python2.7, Python 2.7.16, python-minimal, 2.7.16-1
RelatedPackageVersions:
dpkg 1.19.6ubuntu1
apt 1.8.0
SourcePackage: grub2-signed
Title: package grub-efi-amd64-signed 1.115+2.02+dfsg1-12ubuntu2 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1826050/+subscriptions
More information about the foundations-bugs
mailing list