[Bug 1264153] [NEW] package grub-pc 2.00-19ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 126

schkovich schkovich at gmail.com
Wed Dec 25 20:28:09 UTC 2013


Public bug reported:

$ lsb_release -rd
Description:	Ubuntu 13.10
Release:	13.10

$ sudo apt-cache policy grub-pc
grub-pc:
  Installed: 2.00-19ubuntu2.1
  Candidate: 2.00-19ubuntu2.1
  Version table:
 *** 2.00-19ubuntu2.1 0
        500 http://archive.ubuntu.com/ubuntu/ saucy-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.00-19ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages

Expected: Update system (apt-get update && apt-get upgrade

What actually happened:
$ sudo apt-get upgrade 
[sudo] password for username: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up grub-pc (2.00-19ubuntu2.1) ...
/var/lib/dpkg/info/grub-pc.postinst: line 271: /usr/bin/sort: cannot execute binary file
/var/lib/dpkg/info/grub-pc.postinst: line 67: /usr/bin/sort: cannot execute binary file
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 126
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: grub-pc 2.00-19ubuntu2.1
ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
Uname: Linux 3.11.0-14-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
AptOrdering: grub-pc: Configure
Architecture: amd64
Date: Wed Dec 25 21:17:56 2013
DpkgTerminalLog:
 Setting up grub-pc (2.00-19ubuntu2.1) ...
 /var/lib/dpkg/info/grub-pc.postinst: line 271: /usr/bin/sort: cannot execute binary file
 /var/lib/dpkg/info/grub-pc.postinst: line 67: /usr/bin/sort: cannot execute binary file
 dpkg: error processing grub-pc (--configure):
  subprocess installed post-installation script returned error exit status 126
DuplicateSignature: package:grub-pc:2.00-19ubuntu2.1:subprocess installed post-installation script returned error exit status 126
ErrorMessage: subprocess installed post-installation script returned error exit status 126
InstallationDate: Installed on 2013-12-25 (0 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
ProcCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-14-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
SourcePackage: grub2
Title: package grub-pc 2.00-19ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 126
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-package saucy

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

Title:
  package grub-pc 2.00-19ubuntu2.1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 126

Status in “grub2” package in Ubuntu:
  New

Bug description:
  $ lsb_release -rd
  Description:	Ubuntu 13.10
  Release:	13.10

  $ sudo apt-cache policy grub-pc
  grub-pc:
    Installed: 2.00-19ubuntu2.1
    Candidate: 2.00-19ubuntu2.1
    Version table:
   *** 2.00-19ubuntu2.1 0
          500 http://archive.ubuntu.com/ubuntu/ saucy-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       2.00-19ubuntu2 0
          500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages

  Expected: Update system (apt-get update && apt-get upgrade

  What actually happened:
  $ sudo apt-get upgrade 
  [sudo] password for username: 
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Do you want to continue [Y/n]? y
  Setting up grub-pc (2.00-19ubuntu2.1) ...
  /var/lib/dpkg/info/grub-pc.postinst: line 271: /usr/bin/sort: cannot execute binary file
  /var/lib/dpkg/info/grub-pc.postinst: line 67: /usr/bin/sort: cannot execute binary file
  dpkg: error processing grub-pc (--configure):
   subprocess installed post-installation script returned error exit status 126
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 13.10
  Package: grub-pc 2.00-19ubuntu2.1
  ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
  Uname: Linux 3.11.0-14-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.2
  AptOrdering: grub-pc: Configure
  Architecture: amd64
  Date: Wed Dec 25 21:17:56 2013
  DpkgTerminalLog:
   Setting up grub-pc (2.00-19ubuntu2.1) ...
   /var/lib/dpkg/info/grub-pc.postinst: line 271: /usr/bin/sort: cannot execute binary file
   /var/lib/dpkg/info/grub-pc.postinst: line 67: /usr/bin/sort: cannot execute binary file
   dpkg: error processing grub-pc (--configure):
    subprocess installed post-installation script returned error exit status 126
  DuplicateSignature: package:grub-pc:2.00-19ubuntu2.1:subprocess installed post-installation script returned error exit status 126
  ErrorMessage: subprocess installed post-installation script returned error exit status 126
  InstallationDate: Installed on 2013-12-25 (0 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  MarkForUpload: True
  ProcCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-14-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
  SourcePackage: grub2
  Title: package grub-pc 2.00-19ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 126
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list