Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running F17 and inside of yum.repos.d. I see multiple repos listed like adobe-linux-1386.repo, fedora.repo, google-chrome.repo, etc. When I yum install are some files being downloaded from multiple different repos or all from one?

share|improve this question
up vote 4 down vote accepted

Most of the repositories specify a mirrorlist in their configuration file. When present, yum will select one or more of the mirrors provided by the list. Repos that don't have mirrors will have baseurl instead of mirrorlist.

When downloading multiple packages, yum can download from multiple sites in parallel, though this isn't always obvious in the terminal unless you watch very carefully.

share|improve this answer

Most packages would be downloaded from fedora.repo. Adobe packages would be downloaded from adobe-linux-i386.repo. Google Chrome packages would be downloaded from google-chrome.repo

share|improve this answer
Can I add repos to this directory? – piperchester Aug 26 '12 at 14:05
If you have root privileges, you can add repos to /etc/yum.repos.d – emory Aug 26 '12 at 16:03

Also depends on whether a repo is disabled or enabled.

share|improve this answer
What determines whether a repo is disabled or enabled? – piperchester Aug 26 '12 at 14:05
2 things that determine whether a repos is enabled or disabled. (1) the enabled=? line in the repo file (in /etc/yum.repos.d (2) Using the --enablerepo or --disablerepo tag in the yum command. For example, you could add enable=0 to your google-chrome.repo. Then in ordinary operation, yum would ignore google-chrome-repo. On those occasions when you want google-chrome-repo, do yum --enable-repo google-chrome.repo ... – emory Aug 26 '12 at 16:14

Normally the contents of repository do not have the same rpms (like in your example). If you had "conflicting" rpms you can use yum_priorities to choose which one to use first.

But in the end a single rpm will be downloaded from a single (mirror)-server that is mentioned in a single repository (directly or via mirror-list).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.