- Add zypp.conf option 'download.use_deltarpm_always' to enable using
[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 ##
125 ## Whether to consider using a .delta.rpm when downloading a package
126 ##
127 ## Valid values: boolean
128 ## Default value: true
129 ##
130 ## Using a delta rpm will decrease the download size for package updates
131 ## since it does not contain all files of the package but only the binary
132 ## diff of changed ones. Recreating the rpm package on the local machine
133 ## is an expensive operation (memory,CPU). If your network connection is
134 ## not too slow, you benefit from disabling .delta.rpm.
135 ##
136 # download.use_deltarpm = true
137
138 ##
139 ## Whether to consider using a deltarpm even when rpm is local
140 ##
141 ## Valid values: boolean
142 ## Default value: false
143 ##
144 ## This option has no effect unless download.use_deltarpm is set true.
145 ##
146 #  download.use_deltarpm_always = false
147
148 ##
149 ## Defining directory which contains vendor description files.
150 ##
151 ## One file in this directory reflects a group of equivalent vendors. e.G.:
152 ## (filename is "nvidia" but could be any other name):
153 ## ------------------------- file contains begin -----------------------
154 ## [main]
155 ##
156 ## vendors = nvidia,suse,opensuse
157 ##
158 ## ------------------------- file contains end -----------------------
159 ## Libzypp makes an string comparision (like strncmp, case-insensitive)
160 ## whereas the beginning of the strings are compared only.
161 ## e.G. vendor "opensuse11.0" is compatible to "openSuSE".
162 ##
163 ## Valid values: A directory
164 ## Default value: {configdir}/vendors.d
165 ##
166 # vendordir = /etc/zypp/vendors.d
167
168
169 ##
170 ## Path where additional product information, .prod files are kept
171 ##
172 ## Valid values: A directory
173 ## Default value: {configdir}/products.d
174 ##
175 ## Changing this is not recommended, as the directory might
176 ## be populated by packages dropping files to /etc/zypp/products.d.
177 ##
178 # productsdir = /etc/zypp/products.d
179
180
181 ##
182 ## Whether required packages are installed ONLY
183 ## So recommended packages, language packages and packages which depend
184 ## on hardware (modalias) will not be regarded.
185 ##
186 ## Valid values: boolean
187 ## Default value: false
188 ##
189 # solver.onlyRequires = false
190
191 ##
192 ## This file contains requirements/conflicts which fulfill the
193 ## needs of a running system.
194 ## For example the system would be broken if not glibc or kernel is
195 ## installed.
196 ## So the user will be informed if these packages will be deleted.
197 ##
198 ## format: Each line represents one dependency:
199 ## e.g.
200 ## requires:kernel
201 ## requires:glibc
202 ##
203 # solver.checkSystemFile = /etc/zypp/systemCheck
204
205 ##
206 ## Packages which are parallel installable with
207 ## diffent versions
208 ##
209 # multiversion = kernel-default,kernel-smp
210
211 ##
212 ## Path to locks file. If not exist then is create.
213 ## In this file is saved also UI locks.
214 ##
215 ## valid value: path to file or place where file can be created
216 ## default value: {configdir}/locks
217 ##
218 # locksfile.path = /etc/zypp/locks
219
220 ##
221 ## Whetever to apply locks in locks file after zypp start.
222 ##
223 ## Valid values: boolean
224 ## Default value: true
225 ##
226 # locksfile.apply = true
227
228 ##
229 ## Where update items are stored
230 ## (example: scripts, messages)
231 ##
232 ## Valid values: path to directory
233 ## Default value: /var/adm
234 ##
235 # update.datadir = /var/adm
236
237 ##
238 ## Where update messages are stored
239 ##
240 ## Valid values: path to directory
241 ## Default value: {update.datadir}/update-messages
242 ##
243 # update.messagesdir = /var/adm/update-messages
244
245 ##
246 ## Where update scripts are stored
247 ##
248 ## Valid values: path to directory
249 ## Default value: {update.datadir}/update-scripts
250 ##
251 # update.scriptsdir = /var/adm/update-scripts
252
253 ##
254 ## Options for package installation: excludedocs
255 ##
256 ## Don't install any files which are marked as documentation.
257 ##
258 ## Valid values:  boolean
259 ## Default value: no
260 ##
261 # rpm.install.excludedocs = no
262
263 ##
264 ## Location of history log file.
265 ##
266 ## The history log is described at
267 ## http://en.opensuse.org/Libzypp/Package_History
268 ##
269 ## Valid values: absolute path to a file
270 ## Default value: /var/log/zypp/history
271 ##
272 # history.logfile = /var/log/zypp/history
273
274 ##
275 ## Global credentials directory path.
276 ##
277 ## If a URL contains ?credentials=<filename> parameter, the credentials will
278 ## be stored and looked for in a file named <filename> in this directory.
279 ##
280 ## Valid values: absolute path to a directory
281 ## Default value: /etc/zypp/credentials.d
282 ##
283 # credentials.global.dir = /etc/zypp/credentials.d
284
285 ##
286 ## Global credentials catalog file path.
287 ##
288 ## This file contains a catalog of all known user credentials which were
289 ## not stored via the ?credentials=<filename> URL parameter, i.e. passed
290 ## in URL as username:password component, or entered by user in
291 ## an authentication dialog.
292 ##
293 ## Valid values: absolute path to a file
294 ## Default value: /etc/zypp/credentials.cat
295 ##
296 # credentials.global.file = /etc/zypp/credentials.cat