2

In some places I've read, users have mentioned the path /etc/yum/repos.d along side /etc/yum.repos.d. Was this a path that actually used at some point?

I even loaded of CentOS 5.11 and it's still /etc/yum.repos.d. Was this other path ever used? It seems odd that the repos.d directory isn't inside /etc/yum. Does anyone know the history of this?

1 Answer 1

2

It was a thing up until CentOS 5. man yum.conf had:

reposdir    A  list of directories where yum should look for .repo
files which define repositories to use. Default is `/etc/yum/re-
pos.d'.

(But elsewhere in that manpage, and in man yum, the path mentioned is /etc/yum.repos.d. This might have been the transitional version.)

In CentOS 6, that became:

reposdir    A  list of directories where yum should look for .repo
files which define repositories to use. Default is `/etc/yum.re-
pos.d'.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .