mock-1.1.11 doesn't build packages for el6 out of the box, although CentOS 6 has been released and the its repositories are available
*** This bug has been marked as a duplicate of bug 679885 ***
Sergio What problem are you having with the released CentOS 6 archive? The assertion of an inability to build, without a reproducer makes it hard to analyze this bug -- Russ herrold
Building a package for el6: $ mock -r -r epel-6-x86_64 somepackage.src.rpm (snip) ERROR: Command failed: # ['/usr/bin/yum', '--installroot', '/var/lib/mock/epel-6-x86_64/root/', 'groupinstall', 'buildsys-build', '--setopt=tsflags=nocontexts'] Ignored option -c (probably due to merging -yc != -y -c) Error: Cannot retrieve repository metadata (repomd.xml) for repository: beta. Please verify its path and try again The configuration file for epel-6 still has some mentions to a "beta" repository. If you remove them, the build still fails with: ERROR: Command failed: # ['/usr/bin/yum', '--installroot', '/var/lib/mock/epel-6-x86_64/root/', 'groupinstall', 'buildsys-build', '--setopt=tsflags=nocontexts'] Ignored option -c (probably due to merging -yc != -y -c) Error: Package: epel-release-6-5.noarch (epel) Requires: /bin/sh You could try using --skip-broken to work around the problem Error: Package: epel-release-6-5.noarch (epel) Requires: redhat-release >= 6 You could try running: rpm -Va --nofiles --nodigest