summaryrefslogtreecommitdiffstats
path: root/pod/urpmq.8.pod
blob: 70123da009d06c2e27b2f1363b0cfb3b0bb5e16d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
=head1 NAME

urpmq - urpmi database query tool.

=head1 SYNOPSIS

    urpmq [options] [package_names | rpm_files...]

=head1 DESCRIPTION

urpmq is a tool to access and query the urpmi database. It can be used to
list available packages in the various urpmi media, or to list the full
dependencies of a package, or to list the packages that will be installed
if you start urpmi. The output of urpmq has the following format, adjusted
according to the command-line options that were used:

    [group/]package_name[-version][-release][.arch]

=head1 OPTIONS

=over

=item B<--help>

Prints a help message and exit (this is the same as B<-h> or B<-?>).

=item B<--list>

List available packages.

=item B<--list-media> [I<type>]

List available media. You can optionally add a type selector: B<all> to
list all media (the default), B<update> to list the update media, or
B<active> to list only active media.

=item B<--list-url>

List available media and their URLs.

=item B<--list-nodes>

List available nodes for parallel installation (when using B<--parallel>).

=item B<--list-aliases>

List available parallel aliases.

=item B<--update>

Use only update media. This means that urpmq will search and resolve
dependencies only in media marked as containing updates (e.g. which have
been created with C<urpmi.addmedia --update>).

=item B<--media> I<media1,...,mediaN>

Select specific media to be used, instead of defaulting
to all available media (or all update media if B<--update> is used).
No rpm will be found in other media.

=item B<--excludemedia> I<media1,...,mediaN>

Do not use the specified media.

=item B<--searchmedia> I<media>

Use only the specified media to search for packages that are specified on
the command-line, or which are found when using B<--auto-select>.
Dependencies of those packages can still be found in other media.

=item B<--sortmedia> I<media1,...,mediaN>

Sort the specified media. Substrings may be used to simplify grouping.
This way, C<media1> will be taken into account first, then C<media2>, and
so on. Media which aren't listed are taken into account after the others.

=item B<--synthesis> I<file>

Use the specified synthesis file instead of the urpmi database for
searching packages and resolving dependencies.

=item B<--auto-select>

Select all packages that can be upgraded, according to already installed
packages and packages listed in various registered media.

=item B<--auto-orphans>

List orphans.

=item B<--no-suggests>

With this option, urpmq will not require "suggested" packages. 
By default, urpmq will require (newly) suggested packages.

=item B<--allow-suggests>

With this option, urpmi will install "suggested" packages. 
This is useful if you have C<no-suggests> in urpmi.cfg.

=item B<--keep>

When some dependencies cannot be satisfied,
change the selection of packages to try to keep existing packages instead
of removing them. This behaviour generally rejects the upgrade of packages
given on command line (or when using B<--auto-select>) when a dependency error
occurs.

=item B<--fuzzy>

Disable fast search on exact package name; i.e. it will propose
all packages matching the name partially, even if one of them matches exactly
the specified name (this is the same as B<-y>).

=item B<--src> I<name>

Search a source package
matching I<name> and it will select all dependencies by default.

=item B<--sources>

Prints source URLs (or file names) of all selected
packages. (Can be used by the superuser only.)

=item B<--force>

Continue when requesting packages that are not available.

=item B<--ignorearch>

Allow to search packages whose architecture isn't compatible with the
architecture of the host.

=item B<--parallel> I<alias>

Activate distributed execution of urpmi to other machines (it is mandatory
that urpmi is installed but it is not necessary to have media defined on
any machines). I<alias> defines which extension module to use by urpmi
(currently urpmi-parallel-ka-run or urpmi-parallel-ssh) and which
machines should be updated, this alias is defined in the file
F</etc/urpmi/parallel.cfg> as described below.

=item B<--root> I<directory>

Use the file system tree rooted for rpm install. All operations and
scripts will run after chroot(2). The rpm database in the rooted tree
will be used but urpmi configuration comes from normal system.

=item B<--urpmi-root> I<directory>

Use the file system tree rooted for urpmi database and rpm install. Contrary
to B<--root>, the urpmi configuration comes from the rooted tree.

=item B<--wget>

Use wget for downloading distant files. By default curl
is used if available, or wget instead.

=item B<--curl>

Use curl for downloading distant files. By default curl is used if
available, or wget instead.

=item B<--curl-options> I<'options'>

=item B<--rsync-options> I<'options'>

=item B<--wget-options> I<'options'>

Specify additional command-line options to be passed to curl, rsync or
wget when retrieving files. If several options are to be passed, separate
them with spaces and enclose them in quotes.

Note that the rsync options will also be used for ssh media.

=item B<--proxy> I<proxyhost[:port|1080]>

Use specified HTTP proxy.

=item B<--proxy-user> I<user:password>

Use specified user and password to use for proxy authentication.
Specifying B<--proxy-user=ask> will cause urpmq to prompt for a username
and a password.

=item B<--use-distrib> I<directory>

Configure urpmq on the fly from a distribution tree.

=item B<--env> I<directory>

Use a different environment directly from a bug report to replay a bug.
The argument is the same argument given to B<--bug> option.

=item B<--skip> I<pattern,...>

You can specify a list of packages which installation should be skipped.
You can also include patterns between //, just like in
F</etc/urpmi/skip.list> (see urpmi.files(5)).

=item B<--prefer> I<pattern,...>

You can specify a list of packages which installation should be preferred
(especially useful with B<--auto>).
You can also include patterns between //, just like in
F</etc/urpmi/prefer.list> (see urpmi.files(5)).

=item B<--wait-lock>

If the urpmi or rpm db is busy, wait until it is available

=item B<--changelog>

Prints the package changelog.

=item B<--conflicts>

Prints the package conflicts.

=item B<--provides>

Prints the package provides.

=item B<--requires>

Prints the package requires.

=item B<--suggests>

Prints the package suggests.

=item B<--sourcerpm>

Prints the sourcerpm of the package

=item B<--summary>

Prints concise information about the package.

=item B<--verbose>

Activate verbose mode.

=item B<-v>

This is the same as B<--verbose>.

=item B<-d>

This is the same as B<--requires-recursive>.

=item B<-u>

Deselect packages if a better version is already installed.

=item B<-m>

Equivalent to B<-du>.

=item B<-a>

Select all matches on command line; that's useful when one gives an
incomplete pacakge name and when using B<-f> or B<-r>.

=item B<-c>

If maximal closure is used, assume that a package listed may have wrong or
not up-to-date dependencies. This causes more packages to be upgraded and
may correct unresolved dependencies on the rpm database.

=item B<--requires-recursive>

Print dependencies (maximal closure).

=item B<--whatprovides>

Search in provides to find package (this is the opposite of B<-P>).

=item B<--whatrequires>

Reverse search to what requires the package given.

=item B<--whatrequires-recursive>

Reverse search to what requires recursively the package given
(looking through virtual packages).

=item B<-S>

Same as B<--summary>.

=item B<-y>

This is the same as B<--fuzzy>.

=item B<-Y>

Like B<-y>, but forces to match case-insensitively.

=item B<-s>

This is the same as B<--src>.

=item B<-p>

This is the same as B<--whatprovides>.

=item B<-i>

Prints useful information in human readable form, as for I<rpm -qi>.

=item B<-g>

Prints groups of each package listed.

=item B<-r>

Prints also version and release of each package listed.

=item B<-f>

Prints also version, release and arch of each package listed.

=item B<-l>

Lists files in packages.

=back

=head1 FILES

See urpmi.files(5).

=head1 SEE ALSO

urpmi.addmedia(8), urpmi.update(8), urpmi.removemedia(8), urpmf(8),
urpmi(8), urpmi.files(5).

=head1 AUTHOR

Pascal Rigaux <pixel@mandriva.com> (original author and current maintainer), 
FranE<ccedil>ois Pons, Rafael Garcia-Suarez