[Yum] Re: Having Yum Problems

John Fox fedora at australmailco.com
Thu Jan 3 21:03:15 UTC 2008


seth vidal writes:

> 
> On Thu, 2008-01-03 at 20:51 +0000, John Fox wrote:
>> seth vidal writes:
>> 
>> > 
>> > On Thu, 2008-01-03 at 20:34 +0000, John Fox wrote:
>> >> seth vidal writes:
>> > 
>> >> 
>> >> The output you requested is:
>> >> 
>> >> [root at aeries admin]# rpm -q rpm rpm-python yum python
>> >> rpm-4.3.3-23_nonptl
>> >> rpm-python-4.3.3-23_nonptl
>> >> yum-2.4.3-4.el4.centos
>> >> python-2.3.4-14.4.el4_6.1
>> > 
>> > if you run this:
>> > 
>> > python
>> > 
>> > then at the >>> prompt type:
>> > 
>> > import rpm
>> > 
>> > what does it do?
>> > 
>> > -sv
>> > 
>> > 
>> > 
>> 
>> iHi,
>> 
>> Output is:
>> 
>> [root at aeries admin]# python
>> Python 2.5 (r25:51908, Jan 25 2007, 12:17:39)
>> [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
>> Type "help", "copyright", "credits" or "license" for more
>> information.
>> >>> import rpm
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>> ImportError: No module named rpm
>> >>>
>> 
>> Python 2.5 was installed  via tar.gz in January, 2007.
>> 
> 
> that there is your problem.
> 
> until you un-do that or explicitly execute python 2.3, you're out of
> luck.
> 
> -sv
> 

Hi,

I thought that may have been the problem. Can you nplease
explain how I uninstall 2.5 and revert back to the rpm python.





More information about the Yum mailing list