yum.conf and sources

Søren Neigaard s.neigaard at tiscali.dk
Tue Sep 28 19:24:29 UTC 2004


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?

Best regards
Søren




More information about the users mailing list