I have FC 5 on my toshiba laptop and need to upgrade the kernel in order to download the driver for my wireless card:
I got this msg when I initially try to execute yum:
[root@localhost ]# yum upgrade kernel Loading "installonlyn" plugin Setting up Upgrade Process Setting up repositories core Cannot find a valid baseurl for repo: core Error : Cannot find a valid baseurl for repo: core
I resolve this problem by going to the repos directory and uncommenting the lines baseurl....in the fedora repo files.
now when I execute yum I get this error: loading "installonlyn" plugin setting up repositories core http://download.fedora.redhat.com/pub/fedora/core/5/i386/os/repodata/repomd.xml: [Errono 4] IOError: <urlopen error (-2, 'Name or service not known')> Trying other mirror. Cannot open/read repomd.xml file for repository: core failure: repodata/repomd.xml from core: [Errono 256] No more mirrors to try. Error: failure: repodata/repomd.xml from core: [Errono 256] No more mirrors to try.
Does anyone has a solution for this kind of problem? I will appreciate whatever help I can get.
> 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 !
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.