LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 07-02-2008, 01:49 PM   #1
The_Watcher
Member
 
Registered: Mar 2007
Location: London
Posts: 40

Rep: Reputation: 15
Installing yum on RHEL4 - problem


Hi, just tried to install yum from by downloading yum-2.4.3-1.src.rpm from http://linux.duke.edu/projects/yum/download/2.4/.

Did the usual stuff:

rpm -Uvh yum-2.4.3-1.src.rpm

but got the following:

warning: yum-2.4.3-1.src.rpm: V3 DSA signature: NOKEY, key ID 69886cc7
1:yum warning: user skvidal does not exist - using root
warning: group skvidal does not exist - using root
warning: user skvidal does not exist - using root)
warning: group skvidal does not exist - using root


But it seemed to have produced the tar file in /usr/src/redhat/SOURCES/yum-2.4.3.tar.gz. So switched to that directory, gunzip .. and then tar xvf ... .

However, I could not find an install file or a configure file which I could run. There are some words in INSTALL file:

For usage information, please see the README.

run make
run make install, if you're a masochist.

you're better off making an rpm and installing it


But README contains just a descrition of what yum does.

When I run make, all I get is:


for d in repomd rpmUtils yum etc docs; do make PYTHON=python -C $d; [ $? = 0 ] || exit 1 ; done
make[1]: Entering directory `/usr/src/redhat/SOURCES/yum-2.4.3/repomd'
echo "Nothing to do"
Nothing to do
make[1]: Leaving directory `/usr/src/redhat/SOURCES/yum-2.4.3/repomd'
make[1]: Entering directory `/usr/src/redhat/SOURCES/yum-2.4.3/rpmUtils'
echo "Nothing to do"
Nothing to do
make[1]: Leaving directory `/usr/src/redhat/SOURCES/yum-2.4.3/rpmUtils'
make[1]: Entering directory `/usr/src/redhat/SOURCES/yum-2.4.3/yum'
echo "Nothing to do"
Nothing to do
make[1]: Leaving directory `/usr/src/redhat/SOURCES/yum-2.4.3/yum'
make[1]: Entering directory `/usr/src/redhat/SOURCES/yum-2.4.3/etc'
echo "Nothing to do"
Nothing to do
make[1]: Leaving directory `/usr/src/redhat/SOURCES/yum-2.4.3/etc'
make[1]: Entering directory `/usr/src/redhat/SOURCES/yum-2.4.3/docs'
echo "Nothing to do"
Nothing to do
make[1]: Leaving directory `/usr/src/redhat/SOURCES/yum-2.4.3/docs'


How do I proceed to install yum?

My computer is 64-bit RHEL v4 WS.

Thanks.
 
Old 07-02-2008, 09:07 PM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
what you've downloaded is an old source rpm.
get yum from dag's site:

http://dag.wieers.com/rpm/packages/yum/
 
Old 07-03-2008, 04:43 AM   #3
The_Watcher
Member
 
Registered: Mar 2007
Location: London
Posts: 40

Original Poster
Rep: Reputation: 15
Unhappy

Quote:
Originally Posted by born4linux View Post
what you've downloaded is an old source rpm.
get yum from dag's site:

http://dag.wieers.com/rpm/packages/yum/
Thanks. I downloaded from this site, and downloaded all the other packages associated with it.

But when I run yum this is what i get:

[root@**** ]# yum list lam*
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

/usr/lib/python2.3/site-packages/cElementTree.so: cannot open shared object file: No such file or directory

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, Nov 20 2007, 15:12:42)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]

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



What is this all about? (Note that I have downloaded elementtree package.)

Thanks
 
  


Reply



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
installing RHEL4 via ftp problem disorderly Red Hat 2 02-12-2007 03:39 PM
Installing problem (RHEL4) into my HDD shipon_97 Linux - Hardware 0 01-05-2007 11:17 PM
yum and RHEL4 fbarsoba Red Hat 4 08-10-2006 02:09 PM
rhel4 and yum vboulytchev Linux - Software 2 08-09-2006 12:54 PM
yum on RHEL4 problem giovannym Linux - Newbie 1 07-11-2005 04:20 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 11:55 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
Open Source Consulting | Domain Registration