[Bug 2017842] Re: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 10

Dick Scheeringa 2017842 at bugs.launchpad.net
Fri Apr 28 00:20:25 UTC 2023


This is a multiple boot with Windows 10.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-signed in Ubuntu.
https://bugs.launchpad.net/bugs/2017842

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

Status in grub2-signed package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/2017842/+subscriptions




More information about the foundations-bugs mailing list