Yum issues..

Michael Schwendt mschwendt at gmail.com
Sat Apr 4 06:21:43 UTC 2009


On Fri, 3 Apr 2009 15:26:00 -0700 (PDT), dcooke at efn.org wrote:

> [root at 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/releases/10/Fedora/i386/os/Packages/fedora-release-*noarch.rpm
> #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$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.

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. 




More information about the fedora-list mailing list