Centos – yumdownloader vs repotrack

centosredhatyum

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

versus

repotrack parted

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

Best Answer

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

Related Topic