[Yum] I need help with setting $releaserver

James Antill james-yum at and.org
Mon Jul 2 20:37:37 UTC 2012


0n35 <aedwards2013 at gmail.com> writes:

> I read this post here, and I'm not sure what to set $releaserver to, please
> help.
>
> http://old.nabble.com/YumRepo-Error%3A-All-mirror-URLs-are-not-using-ftp,-http-s--or-file.-td29969394.html

 This is the documentation:

              $releasever This will be replaced with the value of the  version
              of the package listed in distroverpkg. This defaults to the ver‐
              sion of `redhat-release' package.

...Eg. on Fedora 15 you get:

% repoquery --whatprovides redhat-release
fedora-release-0:15-3.noarch
fedora-release-0:15-1.noarch
generic-release-0:15-0.4.noarch
generic-release-0:15-1.noarch

...where you almost certainly want the "fedora-release" package.

-- 
James Antill -- james at and.org


More information about the Yum mailing list