[Bug 2039981] Re: package shim-signed 1.54+15.7-0ubuntu1 failed to install/upgrade: dependency problems - leaving triggers unprocessed

Steve Langasek 2039981 at bugs.launchpad.net
Sun Nov 19 11:48:58 UTC 2023


The error in your log is: 
Setting up grub-efi-amd64-signed (1.193.2+2.06-2ubuntu17.2) ...
$MFTMirr does not match $MFT (record 3).
Failed to mount '/dev/sdb1': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.

It appears that /dev/sdb1 is failing to mount because it's an NTFS
filesystem that was not cleanly unmounted.

But the "not cleanly unmounted" is not really relevant here, because the
partitions grub is supposed to be mounting at this point are all VFAT
partitions (EFI System Partitions).  So the partition that grub knew was
an ESP at the time Ubuntu was installed, has been replaced with
something that isn't.

So this is not a bug in grub, but a broken system configuration.

You will need to reconfigure the grub package with the command `sudo
dpkg-reconfigure -grub-efi-amd64-signed` to tell grub where your ESP is
now.  (You must have one, because your dmesg output shows that you are
booted in EFI mode.)

** Changed in: shim-signed (Ubuntu)
       Status: New => Invalid

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

Title:
  package shim-signed 1.54+15.7-0ubuntu1 failed to install/upgrade:
  dependency problems - leaving triggers unprocessed

Status in shim-signed package in Ubuntu:
  Invalid

Bug description:
  dpkg: error processing package shim-signed (--configure):
   dependency problems - leaving triggers unprocessed
  Errors were encountered while processing:
   grub-efi-amd64-signed
   shim-signed
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 23.04
  Package: shim-signed 1.54+15.7-0ubuntu1
  ProcVersionSignature: Ubuntu 6.2.0-35.35-generic 6.2.16
  Uname: Linux 6.2.0-35-generic x86_64
  ApportVersion: 2.26.1-0ubuntu2
  AptOrdering: NULL: ConfigurePending
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Fri Oct 20 13:10:03 2023
  EFIBootMgr: Error: command ['efibootmgr', '-v'] failed with exit code 2: EFI variables are not supported on this system.
  ErrorMessage: dependency problems - leaving triggers unprocessed
  InstallationDate: Installed on 2023-08-19 (61 days ago)
  InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
  Missing: /boot/efi/EFI/ubuntu directory is missing
  Python3Details: /usr/bin/python3.11, Python 3.11.4, python3-minimal, 3.11.2-1
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.21.21ubuntu1
   apt  2.6.0ubuntu0.1
  SourcePackage: shim-signed
  Title: package shim-signed 1.54+15.7-0ubuntu1 failed to install/upgrade: dependency problems - leaving triggers unprocessed
  UpgradeStatus: Upgraded to lunar on 2023-09-04 (45 days ago)

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




More information about the foundations-bugs mailing list