RPMDB2SOLV(1)

πŸ“¦
version 0.7.41 Β· 2 versions
  • 0.7.41 Β· arch rolling, centos-stream 10, centos-stream 9, debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.7.20 Β· ubuntu jammy
, in arch rolling, centos-stream 10, centos-stream 9, debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 to OUTFILE instead 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 --percent option. little progress bar moment, we love to see it 🫢
  • -r ROOTDIR β€” use ROOTDIR as root directory.
  • -D DBPATH β€” use the database in the DBPATH directory.
  • -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/pubkeys instead. so like, lowkey check first, iykyk.
  • -A β€” also scan the /usr/share/appdata for 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 directory PRODDIR. 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 -p to 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 πŸ’–βœ¨πŸ§š