Bug 405261
Summary: | can't use yum after latest yum update | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Konstantin Svist <fry.kun> | ||||
Component: | yum | Assignee: | Jeremy Katz <katzj> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 8 | CC: | ffesti, james.antill, pmatilai, tim.lauridsen | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-12-02 01:37:31 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Konstantin Svist
2007-11-30 00:17:01 UTC
Created attachment 273441 [details]
List of last several packages that have been installed
right - your custom python version is polluting the library module paths for the system python. try this python -c "import sys; print sys.path" [root@mireille ~]# python -c "import sys; print sys.path" ['', '/usr/lib/python25.zip', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/Numeric', '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/site-packages/gst-0.10', '/usr/lib/python2.5/site-packages/gtk-2.0'] By the way, that doesn't change even if I explicitly set LD_LIBRARY_PATH=/usr/local/lib. Someone suggested I reinstall python-libs, but that didn't help either :( Update: I've discovered how to make the problem go away. Apparently, I needed to [re]move files /usr/local/lib/libpython2.5.so and /usr/local/lib/libpython2.5.so.1.0 to make the stock python work. I've checked that: * $LD_LIBRARY_PATH was not set * I was running /usr/bin/python * "import sys; print sys.path" doesn't mention any /usr/local directories * "import <some package that's only available in stock python>" works * "import <some package that's only available in custom python>" doesn't work So, it's really surprising that /usr/local/lib/libpython2.5.so would be used. Is this a bug or a "feature"? update: found that /usr/local/lib exists in my /etc/ld.so.conf |