LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help w/ yum.conf (pre-FC) (https://www.linuxquestions.org/questions/linux-newbie-8/help-w-yum-conf-pre-fc-327372/)

ergo_sum 05-26-2005 01:05 PM

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.

mrcheeks 05-27-2005 05:58 AM

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?

ergo_sum 05-27-2005 08:55 AM

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


All times are GMT -5. The time now is 02:45 AM.