[Bug 2052643] Re: upgrading to 23.10 failed package grub-efi-amd64-signed 1.197+2.12~rc1-10ubuntu4 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1

Nelson Minar 2052643 at bugs.launchpad.net
Mon Jul 8 17:43:58 UTC 2024


I suggest closing this bug report. I think there's a bug in how the GRUB
configure scripts handle this kind of error but it's unrealistic
anyone's going to fix it in this old version. I've given up trying to
upgrade my system.

FWIW I managed to get dpkg to reconfigure and find a new path for GRUB.
I didn't do this carefully (I was trying suggestions from an AI) but I
seem to have successfully convinced GRUB to stop using the old
/dev/disk/by-id/ path and use /dev/vba1 instead. It picked this path on
its own.

$ echo "grub-efi grub-efi/install_devices select" | sudo debconf-set-selections
$ dpkg-reconfigure grub-efi-amd64

After doing this I could reconfigure grub-efi-amd64 and reboot with no
problems. GRUB seems to be working in 23.04. I then did an apt full-
upgrade to 23.10 which looked like it worked (I had to hack this update
without do-release-upgrade.). But then the system failed to boot, the
UEFI BIOS didn't like whatever it found for GRUB. I don't know if that's
because I screwed up something else or my GRUB config is to blame.

-- 
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/2052643

Title:
  upgrading to 23.10 failed package grub-efi-amd64-signed
  1.197+2.12~rc1-10ubuntu4 failed to install/upgrade: installed grub-
  efi-amd64-signed package post-installation script subprocess returned
  error exit status 1

Status in grub2-signed package in Ubuntu:
  New

Bug description:
  VM running under Proxmox

  ProblemType: Package
  DistroRelease: Ubuntu 23.10
  Package: grub-efi-amd64-signed 1.197+2.12~rc1-10ubuntu4
  ProcVersionSignature: Ubuntu 6.2.0-39.40-generic 6.2.16
  Uname: Linux 6.2.0-39-generic x86_64
  ApportVersion: 2.27.0-0ubuntu5
  Architecture: amd64
  CasperMD5CheckResult: pass
  CloudArchitecture: x86_64
  CloudID: none
  CloudName: none
  CloudPlatform: none
  CloudSubPlatform: config
  Date: Wed Feb  7 15:16:48 2024
  DuplicateSignature:
   package:grub-efi-amd64-signed:1.197+2.12~rc1-10ubuntu4
   Setting up grub-efi-amd64-signed (1.197+2.12~rc1-10ubuntu4) ...
   Unknown device "/dev/disk/by-id/*": No such device
   dpkg: error processing package grub-efi-amd64-signed (--configure):
    installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
  ErrorMessage: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2022-08-09 (547 days ago)
  InstallationMedia: Ubuntu-Server 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220421)
  Python3Details: /usr/bin/python3.11, Python 3.11.6, python3-minimal, 3.11.4-5
  PythonDetails: /usr/bin/python3.11, Python 3.11.6, python-is-python3, 3.11.4-1
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.22.0ubuntu1
   apt  2.7.3
  SourcePackage: grub2-signed
  Title: package grub-efi-amd64-signed 1.197+2.12~rc1-10ubuntu4 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
  UpgradeStatus: Upgraded to mantic on 2024-02-07 (0 days ago)

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




More information about the foundations-bugs mailing list