repodiff command examples

repodiff command examples

repodiff – list differences between two or more Yum repositories

Compare source pkgs in two local repos:

#repodiff --old=/tmp/repo-old --new=/tmp/repo-new

Compare x86_64 compat. binary pkgs in two remote repos, and two local one:

repodiff -a x86_64 --old=http://example.com/repo1-old --old=/tmp/repo-old --new=http://example.com/repo1-new --new=/tmp/repo-new

Compare x86_64 compat. binary pkgs, but also compare arch:

repodiff -a x86_64 --compare-arch --old=http://example.com/repo1-old --old=/tmp/repo-old --new=http://example.com/repo1-new --new=/tmp/repo-new

Compare two releases of Fedora (15 => 16):

#repodiff --old='mirror:https://mirrors.fedoraproject.org/metalink?repo=fedora-source-15&arch=i386'--new='mirror:https://mirrors.fedoraproject.org/metalink?repo=fedora-source-16&arch=i386' --size --simple --downgrade

 

Leave a Reply

Your email address will not be published. Required fields are marked *