Yum on RH - Redhat

This is a discussion on Yum on RH - Redhat ; Hello, Following the article - http://myy.helia.fi/~karte/yum-package-manager.html , 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: >yum search git Traceback (most recent call last): File "/usr/bin/yum", line 22, in ? ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Yum on RH

  1. Yum on RH

    Hello,

    Following the article - http://myy.helia.fi/~karte/yum-package-manager.html,
    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:

    >yum search git

    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

  2. Re: Yum on RH

    Mike wrote:
    > Hello,
    >
    > Following the article - http://myy.helia.fi/~karte/yum-package-manager.html,
    > 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:
    >
    >> yum search git

    > 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


    Wait. You're running RedHat 9? Wouldn't it be better to update to Fedora Core,
    anyway?

  3. Re: Yum on RH

    Mike wrote:
    > Hello,
    >
    > Following the article - http://myy.helia.fi/~karte/yum-package-manager.html,
    > 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:
    >
    >> yum search git

    > 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


    Remove that package, and use these directions instead.

    http://fedoraproject.org/wiki/Legacy...2:_Install_yum

+ Reply to Thread