Looks good to me. ** Description changed:
[Impact] Anyone who has a locally built python in /usr/local as well as the Ubuntu package with the same version. This is something that Debian/Ubuntu's python approach intends to support. [Development Fix] This bug was fixed upstream very soon after the version of python-defaults we ended up with in natty. [Stable Fix] The patch is trivial, call python with an absolute path, instead of relying on $PATH. [Text Case] 1. Install python-all 2. Build and install cpython from source - OR - echo -e '#!/bin/sh\nexit 1' > /usr/local/bin/python2.7 - chmod +x /usr/local/bin/python2.7 + OR + echo -e '#!/bin/sh\nexit 1' > /usr/local/bin/python2.6 + chmod +x /usr/local/bin/python2.6 3. Install a python package such as python-beautifulsoup Success: It works Failure: An error while setting up python-beautifulsoup [Regression Potential] Patch is simple enough that I can't see any. The risk of any rebuild at all is higher than the impact of this patch. [Original Report] Problem installing - sudo apt-get install linaro-image-tools ProblemType: Package DistroRelease: Ubuntu 11.04 Package: python-beautifulsoup 3.2.0-1 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: nvidia Architecture: amd64 Date: Thu Jan 12 13:54:21 2012 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1) PackageArchitecture: all SourcePackage: beautifulsoup Title: package python-beautifulsoup 3.2.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/915167 Title: pycompile will use /usr/local/bin/python2.X if available and python2.X is installed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/915167/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
