[Bug 1707832] Re: package shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Steve Langasek steve.langasek at canonical.com
Wed Aug 2 22:41:27 UTC 2017


Thanks, the trace shows:

open("/boot/efi/EFI/ubuntu/mach_kernel", O_RDWR) = -1 ENOENT (No such file or directory)
write(2, "grub-install: error:", 20)    = 20
write(2, " ", 1)                        = 1
write(2, "Can't create file: No such file or directory", 44) = 44

I notice that your /boot/efi directory has a /boot/efi/EFI/Ubuntu
16.04.2 LTS/mach_kernel, but not a /boot/efi/EFI/ubuntu/mach_kernel
which is the directory that Ubuntu's GRUB expects to use.

If you copy /boot/efi/EFI/Ubuntu 16.04.2 LTS/mach_kernel to
/boot/efi/EFI/ubuntu/mach_kernel, does the package install then succeed?

Full disclosure, I have no idea at all if this might make your system
unbootable.  A successful grub-install may overwrite the Apple-specific
EFI boot variables with something other than what the system expects.

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

Title:
  package shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
  failed to install/upgrade: subprocess installed post-installation
  script returned error exit status 1

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  I tried to update ubuntu and I got this error message. I am using
  MacBook late 2007 with lubuntu 16.04 LTS 64bit.

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-87.110-generic 4.4.73
  Uname: Linux 4.4.0-87-generic x86_64
  .proc.sys.kernel.moksbstate_disabled: 0
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: amd64
  BootEFIContents:
   fw
   fwupx64.efi
   System
  Date: Mon Jul 31 17:22:53 2017
  EFIBootMgr:
   BootCurrent: 0000
   Timeout: 0 seconds
   BootOrder: 0004
   Boot0004* Ubuntu 16.04.2 LTS	HD(1,GPT,6aa06c3c-cd2f-477e-a7a8-01871ef8de84,0x800,0x100000)/File(\System\Library\CoreServices)
   BootFFFF* 	PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(1,GPT,6aa06c3c-cd2f-477e-a7a8-01871ef8de84,0x800,0x100000)/File(\EFI\Ubuntu 16.04.2 LTS\System\Library\CoreServices\boot.efi)
  EFITables:
   Jul 31 08:51:10 asuka kernel: efi: EFI v1.10 by Apple
   Jul 31 08:51:10 asuka kernel: efi:  ACPI=0xbeeee000  ACPI 2.0=0xbeeee014  SMBIOS=0xbeec3000
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2017-05-10 (82 days ago)
  InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.2
   apt  1.2.20
  SourcePackage: shim-signed
  Title: package shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list