Have you checked the contents of file /etc/yum.conf as I briefly mentioned ?

That's the first place to look for repository definitions. /etc/yum.conf 
normally contains a line to include /etc/yum.repos.d, but can also hold 
repository definitions itself.

Regards,

Geert

On Wednesday 30 September 2009, Daniel A. Ramaley wrote:
> On 2009-09-30 at 11:25:24, Geert Janssens wrote:
> >I am not sure what you mean with "regular Red Hat repositories that
> >aren't listed in .repo files".
> >
> >As far as I know (but my knowledge is limited) all repositories used
> >by yum are defined in /etc/yum.repos.d/ or directly in /etc/yum.conf
>
> I've not used CentOS, so i'm sure what you say is correct for that
> distro. In RHEL, however, it doesn't seem to be accurate:
>
> # yum repolist all
> Loaded plugins: rhnplugin, security
> repo id            repo name                                      status
> rhel-debuginfo     Red Hat Enterprise Linux 5Server - i386 - Debu disabled
> rhel-i386-server-5 Red Hat Enterprise Linux (v. 5 for 32-bit x86) enabled:
> 6,138
> repolist: 6,138
>
> In case the word wrapping messes things up, that shows 2 repositories:
> rhel-debuginfo (disabled) and rhel-i386-server-5 (enabled). However,
> only one of them has a .repo file:
>
> # ls /etc/yum.repos.d/
> rhel-debuginfo.repo
>
> The main Red Hat repository (rhel-i386-server-5) is not listed in a
> .repo file. On RHEL, yum seems to be configured to somehow magically
> know about the main Red Hat repository without it being in the config
> files. So that's what i mean by repositories that aren't listed.
>
> ------------------------------------------------------------------------
> Dan Ramaley                            Dial Center 118, Drake University
> Network Programmer/Analyst             2407 Carpenter Ave
> +1 515 271-4540                        Des Moines IA 50311 USA
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.rpmforge.net/mailman/listinfo/users


-- 
Kobalt W.I.T.
Web & Information Technology
Brusselsesteenweg 152
1850 Grimbergen

Tel  : +32 479 339 655
Email: [email protected]

_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to