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