yum.conf and sources

Paul Howarth paul at city-fan.org
Tue Sep 28 19:27:17 UTC 2004


On Tue, 2004-09-28 at 20:24, Søren Neigaard wrote:
> Im trying my best to update my newly installed Fedore Core 2. It seems I
> will never get done with the sources set up in /etc/yum.conf and
> /etc/sysconfig/rhn/sources, so I found this site:
> http://fedora.redhat.com/docs/updates/updating-sources.html
> 
> So I tried adding some sites, but I'm not sure how. Ive tried one one
> line and on separate lines, but to no avail. If they are one one line, i
> get strange results, so I guess thats wrong: here is what I have now:
> 
> /etc/yum.conf:
> [base]
> name=Fedora Core $releasever - $basearch - Base
> baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
> http://wftp.tu-chemnitz.de/pub/linux/fedora-core/$releaserver/$basearch/os/
> http://download.atrpms.net/mirrors/fedoracore/$releaserver/$basearch/os/
> 
> [updates-released]
> name=Fedora Core $releasever - $basearch - Released Updates
> baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
> http://wftp.tu-chemnitz.de/pub/linux/fedora-core/updates/$releaserver/$basearch/
> http://download.atrpms.net/mirrors/fedoracore/updates/$releaserver/$basearch/
> 
> /etc/sysconfig/rhn/sources:
> yum fedora-core-2
> http://download.fedora.redhat.com/pub/fedora/linux/core/2/$ARCH/os/
> http://wftp.tu-chemnitz.de/pub/linux/fedora-core/updates/2/$ARCH/os/
> http://download.atrpms.net/mirrors/fedoracore/updates/2/$ARCH/os/
> 
> yum updates-released-fc2
> http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/$ARCH/
> http://wftp.tu-chemnitz.de/pub/linux/fedora-core/updates/2/$ARCH/
> http://download.atrpms.net/mirrors/fedoracore/updates/2/$ARCH/
> 
> 
> This gives me 82 updates, and thats the same amount as with the deafult,
> but when I launch up2date it says my system is already up to date???
> Whats up here, what should I do?

up2date has a different configuration file than yum. Try "yum
check-update" to check for updates, and "yum update" to actually do the
update.

Paul.
-- 
Paul Howarth <paul at city-fan.org>




More information about the fedora-list mailing list