summaryrefslogtreecommitdiff
path: root/doc/rpmdb2solv.txt
blob: 128e179251462d6c03e4fac3c9688fa7d2309520 (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
rpmdb2solv(1)
=============
:man manual: LIBSOLV
:man source: libsolv


Name
----
rpmdb2solv - convert the rpm database into a solv file

Synopsis
--------
*rpmdb2solv* ['OPTIONS'] ['REFFILE.solv']

Description
-----------
The rpmdb2solv tool reads rpm's installed packages database
and writes it in solv file format to standard output. You can
make use of an old version of the database by specifying a
'REFFILE.solv' file.

*-o* 'OUTFILE'::
Write the generated solv to 'OUTFILE' instead of standard output.

*-P*::
Print percentages as packages are being read in. The output
format is like rpm's --percent option.

*-r* 'ROOTDIR'::
Use 'ROOTDIR' as root directory.

*-k*::
Read pubkeys from the rpm database instead of installed packages.
Note that many distributions stopped storing pubkeys in the
database but use a directory like */var/lib/rpm/pubkeys*
instead.

*-A*::
Also scan the */usr/share/appdata* for installed appdata files
and create pseudo packages for each file.

*-p* 'PRODDIR'::
Also read SUSE product files from directory 'PRODDIR'. The
standard directory is */etc/products.d*.

*-n*::
Do not read any packages from the rpm database. This is useful
together with *-p* to only convert SUSE products.

*-C*::
Include the package changelog in the generated solv file.

*-X*::
Autoexpand SUSE pattern and product provides into packages.

See Also
--------
rpms2solv(1)

Author
------
Michael Schroeder <mls@suse.de>

////
vim: syntax=asciidoc
////