Not the answer you need?
Register and ask your own question!

Which repo for Scientific Linux 6 at ?

stefanlasiewskistefanlasiewski EntrantInactive User Role Beginner
What is the difference between these repositories on ? 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?
[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:
[root@db1 ~]# yum search percona-toolkit
Loaded plugins: changelog, downloadonly, fastestmirror, priorities, security
Loading mirror speeds from cached hostfile
 * sl6x:
 * sl6x-security:[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@db1 ~]# cat /etc/yum.repos.d/Percona.repo
# Name: Percona RPM Repository
# URL:
name = CentOS $releasever - Percona

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
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.