Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

reposync(1) [centos man page]

reposync(1)															       reposync(1)

NAME
reposync - synchronize yum repositories to a local directory SYNOPSIS
reposync [options] DESCRIPTION
reposync is used to synchronize a remote yum repository to a local directory, using yum to retrieve the packages. OPTIONS
-h, --help Display a help message, and then quit. -c CONFIG, --config=CONFIG Config file to use (defaults to /etc/yum.conf). -a ARCH, --arch=ARCH Act as if running the specified arch (default: current arch, note: does not override $releasever. x86_64 is a superset for i*86.). --source Also download .src.rpm files. -r REPOID, --repoid=REPOID Specify repo ids to query, can be specified multiple times (default is all enabled). -t, --tempcache Use a temp dir for storing/accessing yum-cache. -p DESTDIR, --download_path=DESTDIR Path to download packages to: defaults to current directory. -g, --gpgcheck Remove packages that fail GPG signature checking after downloading. exit status is '1' if at least one package was removed. -u, --urls Just list urls of what would be downloaded, don't download. -l, --plugins Enable yum plugin support. -n, --newest-only Download only newest packages per-repo. -q, --quiet Output as little information as possible. EXAMPLES
Sync all packages from the 'updates' repo to the current directory: reposync --repoid=updates Sync only the newest packages from the 'updates' repo to the current directory: reposync -n --repoid=updates Sync packages from the 'updates' and 'extras' repos to the current directory: reposync --repoid=updates --repoid=extras Sync all packages from the 'updates' repo to the repos directory: reposync -p repos --repoid=updates Sync all packages from the 'updates' repo to the repos directory excluding x86_64 arch. Edit /etc/yum.conf adding option exclude=*.x86_64. Then: reposync -p repos --repoid=updates FILES
reposync uses the yum libraries for retrieving information and packages. If no configuration file is specified, the default yum configura- tion will be used. /etc/yum.conf /etc/yum/repos.d/ SEE ALSO
yum.conf (5) http://yum.baseurl.org/ AUTHORS
See the Authors file included with this program. BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs. 27 April 2007 reposync(1)

Check Out this Related Man Page

YUM-VERSIONLOCK(1)						   User Manuals 						YUM-VERSIONLOCK(1)

NAME
yum-versionlock - Version lock rpm packages SYNOPSIS
yum-versionlock [ package-name [ package-name]] ... DESCRIPTION
yum-versionlock(1) is a Yum plugin that takes a set of name/versions for packages and excludes all other versions of those packages (including optionally following obsoletes). This allows you to protect packages from being updated by newer versions. The plugin provides a command "versionlock" which allows you to view and edit the list of locked packages easily. yum versionlock add <package-wildcard>... Add a versionlock for all of the packages in the rpmdb matching the given wildcards. yum versionlock exclude <package-wildcard>... Add a exclude (within versionlock) for the latest versions of the packages in the available repos. matching the given wildcards. yum ver- sionlock list List the current versionlock entries. yum versionlock delete <entry-wildcard>... Remove any matching versionlock entries. yum versionlock clear Remove all versionlock entries. FILES
/etc/yum/pluginconf.d/versionlock.conf The system wide configuration file. See yum-versionlock.conf(5) for more information. /etc/yum/pluginconf.d/versionlock.list The default place to put package version lock information (one package and version per. line). The file takes entries in the follow- ing format EPOCH:NAME-VERSION-RELEASE.ARCH See rpm(8) for more information on custom query formats. If the package does not have an EPOCH the number will default to 0. BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs. AVAILABILITY
yum-versionlock is available via: # yum install yum-versionlock AUTHORS
Panu Matilainen <pmatilai@laiskiainen.org> James Antill <james@and.org> Documentation modified by: Gerhardus Geldenhuis <gerhardus.geldenhuis@gmail.com> SEE ALSO
yum(1) 28 December 2009 YUM-VERSIONLOCK(1)
Man Page