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

Chad Woolley thewoolleyman at gmail.com
Sat Oct 16 07:48:11 UTC 2010


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?

Thanks,
-- Chad


More information about the Yum mailing list