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 -r REPOID, --repoid=REPOID
27 Specify repo ids to query, can be specified multiple times
28 (default is all enabled).
29
30 -t, --tempcache
31 Use a temp dir for storing/accessing yum-cache.
32
33 -p DESTDIR, --download_path=DESTDIR
34 Path to download packages to: defaults to current directory.
35
36 -g, --gpgcheck
37 Remove packages that fail GPG signature checking after download‐
38 ing.
39
40 -u, --urls
41 Just list urls of what would be downloaded, don't download.
42
43 -n, --newest-only
44 Download only newest packages per-repo.
45
46 -q, --quiet
47 Output as little information as possible.
48
50 Sync all packages from the 'updates' repo to the current directory:
51 reposync --repoid=updates
52
53 Sync only the newest packages from the 'updates' repo to the current
54 directory:
55 reposync -n --repoid=updates
56
57 Sync packages from the 'updates' and 'extras' repos to the current
58 directory:
59 reposync --repoid=updates --repoid=extras
60
61 Sync all packages from the 'updates' repo to the repos directory:
62 reposync -p repos --repoid=updates
63
65 reposync uses the yum libraries for retrieving information and pack‐
66 ages. If no configuration file is specified, the default yum configura‐
67 tion will be used.
68
69 /etc/yum.conf
70 /etc/yum/repos.d/
71
73 yum.conf [4m(5)
74 http://linux.duke.edu/yum/
75
77 See the Authors file included with this program.
78
79
80
81 2007 Apr 27 reposync(1)