/etc/yum.conf

John Dalbec jpdalbec at ysu.edu
Wed Jan 21 15:32:39 UTC 2004


> Date: Tue, 20 Jan 2004 12:32:50 -0500
> To: fedora-legacy-list at redhat.com
> From: "Peter M. Abraham" <peter.abraham at dynamicnet.net>
> Subject: /etc/yum.conf
> Reply-To: fedora-legacy-list at redhat.com
> 
> Greetings:
> 
> Can some one please post their /etc/yum.conf they are using with Fedora for 
> RedHat 7.3?
> 
> Thank you.

If you install the yum package from (e.g.)
http://mirrors.kernel.org/fedora.us/fedora/redhat/7.3/i386/RPMS.legacy/
/etc/yum.conf should be set up for you already.

Failing that, you can use
--- cut here ---
# $Id: yum-rh.conf,v 1.2 2003/09/18 16:29:06 dude Exp $

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
gpgcheck=1
tolerant=1
exactarch=1

[os]
name=Fedora Project RHL 7.3 Stock OS Mirror Repository
baseurl=http://mirrors.kernel.org/fedora.us/fedora/redhat/7.3/i386/RPMS.os

[updates]
name=Fedora Project RHL 7.3 Updates
baseurl=http://mirrors.kernel.org/fedora.us/fedora/redhat/7.3/i386/RPMS.updates

[legacy]
name=Fedora Project RHL 7.3 Legacy Tools
baseurl=http://mirrors.kernel.org/fedora.us/fedora/redhat/7.3/i386/RPMS.legacy

--- cut here ---

You may wish to use a different mirror.
HTH,
John





More information about the fedora-legacy-list mailing list