package grub-efi-amd64-signed 1.155.4+2.04-1ubuntu35.4 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1

Bug #1917174 reported by Matheus Bordin Gomes
54
This bug affects 12 people
Affects Status Importance Assigned to Milestone
grub2-signed (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I didn't notice anything wrong, beside the window with the bug report.

ProblemType: Package
DistroRelease: Ubuntu 20.10
Package: grub-efi-amd64-signed 1.155.4+2.04-1ubuntu35.4
ProcVersionSignature: Ubuntu 5.8.0-44.50-generic 5.8.18
Uname: Linux 5.8.0-44-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu50.5
Architecture: amd64
CasperMD5CheckResult: skip
Date: Wed Feb 24 12:18:03 2021
ErrorMessage: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
Python3Details: /usr/bin/python3.8, Python 3.8.6, python3-minimal, 3.8.6-0ubuntu1
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.20.5ubuntu2
 apt 2.1.10ubuntu0.2
SourcePackage: grub2-signed
Title: package grub-efi-amd64-signed 1.155.4+2.04-1ubuntu35.4 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)

Revision history for this message
Matheus Bordin Gomes (matheusbordingomes) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub2-signed (Ubuntu):
status: New → Confirmed
Revision history for this message
geole0 (geole0) wrote :

Hello
So, in chroot mode
root@ubuntu:/# grub-install -
Installation pour la plate-forme x86_64-efi.
grub-install : attention : Cannot read EFI Boot* variables.
grub-install : attention : read_file: could not read from file: Erreur d'entrée/sortie.
grub-install : attention : vars_get_variable: read_file(/sys/firmware/efi/vars/Boot002A-8be4df61-93ca-11d2-aa0d-00e098032b8c/raw_var) failed: Erreur d'entrée/sortie.
grub-install : attention : efi_get_variable: ops->get_variable failed: Erreur d'entrée/sortie.
grub-install : erreur : failed to register the EFI boot entry: Erreur d'entrée/sortie.

Revision history for this message
geole0 (geole0) wrote :

Under liveusb and during installation

ubuntu@ubuntu:journalctl -g attention
-- Logs begin at Tue 2021-03-02 19:51:25 CET, end at Wed 2021-03-03 10:34:34 CET. --
mars 03 00:41:32 ubuntu ubiquity[59340]: grub-install : attention : Cannot read EFI Boot* variables.
mars 03 00:41:32 ubuntu ubiquity[59340]: grub-install : attention :
mars 03 00:41:32 ubuntu ubiquity[59340]: grub-install : attention : vars_get_variable: read_file(/sys/firmware/efi/vars/Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c/r>
mars 03 00:41:32 ubuntu ubiquity[59340]: grub-install : attention : efi_get_variable: ops->get_variable failed: Erreur d'entrée/sortie.
lines 1-5/5 (END)

ubuntu@ubuntu:/target/sys/firmware/efi/vars/Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c$ ls -ls
total 0
0 -r-------- 1 root root 4096 mars 3 10:30 attributes
0 -r-------- 1 root root 4096 mars 3 10:30 data
0 -r-------- 1 root root 4096 mars 3 10:30 guid
0 -rw------- 1 root root 4096 mars 3 10:30 raw_var
0 -r-------- 1 root root 4096 mars 3 10:30 size
ubuntu@ubuntu:/target/sys/firmware/efi/vars/Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c$

Revision history for this message
geole0 (geole0) wrote :

Hello
It seeems that it is the same thing with hirsute!
https://forum.ubuntu-fr.org/viewtopic.php?pid=22427092#p22427092

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.