[Bug 1768695] Re: 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
Qi Xin
1768695 at bugs.launchpad.net
Thu May 3 02:09:52 UTC 2018
After I switch off the UEFI in BIOS, saved the changes and reboot the system. I login the system and run the following command:
$ sudo apt upgrade
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.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up shim-signed (1.34.9+13-0ubuntu2) ...
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
Setting up grub-efi-amd64-signed (1.93+2.02-2ubuntu8) ...
grub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
shim-signed
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shim-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1768695
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
Status in shim-signed package in Ubuntu:
New
Bug description:
Report details:
when I upgrade from 16.04 LTS to 18.04 LTS at May 2, 2018 with the following commands:
1. sudo apt update
2. sudo apt upgrade
3. sudo apt dist-upgrade
4. sudo apt install update-manager-core
5. sudo do-release-upgrade -d
I met the lots of dependencies broken errors, and then I try to use a commond to fix the errors following:
1. sudo apt-get install -f
it's doesn't work.
So I try to reinstall the 18.04 LTS with USB IOS method, there is an
issues at install grub2 processing, there is a message popped up and
can't close it, so I power off and reboot manually.
The previous grub2 still works, I choose the first ubuntu option and login the 18.04 LTS system.
Finally crashed report popped up and I submit this report.
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: shim-signed 1.34.9+13-0ubuntu2
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
.proc.sys.kernel.moksbstate_disabled: Error: [Errno 2] No such file or directory: '/proc/sys/kernel/moksbstate_disabled'
ApportVersion: 2.20.9-0ubuntu7
AptOrdering:
shim:amd64: Install
shim-signed:amd64: Install
NULL: ConfigurePending
Architecture: amd64
BootEFIContents:
fw
fwupx64.efi
Date: Thu May 3 09:17:36 2018
EFIBootMgr: Error: command ['efibootmgr', '-v'] failed with exit code 2: EFI variables are not supported on this system.
EFITables: 5月 03 09:28:44 qixin fwupd[3028]: 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
RelatedPackageVersions:
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1768695/+subscriptions
More information about the foundations-bugs
mailing list