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:

  • -m MANIFESTFILE β€” 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 -print0 option in find, 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 πŸŒˆπŸ’œ