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 -D DBPATH
27 Use the database in the DBPATH directory.
28
29 -k
30 Read pubkeys from the rpm database instead of installed packages.
31 Note that many distributions stopped storing pubkeys in the
32 database but use a directory like /var/lib/rpm/pubkeys instead.
33
34 -A
35 Also scan the /usr/share/appdata for installed appdata files and
36 create pseudo packages for each file.
37
38 -p PRODDIR
39 Also read SUSE product files from directory PRODDIR. The standard
40 directory is /etc/products.d.
41
42 -n
43 Do not read any packages from the rpm database. This is useful
44 together with -p to only convert SUSE products.
45
46 -C
47 Include the package changelog in the generated solv file.
48
49 -X
50 Autoexpand SUSE pattern and product provides into packages.
51
53 rpms2solv(1)
54
56 Michael Schroeder <mls@suse.de>
57
58
59
60libsolv 03/02/2022 RPMDB2SOLV(1)