[Bug 1686567] Re: package linux-image-4.2.0-42-generic 4.2.0-42.49~14.04.1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127

Steve Langasek steve.langasek at canonical.com
Thu Apr 27 19:55:58 UTC 2017


The error in your log is:

/etc/default/grub: line 37: nouveau.modeset=0: command not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.2.0-42-generic.postinst line 1025.

This shows that you have a locally modified /etc/default/grub file which
is not a valid shell snippet.  This is not a bug in Ubuntu. Closing as
invalid.

** Changed in: grub (Ubuntu)
       Status: New => Invalid

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

Title:
  package linux-image-4.2.0-42-generic 4.2.0-42.49~14.04.1 failed to
  install/upgrade: run-parts: /etc/kernel/postinst.d/zz-update-grub
  exited with return code 127

Status in grub package in Ubuntu:
  Invalid

Bug description:
  Ran a software update and this happened.

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: linux-image-4.2.0-42-generic 4.2.0-42.49~14.04.1
  ProcVersionSignature: Ubuntu 4.2.0-41.48~14.04.1-generic 4.2.8-ckt11
  Uname: Linux 4.2.0-41-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.23
  Architecture: amd64
  Date: Wed Apr 26 17:52:28 2017
  DuplicateSignature: package:linux-image-4.2.0-42-generic:4.2.0-42.49~14.04.1:run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
  ErrorMessage: run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
  InstallationDate: Installed on 2016-07-01 (300 days ago)
  InstallationMedia: Ubuntu 14.04.4 LTS "Trusty Tahr" - Release amd64 (20160217.1)
  RelatedPackageVersions:
   dpkg 1.17.5ubuntu5.7
   apt  1.0.1ubuntu2.17
  SourcePackage: grub
  Title: package linux-image-4.2.0-42-generic 4.2.0-42.49~14.04.1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list