[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
Mon May 7 01:03:20 UTC 2018
Using Live_USB with reinstall option can fix the dependencies errors, even there was a grub2 error. After I reboot system, the grub2 error with shim-signed and grub-efi-amd64-signed errors.
I use `sudo apt install grub-pc` to solve the shim-signed error, and I found x86_64-efi directory's name changed to i386-pc.
And then I use the following solution to fixed the grub-refi-amd64-signed error:
```
sudo mount /dev/sda5 /mnt # 把root分区挂在/mnt目录,你可以通过ll /mnt查看其内容应该与ll /显示的是一样的内容
sudo mount /dev/sda1 /mnt/boot/efi # 挂在efi分区到引导目录中,挂在这一步你可以对比ll /mnt/boot/efi挂在前后的区别
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
apt-get install grub-efi-amd64
grub-install --recheck --no-floppy --force
echo "configfile (hd0,gpt#)/boot/grub.cfg" > /boot/efi/ubuntu/grub.cfg # 告诉grub从/boot加载grub.cfg
update-grub # 建立grub菜单列表
exit # 退出chroot模式
### 卸载挂在分区 ###
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt/sys
sudo umount /mnt/boot/efi
sudo umount /mnt/boot
```
After those two processing, there is no errors about efi.
Maybe there are some bugs in auto-upgrading from 16.04 LTS to 18.04 LTS. So I met some errors with `apt` method for upgrading.
--
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:
Invalid
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