Re: Yum on FC-3: query on repositories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux