Yum on FC-3: query on repositories
Paul Howarth
paul at city-fan.org
Sun Nov 14 14:30:29 UTC 2004
On Sun, 2004-11-14 at 14:18 +0000, Timothy Murphy wrote:
> My /etc/yum.repos.d/fedora.repo reads
> ========================================
> [base]
> name=Fedora Core $releasever - $basearch - Base
> #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
> mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
> enabled=1
> gpgcheck=1
> ========================================
>
> I've looked up the nearest repositories in
> <http://fedora.redhat.com/download/mirrors/>
> and assume that I should edit fedora.repo as below.
> Is that correct?
> Do I actually need to specify ARCH?
>
> ========================================
> [base]
> name=Fedora Core $releasever - $basearch - Base
> baseurl=http://ftp.heanet.ie/pub/fedora/linux/core/3/$ARCH/os/
> http://ftp.esat.net/pub/linux/fedora/3/$ARCH/os/
> enabled=1
> gpgcheck=1
> ========================================
>
> I haven't seen any documentation for this.
> Is there some?
> "man yum" doesn't seem to cover this.
What you've got looks fine to me.
> Incidentally, does yum still read /etc/yum.conf ?
Yes; it sets options common to all repositories.
> Mine reads
> =========================================
> [main]
> cachedir=/var/cache/yum
> debuglevel=2
> logfile=/var/log/yum.log
> pkgpolicy=newest
> distroverpkg=redhat-release
> tolerant=1
> exactarch=1
> retries=20
> obsoletes=1
> gpgcheck=1
>
> # PUT YOUR REPOS HERE OR IN separate files named file.repo
> # in /etc/yum.repos.d
> =========================================
>
> Is that reasonable?
> Should I specify ARCH in this file?
No, yum should figure that out for itself.
Paul.
--
Paul Howarth <paul at city-fan.org>
More information about the fedora-list
mailing list