[Bug 814363] [NEW] Install issue with postinst-script

Per-Arne Hellarvik 814363 at bugs.launchpad.net
Fri Jul 22 00:29:28 UTC 2011


Public bug reported:

The postinst-script does not use absolute path for the python2.7 binary. If you have another python2.7 binary in your path, it chooses this one.
Example:
I had a python2.7 binary compiled and installed into /usr/local/bin, and when I tried to apt-get install --reinstall python2.7 it chose /usr/local/bin/python2.7 to byte-compile the modules. This failed, since it was a different version of python2.7 (Minor version).

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: python2.7 2.7.1-5ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Fri Jul 22 02:23:21 2011
EcryptfsInUse: Yes
InstallationMedia: Xubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426.1)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_DK.UTF-8
 LC_MESSAGES=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: python2.7
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: python2.7 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug natty

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

Title:
  Install issue with postinst-script

Status in “python2.7” package in Ubuntu:
  New

Bug description:
  The postinst-script does not use absolute path for the python2.7 binary. If you have another python2.7 binary in your path, it chooses this one.
  Example:
  I had a python2.7 binary compiled and installed into /usr/local/bin, and when I tried to apt-get install --reinstall python2.7 it chose /usr/local/bin/python2.7 to byte-compile the modules. This failed, since it was a different version of python2.7 (Minor version).

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: python2.7 2.7.1-5ubuntu2
  ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
  Uname: Linux 2.6.38-10-generic x86_64
  NonfreeKernelModules: fglrx
  Architecture: amd64
  Date: Fri Jul 22 02:23:21 2011
  EcryptfsInUse: Yes
  InstallationMedia: Xubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426.1)
  ProcEnviron:
   LANGUAGE=en_US:en
   LANG=en_DK.UTF-8
   LC_MESSAGES=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: python2.7
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/814363/+subscriptions




More information about the foundations-bugs mailing list