Message: 4 Date: Sat, 4 Apr 2009 08:21:43 +0200 From: Michael Schwendt mschwendt@gmail.com Subject: Re: Yum issues.. To: fedora-list@redhat.com Message-ID: 20090404082143.640936e3@faldor.intranet Content-Type: text/plain; charset=US-ASCII
On Fri, 3 Apr 2009 15:26:00 -0700 (PDT), dcooke@efn.org wrote:
[root@boatbuyer images]# cat /etc/yum.repos.d/fedora.repo [fedora] name=Fedora $releasever - $basearch failovermethod=priority baseurl=ftp://download.fedora.redhat.com/pub/fedora/linux/releas es/10/Fedora/i386/os/Packages/fedora-release-*noarch.rpm #baseurl=http://download.fedoraproject.org/pub/fedora/linux/rele ases/$releasever/Everything/$basearch/os/
In above baseurl you did something that won't work. The baseurl= parameter must point to a location, which contains a "repodata" directory. Yum expects to find the repository metadata files in there and appends repodata/repomd.xml to the baseurl path prior to trying to download the repository index file.
Yes, repomd.xml was giving an error.
Do you have a reliable baseurl or the contents of a sample file?
For Yum-based distribution upgrades (e.g. from FC5 to F10) you need to adjust all relevant baseurl parameters to point to valid locations for the target distribution. Typically one upgrades the "fedora-release" manually, so one can keep pristine repository definition files and rely on the $releasever variable to expand to "10" automatically.
Thank you for pointing this out. Pristine sounds like a file that works.
Each piece of information I relish. Get enough pieces, wa-lah, it's all together...and yum is working again.
David