[CentOS] Why are all repos < 5.6 listed?

Sat Jul 23 18:58:55 UTC 2011
Ljubomir Ljubojevic <office at plnet.rs>

Keith Roberts wrote:
> Greetings all.
> 
> I just enabled all repos on my system, to enable me to find 
> a particular package. This is the first time I have noticed 
> all the Centos repos < 5.6 being listed.
> 
> Is this a new feature, to include all repos pre 5.6 now?
> 
> Here's the output of the aforementioned yum command - sorry 
> it's a little bit long:
> 
> [root at karsites ~]# yum --enablerepo '*' --disablerepo 
> 'c5-media' info textpattern
> Loaded plugins: fastestmirror, filter-data, keys, list-data, 
> priorities
> Loading mirror speeds from cached hostfile
>   * addons: mirror.netrino.co.uk
>   * base: centos.mirror.evertje.net
>   * centosplus: mirror.netrino.co.uk
>   * contrib: centos.mirror.evertje.net
>   * epel: mirrors.coreix.net
>   * epel-debuginfo: mirrors.coreix.net
>   * epel-source: mirrors.coreix.net
>   * epel-testing: mirrors.coreix.net
>   * epel-testing-debuginfo: mirrors.coreix.net
>   * epel-testing-source: mirrors.coreix.net
>   * extras: centos.mirror.evertje.net
>   * remi: iut-info.univ-reims.fr
>   * rpmforge: apt.sw.be
>   * rpmforge-extras: apt.sw.be
>   * rpmforge-testing: apt.sw.be
>   * updates: mirror.netrino.co.uk
> C5.0-base                                            | 1.1 
> kB     00:00
> C5.0-base/primary                                    | 798 
> kB     00:01
> C5.0-base 
> 2334/2334
> C5.0-centosplus                                      |  951 
> B     00:00
> C5.0-centosplus/primary                              |  90 
> kB     00:00
> C5.0-centosplus 
> 134/134
> C5.0-extras                                          | 1.1 
> kB     00:00
> C5.0-extras/primary                                  |  77 
> kB     00:00
> C5.0-extras 
> 302/302
> C5.0-updates                                         |  951 
> B     00:00
> C5.0-updates/primary                                 | 352 
> kB     00:00
> C5.0-updates 
> 764/764
> C5.1-base                                            | 1.1 
> kB     00:00
> C5.1-base/primary                                    | 834 
> kB     00:01
> C5.1-base 
> 2400/2400
> C5.1-centosplus                                      |  951 
> B     00:00
> C5.1-centosplus/primary                              |  73 
> kB     00:00
> C5.1-centosplus 
> 174/174
> C5.1-extras                                          | 1.1 
> kB     00:00
> C5.1-extras/primary                                  | 113 
> kB     00:00
> C5.1-extras 
> 421/421
> C5.1-updates                                         |  951 
> B     00:00
> C5.1-updates/primary                                 | 278 
> kB     00:00
> C5.1-updates 
> 502/502
> C5.2-base                                            | 1.1 
> kB     00:00
> C5.2-base/primary                                    | 853 
> kB     00:01
> C5.2-base 
> 2458/2458
> C5.2-centosplus                                      |  951 
> B     00:00
> C5.2-centosplus/primary                              |  72 
> kB     00:00
> C5.2-centosplus 
> 119/119
> C5.2-extras                                          | 1.1 
> kB     00:00
> C5.2-extras/primary                                  |  90 
> kB     00:00
> C5.2-extras 
> 298/298
> C5.2-updates                                         |  951 
> B     00:00
> C5.2-updates/primary                                 | 374 
> kB     00:00
> C5.2-updates 
> 805/805
> C5.3-base                                            | 1.1 
> kB     00:00
> C5.3-base/primary                                    | 878 
> kB     00:01
> C5.3-base 
> 2508/2508
> C5.3-centosplus                                      |  951 
> B     00:00
> C5.3-centosplus/primary                              | 115 
> kB     00:00
> C5.3-centosplus 
> 151/151
> C5.3-extras                                          | 1.1 
> kB     00:00
> C5.3-extras/primary                                  | 107 
> kB     00:00
> C5.3-extras 
> 324/324
> C5.3-updates                                         |  951 
> B     00:00
> C5.3-updates/primary                                 | 353 
> kB     00:00
> C5.3-updates 
> 528/528
> C5.4-base                                            | 2.1 
> kB     00:00
> C5.4-base/primary_db                                 | 1.6 
> MB     00:02
> C5.4-centosplus                                      | 1.9 
> kB     00:00
> C5.4-centosplus/primary_db                           | 184 
> kB     00:00
> C5.4-extras                                          | 2.1 
> kB     00:00
> C5.4-extras/primary_db                               | 180 
> kB     00:00
> C5.4-updates                                         | 1.9 
> kB     00:00
> C5.4-updates/primary_db                              | 616 
> kB     00:00
> C5.5-base                                            | 2.1 
> kB     00:00
> C5.5-base/primary_db                                 | 1.6 
> MB     00:03
> C5.5-centosplus                                      | 1.9 
> kB     00:00
> C5.5-centosplus/primary_db                           | 127 
> kB     00:00
> C5.5-extras                                          | 2.1 
> kB     00:00
> C5.5-extras/primary_db                               | 183 
> kB     00:00
> C5.5-updates                                         | 1.9 
> kB     00:00
> C5.5-updates/primary_db                              | 911 
> kB     00:01
> addons                                               |  951 
> B     00:00
> atrpms                                               | 2.6 
> kB     00:00
> atrpms/primary_db                                    | 1.3 
> MB     00:02
> atrpms-bleeding                                      | 2.9 
> kB     00:00
> atrpms-bleeding/primary_db                           |  26 
> kB     00:00
> atrpms-bleeding-debuginfo                            | 2.6 
> kB     00:00
> atrpms-bleeding-debuginfo/primary_db                 | 6.6 
> kB     00:00
> atrpms-bleeding-source                               | 2.6 
> kB     00:00
> atrpms-bleeding-source/primary_db                    | 7.7 
> kB     00:00
> atrpms-debuginfo                                     | 2.6 
> kB     00:00
> atrpms-debuginfo/primary_db                          | 219 
> kB     00:00
> atrpms-source                                        | 2.6 
> kB     00:00
> atrpms-source/primary_db                             | 228 
> kB     00:00
> atrpms-testing                                       | 3.0 
> kB     00:00
> atrpms-testing/primary_db                            | 166 
> kB     00:00
> atrpms-testing-debuginfo                             | 2.6 
> kB     00:00
> atrpms-testing-debuginfo/primary_db                  |  31 
> kB     00:00
> atrpms-testing-source                                | 2.6 
> kB     00:00
> atrpms-testing-source/primary_db                     |  27 
> kB     00:00
> base                                                 | 1.1 
> kB     00:00
> centosplus                                           | 1.9 
> kB     00:00
> centosplus/primary_db                                |  99 
> kB     00:00
> contrib                                              |  951 
> B     00:00
> debug                                                |  951 
> B     00:00
> debug/primary                                        | 859 
> kB     00:02
> debug 
> 3390/3390
> epel                                                 | 3.7 
> kB     00:00
> epel-debuginfo                                       | 2.6 
> kB     00:00
> epel-debuginfo/primary_db                            | 488 
> kB     00:00
> epel-source                                          | 2.9 
> kB     00:00
> epel-source/primary_db                               | 935 
> kB     00:01
> epel-testing                                         | 3.7 
> kB     00:00
> epel-testing/primary_db                              | 180 
> kB     00:00
> epel-testing-debuginfo                               | 2.6 
> kB     00:00
> epel-testing-debuginfo/primary_db                    |  25 
> kB     00:00
> epel-testing-source                                  | 2.8 
> kB     00:00
> epel-testing-source/primary_db                       |  47 
> kB     00:00
> extras                                               | 2.1 
> kB     00:00
> remi                                                 | 2.5 
> kB     00:00
> remi/primary_db                                      | 259 
> kB     00:00
> remi-test                                            | 2.5 
> kB     00:00
> remi-test/primary_db                                 |  38 
> kB     00:00
> rpmforge                                             |  975 
> B     00:00
> rpmforge-extras                                      |  975 
> B     00:00
> rpmforge-extras/primary                              |  60 
> kB     00:00
> rpmforge-extras 
> 158/158
> rpmforge-testing                                     |  975 
> B     00:00
> rpmforge-testing/primary                             | 132 
> kB     00:00
> rpmforge-testing 
> 413/413
> updates                                              | 1.9 
> kB     00:00
> Excluding Packages in global exclude list
> Finished
> 24300 packages excluded due to repository priority protections
> Error: No matching Packages to list
> 
> Kind Regards,
> Keith Roberts
> 
Please check how many CentOS-Base files you have in /etc/yum.repos.d/ 
Maybe old are not deleted, just disabled.

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant