0c4585f718ccc3f97ed3fddff9ee2bec1190990c
[platform/upstream/libsolv.git] / doc / rpmdb2solv.txt
1 rpmdb2solv(1)
2 =============
3 :man manual: LIBSOLV
4 :man source: libsolv
5
6
7 Name
8 ----
9 rpmdb2solv - convert the rpm database into a solv file
10
11 Synopsis
12 --------
13 *rpmdb2solv* ['OPTIONS'] ['REFFILE.solv']
14
15 Description
16 -----------
17 The rpmdb2solv tool reads rpm's installed packages database
18 and writes it in solv file format to standard output. You can
19 make use of an old version of the database by specifying a
20 'REFFILE.solv' file.
21
22 *-o* 'OUTFILE'::
23 Write the generated solv to 'OUTFILE' instead of standard output.
24
25 *-P*::
26 Print percentages as packages are being read in. The output
27 format is like rpm's --percent option.
28
29 *-r* 'ROOTDIR'::
30 Use 'ROOTDIR' as root directory.
31
32 *-k*::
33 Read pubkeys from the rpm database instead of installed packages.
34 Note that many distributions stopped storing pubkeys in the
35 database but use a directory like */var/lib/rpm/pubkeys*
36 instead.
37
38 *-A*::
39 Also scan the */usr/share/appdata* for installed appdata files
40 and create pseudo packages for each file.
41
42 *-p* 'PRODDIR'::
43 Also read SUSE product files from directory 'PRODDIR'. The
44 standard directory is */etc/products.d*.
45
46 *-n*::
47 Do not read any packages from the rpm database. This is useful
48 together with *-p* to only convert SUSE products.
49
50 *-X*::
51 Autoexpand SUSE pattern and product provides into packages.
52
53 See Also
54 --------
55 rpms2solv(1)
56
57 Author
58 ------
59 Michael Schroeder <mls@suse.de>