[Bug 996960] [NEW] package grub-pc 1.98-1ubuntu13 failed to install/upgrade: subprocess installed post-installation script returned error exit status 126

TORNADO tornado.torn at gmail.com
Wed May 9 07:34:51 UTC 2012


Public bug reported:

-------------
localuser at ubuntu-ald:~$ lsb_release -rd
Description:	Ubuntu 10.04.4 LTS
Release:	10.04
localuser at ubuntu-ald:~$ apt-cache policy grub-pc
grub-pc:
  Installed: 1.98-1ubuntu13
  Candidate: 1.98-1ubuntu13
-------------

I've tried to update a pretty old 10.04 installation to the most fresh.
Upgrade of grub-pc package was unsuccessful.

After reboot I've tried one more time:
----------
localuser at ubuntu-ald:~$ sudo apt-get install grub-pc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
grub-pc is already the newest version.
grub-pc set to manually installed.
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.32-33-generic linux-headers-2.6.32-21
  linux-headers-2.6.32-33 linux-headers-2.6.32-21-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up grub-pc (1.98-1ubuntu13) ...
/var/lib/dpkg/info/grub-pc.config: line 48: .: /etc/default/grub: cannot execute binary file
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 126
Errors were encountered while processing:
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
localuser at ubuntu-ald:~$ sudo dpkg-reconfigure grub
Package `grub' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: grub is not installed
localuser at ubuntu-ald:~$ 
-------------

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: grub-pc 1.98-1ubuntu13
ProcVersionSignature: Ubuntu 2.6.32-41.88-generic 2.6.32.59+drm33.24
Uname: Linux 2.6.32-41-generic i686
Architecture: i386
Date: Wed May  9 09:19:43 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 126
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
SourcePackage: grub2
Title: package grub-pc 1.98-1ubuntu13 failed to install/upgrade: subprocess installed post-installation script returned error exit status 126

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


** Tags: apport-package i386 lucid

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

Title:
  package grub-pc 1.98-1ubuntu13 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 126

Status in “grub2” package in Ubuntu:
  New

Bug description:
  -------------
  localuser at ubuntu-ald:~$ lsb_release -rd
  Description:	Ubuntu 10.04.4 LTS
  Release:	10.04
  localuser at ubuntu-ald:~$ apt-cache policy grub-pc
  grub-pc:
    Installed: 1.98-1ubuntu13
    Candidate: 1.98-1ubuntu13
  -------------

  I've tried to update a pretty old 10.04 installation to the most fresh.
  Upgrade of grub-pc package was unsuccessful.

  After reboot I've tried one more time:
  ----------
  localuser at ubuntu-ald:~$ sudo apt-get install grub-pc
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  grub-pc is already the newest version.
  grub-pc set to manually installed.
  The following packages were automatically installed and are no longer required:
    linux-headers-2.6.32-33-generic linux-headers-2.6.32-21
    linux-headers-2.6.32-33 linux-headers-2.6.32-21-generic
  Use 'apt-get autoremove' to remove them.
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  After this operation, 0B of additional disk space will be used.
  Setting up grub-pc (1.98-1ubuntu13) ...
  /var/lib/dpkg/info/grub-pc.config: line 48: .: /etc/default/grub: cannot execute binary file
  dpkg: error processing grub-pc (--configure):
   subprocess installed post-installation script returned error exit status 126
  Errors were encountered while processing:
   grub-pc
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  localuser at ubuntu-ald:~$ sudo dpkg-reconfigure grub
  Package `grub' is not installed and no info is available.
  Use dpkg --info (= dpkg-deb --info) to examine archive files,
  and dpkg --contents (= dpkg-deb --contents) to list their contents.
  /usr/sbin/dpkg-reconfigure: grub is not installed
  localuser at ubuntu-ald:~$ 
  -------------

  ProblemType: Package
  DistroRelease: Ubuntu 10.04
  Package: grub-pc 1.98-1ubuntu13
  ProcVersionSignature: Ubuntu 2.6.32-41.88-generic 2.6.32.59+drm33.24
  Uname: Linux 2.6.32-41-generic i686
  Architecture: i386
  Date: Wed May  9 09:19:43 2012
  ErrorMessage: subprocess installed post-installation script returned error exit status 126
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  SourcePackage: grub2
  Title: package grub-pc 1.98-1ubuntu13 failed to install/upgrade: subprocess installed post-installation script returned error exit status 126

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




More information about the foundations-bugs mailing list