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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Ran a software update and this happened.
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: linux-image-
ProcVersionSign
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:
ErrorMessage: run-parts: /etc/kernel/
InstallationDate: Installed on 2016-07-01 (300 days ago)
InstallationMedia: Ubuntu 14.04.4 LTS "Trusty Tahr" - Release amd64 (20160217.1)
RelatedPackageV
dpkg 1.17.5ubuntu5.7
apt 1.0.1ubuntu2.17
SourcePackage: grub
Title: package linux-image-
UpgradeStatus: No upgrade log present (probably fresh install)
The error in your log is:
/etc/default/grub: line 37: nouveau.modeset=0: command not found postinst. d/zz-update- grub exited with return code 127 postinst. d at /var/lib/ dpkg/info/ linux-image- 4.2.0-42- generic. postinst line 1025.
run-parts: /etc/kernel/
Failed to process /etc/kernel/
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.