package grub-efi-amd64-signed 1.187.2~20.04.2+2.06-2ubuntu14 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32

Bug #2006068 reported by Magnus Larsson
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
grub2-signed (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Stopping some services possibly affected by the upgrade (will be restarted later):
  cron: stopping...done.

Unpacking libc6:amd64 (2.35-0ubuntu3.1) over (2.31-0ubuntu9.9) ...

Progress: [ 10%]
Setting up libc6:amd64 (2.35-0ubuntu3.1) ...
Checking for services that may need to be restarted...
Checking init scripts...
Restarting services possibly affected by the upgrade:
  cron: restarting...done.
  atd: restarting...done.

Services restarted successfully.

Progress: [ 16%]
(Reading database ... 109028 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.35-0ubuntu3.1_amd64.deb ...
Unpacking libc-bin (2.35-0ubuntu3.1) over (2.31-0ubuntu9.9) ...

Progress: [ 21%]
Setting up libc-bin (2.35-0ubuntu3.1) ...

Progress: [ 27%]
Selecting previously unselected package libtirpc-common.
(Reading database ... 109026 files and directories currently installed.)
Preparing to unpack .../libtirpc-common_1.3.2-2ubuntu0.1_all.deb ...
Unpacking libtirpc-common (1.3.2-2ubuntu0.1) ...

Progress: [ 32%]
Selecting previously unselected package libtirpc3:amd64.
Preparing to unpack .../libtirpc3_1.3.2-2ubuntu0.1_amd64.deb ...
Unpacking libtirpc3:amd64 (1.3.2-2ubuntu0.1) ...
Selecting previously unselected package libnsl2:amd64.
Preparing to unpack .../libnsl2_1.3.0-2build2_amd64.deb ...

Progress: [ 38%]
Unpacking libnsl2:amd64 (1.3.0-2build2) ...
Selecting previously unselected package libnss-nis:amd64.
Preparing to unpack .../libnss-nis_3.1-0ubuntu6_amd64.deb ...

Progress: [ 43%]
Unpacking libnss-nis:amd64 (3.1-0ubuntu6) ...
Selecting previously unselected package libnss-nisplus:amd64.
Preparing to unpack .../libnss-nisplus_1.3-0ubuntu6_amd64.deb ...

Progress: [ 48%]
Unpacking libnss-nisplus:amd64 (1.3-0ubuntu6) ...
Setting up grub-efi-amd64-signed (1.187.2~20.04.2+2.06-2ubuntu14) ...

Progress: [ 53%]
mount: /var/lib/grub/esp: special device /dev/disk/by-id/nvme-VMware_Virtual_NVMe_Disk_VMWare_NVME_0000-part1 does not exist.
dpkg: error processing package grub-efi-amd64-signed (--configure):
 installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
Setting up libtirpc-common (1.3.2-2ubuntu0.1) ...
Setting up locales (2.35-0ubuntu3.1) ...
Installing new version of config file /etc/locale.alias ...

Progress: [ 58%]
Generating locales (this might take a while)...
  en_US.UTF-8...ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/grub-efi-amd64-signed.0.crash'
                                                                                                                done
Generation complete.

Progress: [ 64%]
dpkg: dependency problems prevent configuration of shim-signed:
 shim-signed depends on grub-efi-amd64-signed | grub-efi-arm64-signed; 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
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Setting up libtirpc3:amd64 (1.3.2-2ubuntu0.1) ...

Progress: [ 69%]
Setting up libnsl2:amd64 (1.3.0-2build2) ...

Progress: [ 74%]
Setting up libnss-nisplus:amd64 (1.3-0ubuntu6) ...

Progress: [ 79%]
Setting up libnss-nis:amd64 (3.1-0ubuntu6) ...

Progress: [ 84%]
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...

Progress: [ 89%]
Errors were encountered while processing:
 grub-efi-amd64-signed
 shim-signed
Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1)

*** Send problem report to the developers?

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

What would you like to do? Your options are:
  S: Send report (179.8 KB)
  V: View report
  K: Keep report file for sending later or copying to somewhere else
  I: Cancel and ignore future crashes of this program version
  C: Cancel
Please choose (S/V/K/I/C): s

*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
.....

*** Uploading problem information

The collected information is being sent to the bug tracking system.
This might take a few minutes.
99%

*** To continue, you must visit the following URL:

  https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+filebug/e092512e-a5af-11ed-abbe-40a8f0308420?field.title=package+grub-efi-amd64-signed+1.187.2~20.04.2%2B2.06-2ubuntu14+failed+to+install%2Fupgrade%3A+installed+grub-efi-amd64-signed+package+post-installation+script+subprocess+returned+error+exit+status+32

You can launch a browser now, or copy this URL into a browser on another computer.

Choices:
  1: Launch a browser now
  C: Cancel
Please choose (1/C):

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: grub-efi-amd64-signed 1.187.2~20.04.2+2.06-2ubuntu14
ProcVersionSignature: Ubuntu 5.4.0-137.154-generic 5.4.218
Uname: Linux 5.4.0-137-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.25
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sun Feb 5 17:49:47 2023
DuplicateSignature:
 package:grub-efi-amd64-signed:1.187.2~20.04.2+2.06-2ubuntu14
 Setting up grub-efi-amd64-signed (1.187.2~20.04.2+2.06-2ubuntu14) ...
 mount: /var/lib/grub/esp: special device /dev/disk/by-id/nvme-VMware_Virtual_NVMe_Disk_VMWare_NVME_0000-part1 does not exist.
 dpkg: error processing package grub-efi-amd64-signed (--configure):
  installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
ErrorMessage: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
InstallationDate: Installed on 2021-04-13 (663 days ago)
InstallationMedia: Ubuntu-Server 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3.2
 apt 2.0.9
SourcePackage: grub2-signed
Title: package grub-efi-amd64-signed 1.187.2~20.04.2+2.06-2ubuntu14 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
UpgradeStatus: Upgraded to focal on 2023-02-05 (0 days ago)

Revision history for this message
Magnus Larsson (magnj) 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
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.