yum does not work any more (Philipp Walderdorff)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>Hmm, shot in the dark here, but I'd guess this is your issue. It
>appears you've updated python, and installed it to /usr/local. Most
>yum enabled distros use python in /usr/lib/python-2.X/os.py

Yes, this sounds well:

I had updated Python on a Fedora Core 3 
to Python 2.5.1 (r251:54863, Oct 23 2007, 13:37:11)


usr/local/lib/python2.5/os.pyc
/usr/local/lib/python2.5/os.pyo
/usr/local/lib/python2.4/os.py
/usr/local/lib/python2.4/os.pyc
/usr/local/lib/python2.4/os.pyo
/usr/local/lib/python2.5/os.pyc
/usr/local/lib/python2.5/os.pyo
/usr/lib/python2.3/os.pyc
/usr/lib/python2.3/os.pyo


So how can I do correct??????????????????????????????????
make a link from /usr/lib/python2.3 to usr/local/lib/python2.5 
OR make a link from /usr/lib/python2.5 to usr/local/lib/python2.5 
OR copy /usr/local/lib/python2.5 to /usr/lib/   

OR tell yum to use     /usr/local/lib/python2.5                            
????????????????????????????????????????????????????????

===================================8<=====================
[erwin@philipp ~]$ locate os.py |grep lib

/usr/local/lib/python2.4/os.py
/usr/local/lib/python2.4/test/test_os.py
/usr/local/lib/python2.4/test/test_os.pyc
/usr/local/lib/python2.4/test/test_os.pyo
/usr/local/lib/python2.4/os.pyc
/usr/local/lib/python2.4/os.pyo
/usr/local/lib/python2.4/encodings/palmos.py
/usr/local/lib/python2.4/encodings/palmos.pyo
/usr/local/lib/python2.4/encodings/palmos.pyc
/usr/local/lib/python2.5/os.py
/usr/local/lib/python2.5/reportlab_2_1/reportlab/docs/userguide/app_demos.pyo
/usr/local/lib/python2.5/reportlab_2_1/reportlab/docs/userguide/app_demos.pyc
/usr/local/lib/python2.5/reportlab_2_1/reportlab/docs/userguide/app_demos.py
/usr/local/lib/python2.5/reportlab_2_1/reportlab/demos/tests/testdemos.py
/usr/local/lib/python2.5/reportlab_2_1/reportlab/demos/tests/testdemos.pyo
/usr/local/lib/python2.5/reportlab_2_1/reportlab/demos/tests/testdemos.pyc
/usr/local/lib/python2.5/test/test_os.py
/usr/local/lib/python2.5/test/test_os.pyc
/usr/local/lib/python2.5/test/test_os.pyo
/usr/local/lib/python2.5/os.pyc
/usr/local/lib/python2.5/os.pyo
/usr/local/lib/python2.5/encodings/palmos.py
/usr/local/lib/python2.5/encodings/palmos.pyo
/usr/local/lib/python2.5/encodings/palmos.pyc
/usr/lib/ooo-1.1/program/python-core-2.2.2/lib/os.py
/usr/lib/python2.3/os.py
/usr/lib/python2.3/site-packages/wxPython/gizmos.py
/usr/lib/python2.3/site-packages/wxPython/gizmos.pyc
/usr/lib/python2.3/site-packages/yum/repos.pyc
/usr/lib/python2.3/site-packages/yum/repos.py
/usr/lib/python2.3/site-packages/wx/gizmos.py
/usr/lib/python2.3/site-packages/wx/gizmos.pyc
/usr/lib/python2.3/test/test_os.py
/usr/lib/python2.3/os.pyc
/usr/lib/python2.3/os.pyo
/usr/lib/python2.3/encodings/palmos.py
/usr/lib/python2.3/encodings/palmos.pyo
/usr/lib/python2.3/encodings/palmos.pyc

[erwin@philipp ~]$ python
Python 2.5.1 (r251:54863, Oct 23 2007, 13:37:11)

===================================>8=====================

_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux