installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 10

Bug #2017842 reported by Dick Scheeringa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2-signed (Ubuntu)
New
Undecided
Unassigned

Bug Description

sudo dpkg --configure -a
Setting up grub-efi-amd64-signed (1.187.3+2.06-2ubuntu14.1) ...
dpkg: error processing package grub-efi-amd64-signed (--configure):
 installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of shim-signed:
 shim-signed depends on grub-efi-amd64-signed (>= 1.187.2~) | grub-efi-arm64-signed (>= 1.187.2~); 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 unconfigured
Errors were encountered while processing:
 grub-efi-amd64-signed
 shim-signed
---------------------------------
copy of grub-efi-amd64-signed.postinst

#! /bin/sh
set -e

. /usr/share/debconf/confmodule

case $1 in
    configure)
 target=x86_64-efi
 # Check /boot/grub to see if we previously installed to an ESP. We don't
 # want to trigger the install code just by installing the package,
 # normally the installer installs grub itself first.
 if test -e /boot/grub/$target/core.efi; then
     if [ -x /usr/share/grub/grub-check-signatures ]; then
      /usr/share/grub/grub-check-signatures
     fi
     if [ -x /usr/lib/grub/grub-multi-install ]; then
      /usr/lib/grub/grub-multi-install --target=$target
     elif grub-install --help | grep -q 'auto-nvram'; then
      grub-install --target=$target --auto-nvram
     else
      grub-install --target=$target
     fi
 fi

 ;;
esac

Distributor ID: Ubuntu
Description: Ubuntu 22.10
Release: 22.10
Codename: kinetic

5.19.0-41-generic #42-Ubuntu SMP PREEMPT_DYNAMIC Mon Apr 17 19:17:03 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: grub-efi-amd64-signed 1.187.3+2.06-2ubuntu14.1
ProcVersionSignature: Ubuntu 5.19.0-41.42-generic 5.19.17
Uname: Linux 5.19.0-41-generic x86_64
ApportVersion: 2.23.1-0ubuntu3.2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu Apr 27 00:10:53 2023
InstallationDate: Installed on 2016-06-28 (2493 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
ProcEnviron:
 LANGUAGE=en_CA:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: grub2-signed
UpgradeStatus: Upgraded to kinetic on 2023-04-27 (0 days ago)

Revision history for this message
Dick Scheeringa (dscheeringa) wrote :
Revision history for this message
Dick Scheeringa (dscheeringa) wrote :

I will need assistance to determne where and which script actually fails.
I preserved these scripts do not have enough knowledge to do th problem determination.

D.S.

Revision history for this message
Dick Scheeringa (dscheeringa) wrote :

This is a multiple boot with Windows 10.

Revision history for this message
Dick Scheeringa (dscheeringa) wrote :
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.