$releasever in yum.conf

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
cjharman
Forum User
Forum User
Posts: 39
Joined: Sat Dec 17, 2005 5:34 pm

$releasever in yum.conf

Unread post by cjharman »

Hey Guys...

Just a question here... First of all, my yum.conf file works for ART... but when I use this in my yum.conf

Code: Select all

[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releaseverES/

[atomic-app-vault]
name=Atomic Rocket Turtle - $releasever - Atomic PSA App Vault RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/app-vault/

[psa-8.0]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 8.0 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-8.0/$releaseverES/
$releasever always ends up being 3.3 ... so, I just replace $releasever with 3 ... where is the variable $releasever set at? and is there any consiquenses to altering it??

so, enquiring mind wants to know!!! :o)
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

What OS are you running? The instructions tell you to replace $releasever with 3ES on CentOS/RHEL 3 or with 4ES if you're on CentOS/RHEL 4.
Lemonbit Internet Dedicated Server Management
cjharman
Forum User
Forum User
Posts: 39
Joined: Sat Dec 17, 2005 5:34 pm

Unread post by cjharman »

Hey Breun... I am running centos 3.3 ...
The instructions tell you to replace $releasever with 3ES
- yeah.... LOL... i guess I was just curious.. cause if you don't replace that... 3.3 is what the value of the variable $releasever is for me... I have YUM working just fine :o)

THanks for the reply!
Joe
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

I believe $releasever is parsed from /etc/*-release. If you're running CentOS 3 don't replace $releasever with 3 as that'll get you packages meant for Fedora Core 3. Use 3ES instead.
Lemonbit Internet Dedicated Server Management
Post Reply