package grub-efi-amd64-signed 1.93+2.02-2ubuntu8 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2-signed (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
thierry@
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... 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]
Setting up grub-efi-
Installing for x86_64-efi platform.
Could not delete variable: Invalid argument
grub-install: error: efibootmgr failed to register the boot entry: Block device required.
dpkg: error processing package grub-efi-
installed grub-efi-
Errors were encountered while processing:
grub-efi-
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: grub-efi-
ProcVersionSign
Uname: Linux 4.15.0-10-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
Date: Mon Mar 5 15:49:17 2018
ErrorMessage: installed grub-efi-
InstallationDate: Installed on 2017-11-17 (107 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
Python3Details: /usr/bin/python3.6, Python 3.6.4+, python3-minimal, 3.6.4-1
PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 2.7.14-4
RelatedPackageV
dpkg 1.19.0.5ubuntu1
apt 1.6~alpha7ubuntu2
SourcePackage: grub2-signed
Title: package grub-efi-
UpgradeStatus: Upgraded to bionic on 2018-03-01 (3 days ago)
Changed in grub2-signed (Ubuntu): | |
status: | Invalid → Incomplete |
I made a strace for the installation process and find the following error in a subprocess, which seems to be the cause.
strace -qf -o /tmp/grub_ installation. log dpkg --configure grub-efi- amd64-signed