LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-14-2008, 10:27 AM   #1
Syn1ster
LQ Newbie
 
Registered: Nov 2008
Posts: 4

Rep: Reputation: 0
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 =).
 
Old 12-14-2008, 10:34 AM   #2
baig
Member
 
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

Rep: Reputation: 38
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!!!
 
Old 12-14-2008, 10:47 AM   #3
Syn1ster
LQ Newbie
 
Registered: Nov 2008
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 12-14-2008, 11:11 AM   #4
baig
Member
 
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

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


Cheers!!
 
Old 12-14-2008, 04:43 PM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install problem lin_myworld Fedora 1 03-16-2008 03:30 PM
problem install yum. hocheetiong Linux - Software 1 10-05-2007 10:53 PM
problem yum install videolan-client koscek Linux - Software 11 08-02-2007 02:51 PM
Yum install clamav problem leiw Linux - General 8 05-06-2007 05:14 AM
yum install gcc problem malibuguy Linux - Newbie 1 01-15-2005 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration