method to reset the transfer settings
[platform/upstream/libzypp.git] / zypp.conf
1 ## Configuration file for software management
2 ## /etc/zypp/zypp.conf
3 ##
4 ## Boolean values are 0 1 yes no on off true false
5
6
7 [main]
8
9
10 ##
11 ## Override the detected architecture
12 ##
13 ## Valid values:  i586, i686, x86_64, ppc, ppc64, ia64, s390, s390x, ..
14 ## Default value: Autodetected
15 ##
16 ## ** CAUTION: Only set if you know what you're doing !
17 ## ** Changing this needs a full refresh (incl. download)
18 ## ** of all repository data.
19 ##
20 # arch = s390
21
22
23 ##
24 ## Path where the caches are kept.
25 ##
26 ## Valid values: A directory
27 ## Default value: /var/cache/zypp
28 ##
29 # cachedir = /var/cache/zypp
30
31
32 ##
33 ## Path where the repo metadata is downloaded and kept.
34 ##
35 ## Valid values: A directory
36 ## Default value: {cachedir}/raw
37 ##
38 ## Changing this needs a full refresh (incl. download) of all repository data
39 ##
40 # metadatadir = /var/cache/zypp/raw
41
42
43 ##
44 ## Path where the repo solv files are created and kept.
45 ##
46 ## Valid values: A directory
47 ## Default value: {cachedir}/solv
48 ##
49 # solvfilesdir = /var/cache/zypp/solv
50
51
52 ##
53 ## Path where the repo packages are downloaded and kept.
54 ##
55 ## Valid values: A directory
56 ## Default value: {cachedir}/packages
57 ##
58 # packagesdir = /var/cache/zypp/packages
59
60
61 ##
62 ## Path where the configuration files are kept.
63 ##
64 ## Valid values: A directory
65 ## Default value: /etc/zypp
66 ##
67 # configdir = /etc/zypp
68
69 ##
70 ## Path where the known repositories .repo files are kept
71 ##
72 ## Valid values: A directory
73 ## Default value: {configdir}/repos.d
74 ##
75 ## Changing this invalidates all known repositories
76 ##
77 # reposdir = /etc/zypp/repos.d
78
79 ##
80 ## Path where the known services .service files are kept
81 ##
82 ## Valid values: A directory
83 ## Default value: {configdir}/services.d
84 ##
85 ## Changing this invalidates all known services
86 ##
87 # reposdir = /etc/zypp/service.d
88
89
90 ##
91 ## Whether repository urls should be probed when added
92 ##
93 ## Valid values: boolean
94 ## Default value: false
95 ##
96 ## If true, accessability of repositories is checked immediately (when added)
97 ##   (e.g. 'zypper ar' will check immediately)
98 ## If false, accessability of repositories is checked when refreshed
99 ##   (e.g. 'zypper ar' will delay the check until the next refresh)
100 ##
101 # repo.add.probe = false
102
103
104 ##
105 ## Amount of time in minutes that must pass before another refresh.
106 ##
107 ## Valid values: Integer
108 ## Default value: 10
109 ##
110 ## If you have autorefresh enabled for a repository, it is checked for
111 ## up-to-date metadata not more often than every <repo.refresh.delay>
112 ## minutes. If an automatic request for refresh comes before <repo.refresh.delay>
113 ## minutes passed since the last check, the request is ignored.
114 ##
115 ## A value of 0 means the repository will always be checked. To get the oposite
116 ## effect, disable autorefresh for your repositories.
117 ##
118 ## This option has no effect for repositories with autorefresh disabled, nor for
119 ## user-requested refresh.
120 ##
121 # repo.refresh.delay = 10
122
123 ##
124 ## Maximum number of concurrent connections to use per transfer
125 ## This setting is only used if more than one is possible
126 ## Setting it to a reasonable number avoids flooding servers
127 ##
128 # download.max_concurrent_connections = 2
129
130 ##
131 ## Sets the minimum download speed (bytes per second)
132 ## until the connection is dropped
133 ## This can be useful to prevent security attacks on hosts by
134 ## providing updates at very low speeds.
135 ##
136 ## 0 means no limit
137 ##
138 # download.min_download_speed = 0
139
140 ## Maximum download speed (bytes per second)
141 ## 0 means no limit
142 # download.max_download_speed = 0
143
144 ## Number of tries per download which will be
145 ## done without user interaction
146 ## 0 means no limit (use with caution)
147 # download.max_silent_tries = 5
148
149 ##
150 ## Whether to consider using a .delta.rpm when downloading a package
151 ##
152 ## Valid values: boolean
153 ## Default value: true
154 ##
155 ## Using a delta rpm will decrease the download size for package updates
156 ## since it does not contain all files of the package but only the binary
157 ## diff of changed ones. Recreating the rpm package on the local machine
158 ## is an expensive operation (memory,CPU). If your network connection is
159 ## not too slow, you benefit from disabling .delta.rpm.
160 ##
161 # download.use_deltarpm = true
162
163 ##
164 ## Whether to consider using a deltarpm even when rpm is local
165 ##
166 ## Valid values: boolean
167 ## Default value: false
168 ##
169 ## This option has no effect unless download.use_deltarpm is set true.
170 ##
171 #  download.use_deltarpm.always = false
172
173 ##
174 ## Defining directory which contains vendor description files.
175 ##
176 ## One file in this directory reflects a group of equivalent vendors. e.G.:
177 ## (filename is "nvidia" but could be any other name):
178 ## ------------------------- file contains begin -----------------------
179 ## [main]
180 ##
181 ## vendors = nvidia,suse,opensuse
182 ##
183 ## ------------------------- file contains end -----------------------
184 ## Libzypp makes an string comparision (like strncmp, case-insensitive)
185 ## whereas the beginning of the strings are compared only.
186 ## e.G. vendor "opensuse11.0" is compatible to "openSuSE".
187 ##
188 ## Valid values: A directory
189 ## Default value: {configdir}/vendors.d
190 ##
191 # vendordir = /etc/zypp/vendors.d
192
193
194 ##
195 ## Whether required packages are installed ONLY
196 ## So recommended packages, language packages and packages which depend
197 ## on hardware (modalias) will not be regarded.
198 ##
199 ## Valid values: boolean
200 ## Default value: false
201 ##
202 # solver.onlyRequires = false
203
204 ##
205 ## This file contains requirements/conflicts which fulfill the
206 ## needs of a running system.
207 ## For example the system would be broken if not glibc or kernel is
208 ## installed.
209 ## So the user will be informed if these packages will be deleted.
210 ##
211 ## Format: Each line represents one dependency:
212 ##         e.g.
213 ##         requires:kernel
214 ##         requires:glibc
215 ## Default value: {configdir}/systemCheck
216 ##
217 # solver.checkSystemFile = /etc/zypp/systemCheck
218
219 ##
220 ## Packages which are parallel installable with
221 ## diffent versions
222 ##
223 # multiversion = kernel-default,kernel-smp
224
225 ##
226 ## Path to locks file. If not exist then is create.
227 ## In this file is saved also UI locks.
228 ##
229 ## valid value: path to file or place where file can be created
230 ## default value: {configdir}/locks
231 ##
232 # locksfile.path = /etc/zypp/locks
233
234 ##
235 ## Whetever to apply locks in locks file after zypp start.
236 ##
237 ## Valid values: boolean
238 ## Default value: true
239 ##
240 # locksfile.apply = true
241
242 ##
243 ## Where update items are stored
244 ## (example: scripts, messages)
245 ##
246 ## Valid values: path to directory
247 ## Default value: /var/adm
248 ##
249 # update.datadir = /var/adm
250
251 ##
252 ## Where update messages are stored
253 ##
254 ## Valid values: path to directory
255 ## Default value: {update.datadir}/update-messages
256 ##
257 # update.messagesdir = /var/adm/update-messages
258
259 ##
260 ## Where update scripts are stored
261 ##
262 ## Valid values: path to directory
263 ## Default value: {update.datadir}/update-scripts
264 ##
265 # update.scriptsdir = /var/adm/update-scripts
266
267 ##
268 ## Options for package installation: excludedocs
269 ##
270 ## Don't install any files which are marked as documentation.
271 ##
272 ## Valid values:  boolean
273 ## Default value: no
274 ##
275 # rpm.install.excludedocs = no
276
277 ##
278 ## Location of history log file.
279 ##
280 ## The history log is described at
281 ## http://en.opensuse.org/Libzypp/Package_History
282 ##
283 ## Valid values: absolute path to a file
284 ## Default value: /var/log/zypp/history
285 ##
286 # history.logfile = /var/log/zypp/history
287
288 ##
289 ## Global credentials directory path.
290 ##
291 ## If a URL contains ?credentials=<filename> parameter, the credentials will
292 ## be stored and looked for in a file named <filename> in this directory.
293 ##
294 ## Valid values: absolute path to a directory
295 ## Default value: /etc/zypp/credentials.d
296 ##
297 # credentials.global.dir = /etc/zypp/credentials.d
298
299 ##
300 ## Global credentials catalog file path.
301 ##
302 ## This file contains a catalog of all known user credentials which were
303 ## not stored via the ?credentials=<filename> URL parameter, i.e. passed
304 ## in URL as username:password component, or entered by user in
305 ## an authentication dialog.
306 ##
307 ## Valid values: absolute path to a file
308 ## Default value: /etc/zypp/credentials.cat
309 ##
310 # credentials.global.file = /etc/zypp/credentials.cat