DEB2SOLV(1)
okay bestie come closer, we're reading deb2solv(1) together π this one lives in the libsolv manual, section 1 (the user-command section, very main character), and it is genuinely one of the most useful little tools ever. no cap.
πΈ NAME πΈ
deb2solv β convert one or more Debian package files into a solv file β¨
π¦ SYNOPSIS π¦
deb2solv [OPTIONS] PKG1.deb ...
π DESCRIPTION π
so here's the vibe: deb2solv takes the meta data from one or more Debian packages and converts it into the solv file that gets written to standard output. that's it. that's the whole job. it eats .deb files and breathes out a solv file, and you just redirect it wherever you want it to go π«Ά
and there are two (2) little flags you can sprinkle on top, both iconic:
-mMANIFESTFILE β read the rpm file names from the specified MANIFESTFILE. yes, it says rpm. i am not editing the manpage, i am reporting the manpage π anyway: you can also pass-as the MANIFESTFILE to read the manifest straight from standard input, which is very demure, very mindful.-0β use a null byte as the line terminator for manifest files instead of a newline. why would you want that? because it's useful if the file names can contain newlines π (yes they can, they're chaos gremlins). see also the-print0option infind, they're besties, they match.
π SEE ALSO π
π AUTHOR π
Michael Schroeder <mls@suse.de> β thank you for your service, king π
okay and that's the whole page, you ate it, you understood it, periodt π
this was the libsolv version from 07/25/2017, so if you're reading this in the future, hi, hope the flags didn't change on us ππ
π¦ where this page comes from
- arch rolling: libsolv 0.7.41-1 Β· BSD-3-Clause
- centos-stream 10: libsolv-tools 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 0.7.34-5.fc43 Β· BSD-3-Clause
- fedora 43: libsolv-tools 0.7.40-1.fc43 Β· BSD-3-Clause
- fedora 44: libsolv-tools 0.7.36-2.fc44 Β· BSD-3-Clause
- fedora 44: libsolv-tools 0.7.40-1.fc44
- fedora 44: libsolv-tools 0.7.40-2.fc44
- fedora 44: libsolv-tools 0.7.41-1.fc44 Β· BSD-3-Clause
- ubuntu jammy: libsolv-tools 0.7.20-1build2 Β· BSD-3-Clause
- ubuntu jammy: libsolv-tools 0.7.20-1ubuntu0.22.04.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