-
Yum on RH
Hello,
Following the article - [url]http://myy.helia.fi/~karte/yum-package-manager.html[/url],
I successfully
installed yum-2.0.3-0.fdr.1.rh90.noarch.rpm on my RedHat with x86
processor. However I have following error when I run yum:
[color=blue]
>yum search git[/color]
Traceback (most recent call last):
File "/usr/bin/yum", line 22, in ?
import yummain
ImportError: Bad magic number in /usr/share/yum/yummain.pyc
Any idea on this issue?
Thanks,
Mike
-
Re: Yum on RH
Mike wrote:[color=blue]
> Hello,
>
> Following the article - [url]http://myy.helia.fi/~karte/yum-package-manager.html[/url],
> I successfully
> installed yum-2.0.3-0.fdr.1.rh90.noarch.rpm on my RedHat with x86
> processor. However I have following error when I run yum:
>[color=green]
>> yum search git[/color]
> Traceback (most recent call last):
> File "/usr/bin/yum", line 22, in ?
> import yummain
> ImportError: Bad magic number in /usr/share/yum/yummain.pyc
>
> Any idea on this issue?
>
> Thanks,
>
> Mike[/color]
Wait. You're running RedHat 9? Wouldn't it be better to update to Fedora Core,
anyway?
-
Re: Yum on RH
Mike wrote:[color=blue]
> Hello,
>
> Following the article - [url]http://myy.helia.fi/~karte/yum-package-manager.html[/url],
> I successfully
> installed yum-2.0.3-0.fdr.1.rh90.noarch.rpm on my RedHat with x86
> processor. However I have following error when I run yum:
>[color=green]
>> yum search git[/color]
> Traceback (most recent call last):
> File "/usr/bin/yum", line 22, in ?
> import yummain
> ImportError: Bad magic number in /usr/share/yum/yummain.pyc
>
> Any idea on this issue?
>
> Thanks,
>
> Mike[/color]
Remove that package, and use these directions instead.
[url]http://fedoraproject.org/wiki/Legacy/Yum9Detailed#Step_2:_Install_yum[/url]