CentOS 7.0 - man page for reposync (centos section 1)

Linux & Unix Commands - Search Man Pages

Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

reposync(1)									      reposync(1)

       reposync - synchronize yum repositories to a local directory

       reposync [options]

       reposync is used to synchronize a remote yum repository to a local directory, using yum to
       retrieve the packages.

       -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  over-
	      ride $releasever. x86_64 is a superset for i*86.).

	      Also download .src.rpm files.

       -r REPOID, --repoid=REPOID
	      Specify  repo  ids  to  query,  can  be  specified  multiple  times (default is all

       -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.

       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

       reposync uses the yum libraries for retrieving information and packages. If no  configura-
       tion file is specified, the default yum configuration will be used.


       yum.conf (5)

       See the Authors file included with this program.

       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)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 08:40 PM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
Show Password

Not a Forum Member?
Forgot Password?