[Bug 1772235] [NEW] package grub-pc 2.02-2ubuntu8 failed to install/upgrade: installed grub-pc package post-installation script subprocess returned error exit status 127

Zachary Stuck 1772235 at bugs.launchpad.net
Sun May 20 07:53:46 UTC 2018


Public bug reported:

Was attempting to update grub while diagnosing apci error on my Inspiron
7375 after updating BIOS from 1.04 to 1.1.0. Suddenly update-grub didn't
work anymore.

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: grub-pc 2.02-2ubuntu8
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
Date: Sun May 20 03:50:46 2018
DuplicateSignature:
 package:grub-pc:2.02-2ubuntu8
 Setting up grub-pc (2.02-2ubuntu8) ...
 /var/lib/dpkg/info/grub-pc.config: 1: /etc/default/grub: #: not found
 dpkg: error processing package grub-pc (--configure):
  installed grub-pc package post-installation script subprocess returned error exit status 127
ErrorMessage: installed grub-pc package post-installation script subprocess returned error exit status 127
InstallationDate: Installed on 2018-05-19 (0 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
InvalidGrubScript: /etc/default/grub
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=93fdf0b8-410b-435b-9509-adda2afb681a ro quiet splash acpi=off nomodeset
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt  1.6.1
SourcePackage: grub2
Title: package grub-pc 2.02-2ubuntu8 failed to install/upgrade: installed grub-pc package post-installation script subprocess returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package bionic

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

Title:
  package grub-pc 2.02-2ubuntu8 failed to install/upgrade: installed
  grub-pc package post-installation script subprocess returned error
  exit status 127

Status in grub2 package in Ubuntu:
  New

Bug description:
  Was attempting to update grub while diagnosing apci error on my
  Inspiron 7375 after updating BIOS from 1.04 to 1.1.0. Suddenly update-
  grub didn't work anymore.

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: grub-pc 2.02-2ubuntu8
  ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
  Uname: Linux 4.15.0-20-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7
  Architecture: amd64
  Date: Sun May 20 03:50:46 2018
  DuplicateSignature:
   package:grub-pc:2.02-2ubuntu8
   Setting up grub-pc (2.02-2ubuntu8) ...
   /var/lib/dpkg/info/grub-pc.config: 1: /etc/default/grub: #: not found
   dpkg: error processing package grub-pc (--configure):
    installed grub-pc package post-installation script subprocess returned error exit status 127
  ErrorMessage: installed grub-pc package post-installation script subprocess returned error exit status 127
  InstallationDate: Installed on 2018-05-19 (0 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  InvalidGrubScript: /etc/default/grub
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=93fdf0b8-410b-435b-9509-adda2afb681a ro quiet splash acpi=off nomodeset
  Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2
   apt  1.6.1
  SourcePackage: grub2
  Title: package grub-pc 2.02-2ubuntu8 failed to install/upgrade: installed grub-pc package post-installation script subprocess returned error exit status 127
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list