LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-10-2007, 09:11 AM   #1
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Rep: Reputation: 15
problem with yum installation


I can not install later version of yum utility
in my linux

# rpm -ivh yum-2.4.3-1.src.rpm
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
########################################### [100%]


Any ideas why this does not work and how I can fix this.
I was able to install older version of yum yum-2.0.8-1.src.rpm
but it failed to work.

Thanks,

John
 
Old 12-10-2007, 09:20 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The installation actually worked, but the problem is that you downloaded a source rpm (hence *.src.rpm). This only contains source code so is probably no good for you unless you want to rebuild it into a binary rpm. Look for a package with a name such as *.i386.rpm. Why do you need to upgrade yum manually anyway? Can't you use yum to upgrade to the versions that are in the repos?
 
Old 12-10-2007, 09:50 AM   #3
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz View Post
The installation actually worked, but the problem is that you downloaded a source rpm (hence *.src.rpm). This only contains source code so is probably no good for you unless you want to rebuild it into a binary rpm. Look for a package with a name such as *.i386.rpm. Why do you need to upgrade yum manually anyway? Can't you use yum to upgrade to the versions that are in the repos?
Unfortunately I can not find *.i386.rpm at http://linux.duke.edu/projects/yum/download.ptml

I downloaded and unpacked the directory
yum-2.6.0.tar.gz
May be this is the yum package ... Unfortunately README
file does not provide any instractions or explanations.
I am really confused with linux ...


Thanks,
John
 
Old 12-10-2007, 10:04 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
What Linux Distribution are you using and what is its version?

You either have to compile the new version of yum from source or rebuild the source rpm using the rpmbuild command.
 
Old 12-10-2007, 10:08 AM   #5
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz View Post
The installation actually worked, but the problem is that you downloaded a source rpm (hence *.src.rpm). This only contains source code so is probably no good for you unless you want to rebuild it into a binary rpm. Look for a package with a name such as *.i386.rpm. Why do you need to upgrade yum manually anyway? Can't you use yum to upgrade to the versions that are in the repos?
I was able to find some *.i386.rmp file on the internet
and it seems I successfully installed it

rpm -ivh yum-2.0.3-5.rh.fr.i386.rpm
warning: yum-2.0.3-5.rh.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
Preparing... ########################################### [100%]
1:yum ########################################### [100%]

but when I tried to install WINE soft with you I got an error

yum install wine
Traceback (most recent call last):
File "/usr/bin/yum", line 22, in ?
import yummain
ImportError: Bad magic number in /usr/share/yum/yummain.pyc


Thanks,
John
 
Old 12-10-2007, 10:13 AM   #6
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz View Post
What Linux Distribution are you using and what is its version?




You either have to compile the new version of yum from source or rebuild the source rpm using the rpmbuild command.
cat /etc/issue
Red Hat Enterprise Linux WS release 4 (Nahant)
Kernel \r on an \m


cat /proc/version
Linux version 2.6.9-5.ELsmp (bhcompile@thor.perf.redhat.com) (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 SMP Wed Jan 5 19:29:47 EST 2005



I will check the linux manual about rpmbuild.


Thanks,

John
 
Old 12-10-2007, 10:25 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Af far as I know, RHEL 4 did not have any yum repos and did not use yum by default. If its an option, I suggest you use the CentOS 4 (CentOS is a free rebuild of RHEL) yum rpms. This article may help you out.
 
Old 12-10-2007, 08:39 PM   #8
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz View Post
Af far as I know, RHEL 4 did not have any yum repos and did not use yum by default. If its an option, I suggest you use the CentOS 4 (CentOS is a free rebuild of RHEL) yum rpms. This article may help you out.
Unfortunately links "wget ..." are broken. I visited the centos site
but I can not figure out how to install centos on my own ...
Is there any simple way to install centos?

Thanks,
John
 
Old 12-11-2007, 03:36 AM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You can get the rpms listed on the previous site from here.

Last edited by reddazz; 12-11-2007 at 03:39 AM.
 
Old 12-13-2007, 02:32 PM   #10
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz View Post
You can get the rpms listed on the previous site from here.
Unfortunately one package 'centos-yumconf-4-4.3.noarch.rpm'
is missing on this site and I can't find it on the internet.
I would appreciate if you could provide me a link where
I can get this file.

Thanks,
John
 
Old 12-13-2007, 02:42 PM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I can't find that rpm either. Maybe its no longer required. Have you tried installing the other packages without the centos-yumconf rpm?
 
Old 12-13-2007, 02:53 PM   #12
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz View Post
I can't find that rpm either. Maybe its no longer required. Have you tried installing the other packages without the centos-yumconf rpm?
Yes I did and failed

rpm -Uvh *
warning: python-elementtree-1.2.6-5.el4.centos.i386.rpm: V3 DSA signature: NOKEY, key ID 443e1821
error: Failed dependencies:
yumconf is needed by yum-2.4.3-3.el4.centos.noarch
 
Old 12-13-2007, 03:56 PM   #13
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Try the package thats available here.
 
Old 12-13-2007, 04:28 PM   #14
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz View Post
Try the package thats available here.
The link is unreachable. May be the address is not typed correctly ...
 
Old 12-13-2007, 04:52 PM   #15
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I can download the package on my end, so you could have some sort of problem with your connection.
 
  


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
mplayer installation problem using yum sharathg786 Fedora 5 03-23-2007 07:55 AM
dbus installation and Yum update problem jimc52 Linux - Software 1 01-12-2007 11:01 AM
YUM Download and Installation problem Altstatten Linux - Software 7 06-28-2006 06:14 AM
amarok installation yum problem TranceDude Linux - Software 5 08-27-2005 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:38 AM.

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