I started having this issue after I upgraded from Ubuntu 18.04 to 19.10 (through 18.10 and 19.04), everytime I try to run apt upgrade (or apt-get upgrade). Here is an excerpt:
(When I was trying to install a new package, while an update was pending):
Unpacking atlassian-plugin-sdk (8.0.16) ...
Setting up grub-efi-amd64-signed (1.128.1+2.04-1ubuntu12.1) ...
Installing for x86_64-efi platform.
grub-install: warning: Cannot set EFI variable Boot0000.
grub-install: warning: efivarfs_set_variable: writing to fd 7 failed: Invalid argument.
grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: Invalid argument.
grub-install: error: failed to register the EFI boot entry: Invalid argument.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
Setting up atlassian-plugin-sdk (8.0.16) ...
If you previously installed a version prior to version 4.0, you will need to remove all references to the atlassian-plugin-sdk directory from your PATH environment variable.
dpkg: dependency problems prevent processing triggers for shim-signed:
shim-signed depends on grub-efi-amd64-signed | grub-efi-arm64-signed; however:
Package grub-efi-amd64-signed is not configured yet.
Package grub-efi-arm64-signed is not installed.
dpkg: error processing package shim-signed (--configure):
dependency problems - leaving triggers unprocessed
Errors were encountered while processing:
grub-efi-amd64-signed
shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
I started having this issue after I upgraded from Ubuntu 18.04 to 19.10 (through 18.10 and 19.04), everytime I try to run apt upgrade (or apt-get upgrade). Here is an excerpt:
(When I was trying to install a new package, while an update was pending): plugin- sdk (8.0.16) ... amd64-signed (1.128. 1+2.04- 1ubuntu12. 1) ... set_variable: writing to fd 7 failed: Invalid argument. variable_ mode: ops->set_variable() failed: Invalid argument. amd64-signed (--configure): amd64-signed package post-installation script subprocess returned error exit status 1 plugin- sdk (8.0.16) ... plugin- sdk directory from your PATH environment variable. amd64-signed | grub-efi- arm64-signed; however: amd64-signed is not configured yet. arm64-signed is not installed.
Unpacking atlassian-
Setting up grub-efi-
Installing for x86_64-efi platform.
grub-install: warning: Cannot set EFI variable Boot0000.
grub-install: warning: efivarfs_
grub-install: warning: _efi_set_
grub-install: error: failed to register the EFI boot entry: Invalid argument.
dpkg: error processing package grub-efi-
installed grub-efi-
Setting up atlassian-
If you previously installed a version prior to version 4.0, you will need to remove all references to the atlassian-
dpkg: dependency problems prevent processing triggers for shim-signed:
shim-signed depends on grub-efi-
Package grub-efi-
Package grub-efi-
dpkg: error processing package shim-signed (--configure): amd64-signed
dependency problems - leaving triggers unprocessed
Errors were encountered while processing:
grub-efi-
shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any clue on where I should start looking?