[Yum] YumRepo Error: All mirror URLs are not using ftp, http[s] or file.

James Antill james-yum at and.org
Sun Oct 17 05:15:36 UTC 2010


Chad Woolley <thewoolleyman at gmail.com> writes:

> On Fri, Oct 15, 2010 at 5:08 AM, James Antill <james-yum at and.org> wrote:
>>  This is the main problem, $releasever is set by looking in the rpmdb
>> and seeing what provides redhat-release. However with the first run
>> of --installroot you don't have an rpmdb, and so $releasever is unset.
>>  With newer versions of yum you can use --releasever=/ etc. but for
>> older versions of yum you'll have to edit all your .repo files and
>> manually change the $releasever to something.
>
> Thank you for the reply, manually editing worked.
>
> Is there any way I can initialize the rpmdb with the correct
> redhat-release, or avoid the need to manually edit the .repo files?

 No, that's why we added the --releasever option.

-- 
James Antill -- james at fedoraproject.org
http://yum.baseurl.org/wiki/releases
http://yum.baseurl.org/wiki/whatsnew/3.2.29
http://yum.baseurl.org/wiki/YumMultipleMachineCaching


More information about the Yum mailing list