# Which repo for Scientific Linux 6 at http://repo.percona.com/centos/ ?

**URL:** https://forums.percona.com/t/which-repo-for-scientific-linux-6-at-http-repo-percona-com-centos/2973
**Category:** Percona Toolkit
**Created:** [September 27, 2013, 5:05pm UTC](https://forums.percona.com/t/which-repo-for-scientific-linux-6-at-http-repo-percona-com-centos/2973 "2013-09-27T17:05:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![stefanlasiewski](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@stefanlasiewski](https://forums.percona.com/u/stefanlasiewski)
#### Post date: [September 27, 2013, 5:05pm UTC](https://forums.percona.com/t/which-repo-for-scientific-linux-6-at-http-repo-percona-com-centos/2973/1 "2013-09-27T17:05:17Z")

</div>

What is the difference between these repositories on [url][http://repo.percona.com/centos/[/url]](http://repo.percona.com/centos/%5B/url%5D) ? Specifically, what is the difference between 6, 6Server and ‘latest’? Do the repos 2010.11 2011.02 and 2012.03 matter for Enterprise Linux 6?

```auto

[DIR] 6.0/ 19-Jul-2011 12:35 - 
[DIR] 6/ 19-Jul-2011 12:35 - 
[DIR] 6Server/ 19-Jul-2011 12:35 - 
[DIR] 2010.11/ 09-Apr-2013 14:39 - 
[DIR] 2011.02/ 09-Apr-2013 14:39 - 
[DIR] 2012.03/ 19-Jul-2011 12:35 - 
[DIR] latest/ 19-Jul-2011 12:35 - 

```

I am using Scientific Linux 6 and I need to figure out which repo can be used for my server.

Why does it matter? Because of a common problem that happens with yum Scientific Linux. `/etc/yum.repos.d/Percona.repo` uses the variable $releasever , which on Scientific Linux is generally something like ‘6.4’ not ‘6’. Therefore, `yum` commands will fail with a `404 Not Found` error:

```auto

[root&#64;db1 ~]# yum search percona-toolkit
Loaded plugins: changelog, downloadonly, fastestmirror, priorities, security
Loading mirror speeds from cached hostfile
* sl6x: ftp1.scientificlinux.org
* sl6x-security: ftp1.scientificlinux.org
http://repo.percona.com/centos/[B]6.4[/B]/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: percona. Please verify its path and try again

[root&#64;db1 ~]# cat /etc/yum.repos.d/Percona.repo
# Name: Percona RPM Repository
# URL: http://www.percona.com/percona-lab.html
[percona]
name = CentOS $releasever - Percona
baseurl=http://repo.percona.com/centos/[B]$releasever[/B]/os/$basearch/

```

The easy solution is to replace $releasever with a hardcoded string like 6.4. But before I can do this I need to understand the difference between the various repositories.

Thank you,

-= Stefan
