I'm not going to try to pretend I know what I'm doing... :rolleyes:
I found the following messages on a mailing list:
http://lists.rpmforge.net/pipermail/tools/2006-March/000299.html
> Hi,
>
> Since yum 8.0 on 9th March.
> The first thing that I noticed was that updating RPMs that came in were ignored
> (ie yum said that there was nothing to update). I decided today to throw
> everything in $wwwdir away and rebuild. But it doesn't rebuild enough.
>
> I have not changed my /etc/yam.conf.
> ...
I fixed it by adding 'createrepo' to my 'metadata' line in yam.conf, throwing everything away & rebuilding.
Interesting, the default actually is that it contains createrepo. So if
you don't have the metadata line, it will use all the programs you have
installed.
The difference probably with before is that the yum you used before was an
older yum release that use the yum-arch metadata format, and now
coinciding with Yam 0.8.0 you switched to a newer yum that used the
createrepo (repomd) metadata.
Otherwise I don't know why it worked before and stopped working with Yam
0.8.0.
Thanks for sending the fix though. It's always important to know what is bugging people !
:confused look:
[edit]Oh and by the way, it's yum.conf, not yam.conf... :P[/edit]
I've never even used yum, but hopefully this will help.
John A
Vampirical Lurker
7,633 posts since Apr 2006
Reputation Points: 2,233
Solved Threads: 340
Skill Endorsements: 7
You need to somehow add respos to the configuration file. Try something like this:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugings=1
metadata_expire=1800
[fedora-stable]
name=Fedora Project Stable RPMS for Fedora 5
baseurl=http://download.fedora.us/fedora/5/i386/yum/stable/
gpgcheck=1
[fedora-updates]
name=Fedora Project update RPMS for Fedora 5
baseurl=http://download.fedora.us/fedora/5/i386/yum/updates/
gpgcheck=1
I'm just guessing with the base URLs, so if it doesn't work, you may want to try others respos as described in the wealth of information out there.
If you can't get it working, you may also want to post the contents of /etc/yum.respos.d and any files it contains.
[edit] I found some nice yum.conf files here:
http://www.redhat.com/archives/fedora-list/2004-May/msg05673.html
John A
Vampirical Lurker
7,633 posts since Apr 2006
Reputation Points: 2,233
Solved Threads: 340
Skill Endorsements: 7