LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-26-2005, 01:05 PM   #1
ergo_sum
Member
 
Registered: Aug 2003
Posts: 253

Rep: Reputation: 30
help w/ yum.conf (pre-FC)


Hello All:

I've had a bit of trouble making yum point to rh9 legacy repositories. I currently have rh 7.3 w/ various kernels.
I'd like to get to rh9 so I can jump to FC.

My problem is yum.conf and how to point it to the right repository. I've tried editing this a thousand ways and it was still pointing to 7.3.
I want 9.
I'm posting here because most articles are for Fedora Core stuff, which is a little different that ante/ or pre/ Fedora Core.

So I've just uninstalled and reinstalled yum, so here is what my yum.conf file looks like:

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
exactarch=1
exclude=kernel*

[base]
name=Red Hat Linux $releasever base
baseurl=http://download.fedoralegacy.org/redhat/$releasever/os/$basearch
gpgcheck=1

[updates]
name=Red Hat Linux $releasever updates
baseurl=http://download.fedoralegacy.org/redhat/$releasever/updates/$basearch
gpgcheck=1

#[updates-testing]
#name=Red Hat Linux $releasever updates-testing
#baseurl=http://download.fedoralegacy.org/redhat/$releasever/updates-testing/$basearch
#gpgcheck=1

[legacy-utils]
name=Fedora Legacy utilities for Red Hat Linux $releasever
baseurl=http://download.fedoralegacy.org/redhat/$releasever/legacy-utils/$basearch
gpgcheck=1
[root@localhost etc]#


Please help

Looking forward to all relevant replies.

ergo_sum

Please don't suggest to buy the CD's.
 
Old 05-27-2005, 05:58 AM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
why don't you replace $releasever by 9.0?

Even if it works you could have problems. If you don't want to buy, you can still download?
 
Old 05-27-2005, 08:55 AM   #3
ergo_sum
Member
 
Registered: Aug 2003
Posts: 253

Original Poster
Rep: Reputation: 30
Well, I've replaced the variable-laden default w/ the url for the Fedora Legacy repository, and the headers are being downloaded as I write.

I anticipate some problems, but in the meantime am moving forward w/ this.

ergo_sum
 
  


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.conf file? carlosinfl Fedora 3 04-26-2005 10:47 AM
yum.conf carlosinfl Fedora 1 01-29-2005 08:05 AM
FC2 yum updated to 2.1.11 need new yum.conf? peregrine2 Linux - Newbie 1 12-02-2004 07:14 AM
yum.conf question disorderly Fedora 5 06-22-2004 01:18 PM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 02:28 AM


All times are GMT -5. The time now is 09:28 AM.

Main Menu
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