[Yum] Yum and Python Versions

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

 



  > Many options.
>  1) edit /usr/bin/yum to use #!/usr/bin/python2.3
>  2) cp /usr/bin/python2.3 /usr/bin/python
>  3) something cleaner?  is this managed by alternatives?  not sure.
> 

So now Ive broken Yum:

***
[salvatore@incom salvatore]$ yum check-update
Traceback (most recent call last):
   File "/usr/bin/yum", line 22, in ?
     import yummain
   File "/usr/share/yum/yummain.py", line 22, in ?
     import clientStuff
   File "/usr/share/yum/clientStuff.py", line 18, in ?
     import rpm
ImportError: No module named rpm
***

There were many /usr/bin/python listsings, namely:
/usr/bin/python
/usr/bin/python2
/usr/bin/python2.2
/usr/bin/python2.3

I renamed /usr/bin/python2 to /usr/bin/python2_old and 
/usr/bin/python2.2 to /usr/bin/python2.2_old
Tried both copying /usr/bin/python2.3 to /usr/bin/python and 
(separately) telling /usr/bin/yum to use /usr/bin/python2.3; neither worked.

Thanks for the help so far.

-- 
.salvatore
http://www.sienar.org/
http://www.palmisanonet.com/
[psn now has neat google ads!  go. click. make me happy.]

[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