LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 04-15-2008, 05:55 PM   #1
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Rep: Reputation: 30
Difficulty Adding ATRPMS Repo to Yumex Under CentOS 5


Could someone look at this and let me know what I'm doing wrong? I'm trying to add ATRPMS to my yumex repo listfor CENTOS 5 (up to date). I've followed the instructions at the ATRPMS site and was able to fix a bunch of the error messages yumex was giving me (the suggested repo lines at the site didn't have spaces between the = and the http of the url).

This is what I have so far:

# Name: ATRPMS RPM Repository for Red Hat Enterprise 5
# URL: http://www.atrpms.net/
[atrpms]
name =F edora Core $releasever - $basearch - ATrpms
baseurl = http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable
gpgkey = http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck = 1


And here is what I'm still getting in red when yumex tries to start up.

17:43:15 : Yum Config Setup
17:43:15 : Loading "skip-broken" plugin
17:43:15 : Loading "installonlyn" plugin
17:43:15 : Yum Version : 3.0.5
17:43:15 : GUI Setup Completed
17:43:15 : Setup Yum : Transaction Set
17:43:15 : Setup Yum : RPM Db.
17:43:15 : Setup Yum : Repositories.
17:43:16 : Failure getting http://dl.atrpms.net/f5-x86_64/atrpm...ta/repomd.xml:
17:43:16 : --> [Errno 14] HTTP Error 404: Not Found
17:43:16 : Trying other mirror.
17:43:27 : Cannot open/read repomd.xml file for repository: atrpms

Thanks for any help you can provide
 
Old 04-15-2008, 06:34 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
That would be Fedora 5 you are referring to.

Try el5 instead of f5

I'm guessing

baseurl = http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable

but you should be able to browse to there to check the url (go to http://dl.atrpms.net/ for example)

Last edited by billymayday; 04-15-2008 at 06:37 PM.
 
Old 04-16-2008, 03:46 PM   #3
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Original Poster
Rep: Reputation: 30
Ah, ok. I'll try that. Thanks so much for the help.
 
Old 04-16-2008, 04:01 PM   #4
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Original Poster
Rep: Reputation: 30
That did it!

One last question. If I want to add the "testing" part, do I just add the appropriate lines to this same atrpms.repo file or do I create an additional one for it?

Thanks again.
 
Old 04-16-2008, 04:56 PM   #5
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You can do either - probably cleaner to have a separate file
 
Old 04-16-2008, 06:20 PM   #6
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS
Posts: 375

Rep: Reputation: 38
This is what I did... can uncomment testing when I need.

Code:
[atrpms-stable]
name=atrpms
baseurl=http://dl.atrpms.net/el5-i386/atrpms/stable/
gpgcheck=1
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms

#[atrpms-testing]
#name=atrpms
#baseurl=http://dl.atrpms.net/el5-i386/atrpms/testing/
#gpgcheck=1
#gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
I guess I could have used the enabled [0|1] line but oh well.
 
Old 04-17-2008, 02:24 PM   #7
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Original Poster
Rep: Reputation: 30
Ok, thanks again to everyone for the help.
 
  


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 & yumex hanging while fedora-updates repo is active DarkSun84 Fedora 7 12-03-2007 06:28 PM
where is yumex on a centos 5.0 ? kalman Red Hat 2 04-17-2007 07:50 PM
adding a repo in Yumex Joe47 Fedora 1 06-10-2006 01:10 AM
yumex-"Cannot find a valid baseurl for repo: base" corelover Fedora 1 04-08-2005 04:10 AM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 04:49 PM


All times are GMT -5. The time now is 03:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration