LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Yum install problem. (https://www.linuxquestions.org/questions/linux-newbie-8/yum-install-problem-690502/)

Syn1ster 12-14-2008 09:27 AM

Yum install problem.
 
I have been trying to install yum and, so far, I am having no success. I did the RPM first (rpm -ivh yum-3.2.20.rpm) and I did it the compiled way (tar -zxvf yum-3.2.20, make, make install). I get this error whenever I install yum the compiled way:

intltool-update --gettext-package=yum --pot
make[1]: intltool-update: Command not found
make[1]: *** [yum.pot] Error 127
make[1]: Leaving directory `/root/setups/yum-3.2.20/po'
make: *** [install] Error 1

If I attempt to run a yum command I get:


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.4.3 (#1, May 24 2008, 13:47:28)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq

I have googled this problem and I cannot find anything related or helpful. I could really use some help here. Thank you =).

baig 12-14-2008 09:34 AM

Hi,
Compiling yum from a source would be a bit difficult, coz you need to satisfy each and every dependency manually... Why don't you install smart pacakage manager first and then through it install yum, i think i'll install all dependencies for yum itself..

download SMART package manager as an rpm..


I had a problem using yum, i reinstalled it through

Code:

smart reinstall yum
Cheers!!!

Syn1ster 12-14-2008 09:47 AM

Nevermind I got it. Forgot to mention I am using CentOS 5 and that is not available for my distro. This worked for me:

rpm -Uvh http://mirror.centos.org/centos-5/5/...s.1.noarch.rpm

baig 12-14-2008 10:11 AM

I would suggest you to put your distribution name below your name... It would help to sort things out easily...


Cheers!!

lazlow 12-14-2008 03:43 PM

First yum is part of the base Centos 5 install. Second smartPM is certainly available for Centos5 (I use on all my Centos installs) as well as virtually all other distros.


All times are GMT -5. The time now is 12:32 PM.