1FEDREPOS(1)                                                        FEDREPOS(1)
2
3
4

NAME

6       fedrepos - Update all fedora yum repositories on a host to use a single
7       source
8

SYNOPSIS

10       fedrepos [--proxy PROXY] [--proxy_username USERNAME] [--proxy_password
11       PASSWORD] [--devel | --rawhide] <source ...>
12
13       fedrepos [options] baseurl [--no-metalink | --metalink <metalink>]
14       <url>
15
16       fedrepos [options] mirrorlist <url>
17
18       fedrepos [options] metalink <url>
19
20       fedrepos [options] default
21
22       fedrepos -h
23

DESCRIPTION

25       fedrepos is a tool to update the configuration of Fedora yum
26       repositories on a host. Fedora configures 9 yum repositories. fedrepos
27       simplifies the task of updating all 9 of them consistently.
28

SOURCES

30       fedrepos can configure all repose to use the same proxy, as well as
31       configuring them all to use the same Fedora mirror (with baseurl),
32       mirrorlist or metalink URL.
33
34       baseurl
35           Configure baseurl for all Fedora yum repositories to use the same
36           Fedora mirror. The URL given must be the top level directory
37           containing the releases, updates and development directories, e.g.:
38
39           http://mirror.bytemark.co.uk/fedora/linux/
40
41           baseurl will append the correct path for each repository, which
42           will be modied if --devel or --rawhide is given.
43
44           By default, baseurl will also configure the Fedora default
45           metalink, which yum will use automatically if the baseurl is not
46           available. The user can specify an alternative metalink url with
47           --metalink, or disable this behaviour with --no-metalink.
48
49           Any existing mirrorlist will be removed.
50
51       mirrorlist
52           Configure mirrorlist for all Fedora yum repositories. The URL given
53           will have the correct query appended to it for each repository.
54
55           Any existing baseurl or metalink will be removed.
56
57       metalink
58           Configure metalink for all Fedora yum repositories. The URL given
59           will have the correct query appended to it for each repository.
60
61           Any existing baseurl or mirrorlist will be removed.
62
63       default
64           Configure the default metalink for all Fedora yum repositories.
65

OPTIONS

67       --proxy PROXY, --proxy_username USERNAME, proxy_password PASSWORD
68           In addition to configuring the given source, specify a proxy to be
69           used by all Fedora yum repositories. --proxy may be used on its own
70           without --proxy_username and --proxy_password.
71
72       --devel
73           Specify that the current distribution has not yet been released
74           (i.e. it’s still in alpha or beta testing). This affects the
75           baseurl.
76
77       --rawhide
78           Specify that the guest should be configured with rawhide
79           repositories. This affects baseurl, mirrorlist and metalink.
80

EXAMPLES

82       Configure a host to use a local Fedora mirror, and fall back to the
83       default metalink if it is not available:
84
85             # fedrepos baseurl http://mirrors.example.com/fedora
86
87       Configure a Fedora X host, which is still in beta, to use a local
88       Fedora mirror with no metalink fallback:
89
90             # fedrepos --devel \
91                        baseurl http://mirrors.example.com/fedora --no-metalink
92
93       Configure a host to use a caching proxy. Make effective use of the
94       cache by specifying a specific mirror:
95
96             # fedrepos --proxy http://proxy.example.com:3128/ \
97                         baseurl http://mirrors.example.com/fedora
98
99       Restore the default yum repositories:
100
101             # fedrepos default
102

SEE ALSO

104       yum-config-manager(1)
105

AUTHORS

107       Matthew Booth <mbooth@redhat.com>
108
109
110
111                                  11/25/2013                       FEDREPOS(1)
Impressum