[Bug 1417802] Re: package linux-image-3.13.0-32-generic 3.13.0-32.57 failed to install/upgrade: run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127

Steve Langasek steve.langasek at canonical.com
Tue Feb 3 23:12:12 UTC 2015


The error in your logs is:

Searching for GRUB installation directory ... found: /boot/grub
/etc/default/grub: Zeile 1: <U+FEFF>#: Kommando nicht gefunden.
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127

You have manually edited the /etc/default/grub file, and broken it by
making it an invalid shell script.  You will need to fix this to remove
the Unicode BOM character from the start of the file and rerun your
upgrade.

** 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/1417802

Title:
  package linux-image-3.13.0-32-generic 3.13.0-32.57 failed to
  install/upgrade: run-parts: /etc/kernel/postrm.d/zz-update-grub exited
  with return code 127

Status in grub package in Ubuntu:
  Invalid

Bug description:
  After updating my system (ubuntu 14.04) LTS the problem occured.

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-32-generic 3.13.0-32.57
  ProcVersionSignature: Ubuntu 3.13.0-44.73-generic 3.13.11-ckt12
  Uname: Linux 3.13.0-44-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  wolfgang   1608 F.... pulseaudio
   /dev/snd/controlC0:  wolfgang   1608 F.... pulseaudio
  Date: Tue Feb  3 23:46:47 2015
  DuplicateSignature: package:linux-image-3.13.0-32-generic:3.13.0-32.57:run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
  ErrorMessage: run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
  HibernationDevice: RESUME=UUID=0083e4dc-4679-4b6c-af55-3ba64363b410
  InstallationDate: Installed on 2015-01-14 (20 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
  IwConfig:
   eth0      no wireless extensions.
   
   lo        no wireless extensions.
  MachineType: Acer Aspire M3870
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-44-generic root=UUID=753e12d0-233d-456d-845c-73be20608bb0 ro quiet splash
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions: grub-pc N/A
  RfKill:
   
  SourcePackage: grub
  SystemImageInfo: Error: [Errno 2] Datei oder Verzeichnis nicht gefunden: 'system-image-cli'
  Title: package linux-image-3.13.0-32-generic 3.13.0-32.57 failed to install/upgrade: run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/08/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P01-A1
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: Aspire M3870
  dmi.board.vendor: Acer
  dmi.chassis.type: 3
  dmi.chassis.vendor: Acer
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP01-A1:bd04/08/2010:svnAcer:pnAspireM3870:pvr:rvnAcer:rnAspireM3870:rvr:cvnAcer:ct3:cvr:
  dmi.product.name: Aspire M3870
  dmi.sys.vendor: Acer

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



More information about the foundations-bugs mailing list