RPMDB2SOLV(1)
β¨ RPMDB2SOLV β¨
okay so bestie, this is a page from the libsolv manual (section 1, the user commands girlies π
), and it's literally about a lil tool called rpmdb2solv. buckle up π
πΈ NAME πΈ
rpmdb2solv β convert the rpm database into a solv file
π¦ SYNOPSIS π¦
rpmdb2solv [OPTIONS] [REFFILE.solv]
π DESCRIPTION π
So the rpmdb2solv tool reads rpm's installed packages database and writes it in solv file format, straight to standard output. slay. β¨
And here's the cute part: you can make use of an old version of the database by specifying a REFFILE.solv file. yes bestie, vintage. π
π the options, no cap π
-o OUTFILEβ write the generated solv toOUTFILEinstead of standard output. because sometimes you want it in a file, and honestly? valid.-Pβ print percentages as packages are being read in. the output format is like rpm's--percentoption. little progress bar moment, we love to see it π«Ά-r ROOTDIRβ useROOTDIRas root directory.-D DBPATHβ use the database in theDBPATHdirectory.-kβ read pubkeys from the rpm database instead of installed packages. β οΈ heads up though: many distributions stopped storing pubkeys in the database but use a directory like/var/lib/rpm/pubkeysinstead. so like, lowkey check first, iykyk.-Aβ also scan the/usr/share/appdatafor installed appdata files and create pseudo packages for each file. pseudo packages are so main character energy fr fr.-p PRODDIRβ also read SUSE product files from directoryPRODDIR. the standard directory is/etc/products.d. iconic default, periodt.-nβ do not read any packages from the rpm database. this is useful together with-pto only convert SUSE products. it's giving "products only, nothing else, we're being picky today" π-Cβ include the package changelog in the generated solv file. the lore, preserved π-Xβ autoexpand SUSE pattern and product provides into packages. β¨
π SEE ALSO π
rpms2solv(1)β the sibling, the bestie, the other one π¦
π AUTHOR π
Michael Schroeder <mls@suse.de> β the legend, the icon, the moment π
okay that's the whole vibe, bestie. go forth and convert databases. π
this has been a libsolv production, version dated 03/02/2022 β thank u for coming to my ted talk, mwah πβ¨π§
π¦ where this page comes from
- arch rolling: libsolv 0.7.41-1 Β· BSD-3-Clause
- centos-stream 10: libsolv-tools-base 0.7.33-7.el10 Β· BSD-3-Clause
- centos-stream 9: libsolv-tools 0.7.24-8.el9 Β· BSD
- debian bookworm: libsolv-tools 0.7.23-1+deb12u1 Β· BSD-3-Clause
- debian trixie: libsolv-tools 0.7.32-1 Β· BSD-3-Clause
- fedora 43: libsolv-tools-base 0.7.34-5.fc43 Β· BSD-3-Clause
- fedora 43: libsolv-tools-base 0.7.40-1.fc43 Β· BSD-3-Clause
- fedora 44: libsolv-tools-base 0.7.36-2.fc44 Β· BSD-3-Clause
- fedora 44: libsolv-tools-base 0.7.40-1.fc44
- fedora 44: libsolv-tools-base 0.7.40-2.fc44
- fedora 44: libsolv-tools-base 0.7.41-1.fc44 Β· BSD-3-Clause
- nixos 26.05: libsolv 0.7.39
- opensuse-leap 16.0: libsolv-tools-base 0.7.40-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: libsolv-tools-base 0.7.40-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: libsolv-tools-base 0.7.40-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: libsolv-tools-base 0.7.40-160000.1.1 Β· BSD-3-Clause
- ubuntu noble: libsolv-tools 0.7.28-1build2 Β· BSD-3-Clause
- ubuntu questing: libsolv-tools 0.7.32-1
- ubuntu resolute: libsolv-tools 0.7.35-1build1 Β· BSD-3-Clause
- ubuntu stonking: libsolv-tools 0.7.39-1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms