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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 15, 2010 at 5:08 AM, James Antill <james-yum@xxxxxxx> 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
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux