logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rpmdb2solv - convert the rpm database into a solv file

Author

       Michael Schroeder <mls@suse.de>

libsolv                                            03/02/2022                                      RPMDB2SOLV(1)

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.

       -oOUTFILE
           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.

       -rROOTDIR
           Use ROOTDIR as root directory.

       -DDBPATH
           Use the database in the DBPATH 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.

       -pPRODDIR
           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.

Name

       rpmdb2solv - convert the rpm database into a solv file

See Also

rpms2solv(1)

Synopsis

rpmdb2solv [OPTIONS] [REFFILE.solv]

See Also