Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm working on CentOS 6.3.

Recently I come across repotrack from yum-utils.

yumdownloader --resolve and repotrack looks very similar, but it looks like yumdownloader download only part of dependencies, where repotrack all dependencies.

Just try

yumdownloader --destdir=/tmp/download --assumeyes --resolve parted


repotrack parted

What is the difference between yumdownloader --resolve and repotrack?

share|improve this question

2 Answers 2

yumdownloader --resolve is suppose to resolve all dependencies and download the packages

repotrack parted also resolves dependencies and downloads them

My guess is that repotrack is downloading all the dependencies for any architecture since it doesn't appear you specified the architecture which could account for the difference in what you see downloaded.

I believe you use the repotrack -a switch to specify your architecture

share|improve this answer

Keep in mind, that yumdownloader will use your yum database when resolving dependencies.

For example if you download bash, which needs glibc, it will resolve glibc and skip it, since it is installed. If you want to download all dependencies, use a different installroot instead.

It downloads all the dependencies:

yumdownloader --installroot=/tmp/empty-directory --resolve bash
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.