1reposync(1) reposync(1)
2
3
4
6 reposync - synchronize yum repositories to a local directory
7
9 reposync [options]
10
12 reposync is used to synchronize a remote yum repository to a local
13 directory, using yum to retrieve the packages.
14
16 -h, --help
17 Display a help message, and then quit.
18
19 -c CONFIG, --config=CONFIG
20 Config file to use (defaults to /etc/yum.conf).
21
22 -a ARCH, --arch=ARCH
23 Act as if running the specified arch (default: current arch,
24 note: does not override $releasever).
25
26 --source
27 Also download .src.rpm files.
28
29 -r REPOID, --repoid=REPOID
30 Specify repo ids to query, can be specified multiple times
31 (default is all enabled).
32
33 -t, --tempcache
34 Use a temp dir for storing/accessing yum-cache.
35
36 -p DESTDIR, --download_path=DESTDIR
37 Path to download packages to: defaults to current directory.
38
39 -g, --gpgcheck
40 Remove packages that fail GPG signature checking after download‐
41 ing.
42
43 -u, --urls
44 Just list urls of what would be downloaded, don't download.
45
46 -n, --newest-only
47 Download only newest packages per-repo.
48
49 -q, --quiet
50 Output as little information as possible.
51
53 Sync all packages from the 'updates' repo to the current directory:
54 reposync --repoid=updates
55
56 Sync only the newest packages from the 'updates' repo to the current
57 directory:
58 reposync -n --repoid=updates
59
60 Sync packages from the 'updates' and 'extras' repos to the current
61 directory:
62 reposync --repoid=updates --repoid=extras
63
64 Sync all packages from the 'updates' repo to the repos directory:
65 reposync -p repos --repoid=updates
66
68 reposync uses the yum libraries for retrieving information and pack‐
69 ages. If no configuration file is specified, the default yum configura‐
70 tion will be used.
71
72 /etc/yum.conf
73 /etc/yum/repos.d/
74
76 yum.conf [4m(5)
77 http://yum.baseurl.org/
78
80 See the Authors file included with this program.
81
82
84 There are of course no bugs, but should you find any, you should first
85 consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if
86 unsuccessful in finding a resolution contact the mailing list: yum-
87 devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com
88 for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report
89 for all other bugs.
90
91
92
93
94 27 April 2007 reposync(1)