[Yum] Installing Yum

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

 



I went through this exercise for RHEL4 box, i386.  This works for me, 
your mileage may vary.  Not using the latest version of yum though so 
you may want to update some of these packages. Methodology should be the 
same.

Download yum-2.4.2-1.src.rpm
rpmbuild --rebuild yum.2.4-2-1.src.rpm
creates /usr/src/redhat/RPMS/noarch/yum-2.4.2-1.noarch.rpm

rpm -Uvh sqlite-2.8.16-1.2.el4.rf.i386.rpm         (Dag)
rpm -Uvh python-sqlite-0.5.0-1.2.elr4.rf.i386.rpm
rpm -Uvh python-urlgrabber-2.9.6-1.2.el4.rf.noaarch.rpm
rpm -Uvh ptyhon-elementtree-1.26-1.2.el4.rf.noarch.rpm   (not sure I 
really needed this one)
rpm -Uvh python-celementtree-1.0.2-1.2.el4.rf.i386.rpm
rpm -Uvh yum-2.4.2-1.noarch.rpm
rpm -Uvh yum-utils-0.3.1-1.fc4.noarch.rpm   ( I need for repository)
rpm -Uvh createrepo-0.3.1-1.noarch.rpm

JG

Weytens, Randy J. wrote:
> Hello -
>  
> I'm new to yum and have not been able to find any install/uninstall instructions.  I've looked all over the Linux@Duke pages and Google.  So I've attempted it on my own, trying both the source (make, make install) and the rpm.  I've also tried rpmbuild --rebuild <package>.  After both attempts I always get the following message:
>  
> <lnx00:~>$ yum
> There was a problem importing one of the Python modules
> required to run yum. The error leading to this problem was:
>    No module named yum
> Please install a package which provides this module, or
> verify that the module is installed correctly.
> It's possible that the above module doesn't match the
> current version of Python, which is:
> 2.3.4 (#1, Feb  2 2005, 11:44:49)
> [GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)]
> If you cannot solve this problem yourself, please go to
> the yum faq at:
>   http://wiki.linux.duke.edu/YumFaq
>
> I am running RHEL4 with the current version of Python and gcc.  Any tips would be greatly appreciated.
>  
> Randy Weytens
> _______________________________________________
> Yum mailing list
> Yum@xxxxxxxxxxxxxxxxxxxx
> https://lists.dulug.duke.edu/mailman/listinfo/yum
>   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JoAnna.Green.vcf
Type: text/x-vcard
Size: 158 bytes
Desc: not available
Url : http://lists.dulug.duke.edu/pipermail/yum/attachments/20060525/f0eb28a5/JoAnna.Green.vcf

[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