DEBPATCH(1)

πŸ’– DEBPATCH β€” the girlies' guide to patching debs ✨

okay so bestie, welcome to debpatch πŸ’… she lives in the User Commands section of your manual (section 1, iykyk) and she's here to take a patch and a deb and make a whole new deb out of them. it's giving alchemy but make it apt. πŸ¦‹


✨ NAME ✨

debpatch β€” applies a patch to recreate a debian package. no cap. πŸŽ€


🫢 SYNOPSIS 🫢

debpatch [OPTION]... DELTA FROMFILE TOFILE
debpatch [OPTION]... DELTA / TOFILE
debpatch --info PATCH

three whole moods, pick your fighter πŸ’–


🌸 DESCRIPTION 🌸

so the way this works: this program is literally designed to take a patch (DELTA) and apply it to a Debian package (FROMFILE), and out pops the Debian package (TOFILE). main character energy fr fr. πŸ”₯

and here's the iconic part: if that Debian package (FROMFILE) is already installed on the host system and you don't have the .deb file lying around anywhere, you can just swap the argument (FROMFILE) out for the keyword / β€” yes, literally just a slash β€” and then debpatch will go grab the needed data from the host filesystem instead. not me being resourceful πŸ˜­πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • --info PATCH β€” writes info on PATCH. like a little gossip session about your patch. ✨
  • --no-md5 β€” do not verify MD5 info. skipping the vibe check, bold of you 🫣
  • -v β€” verbose. and bestie you can add it multiple times for extra yapping. πŸ“£
  • -d β€” print full traceback on Python errors; also saves useful info in temporary files in case a delta fails. basically receipts for when things go sideways πŸ’€
  • -k β€” keep temporary files. use for debugging. messy-girl mode, we love her πŸ™ˆ
  • --format FORMAT β€” the format of recreated debs. FORMAT=deb is the usual, FORMAT=unzipped means the data.tar part is not compressed (and this may save some time). ✨ lowkey a time-saver ✨
  • -A, --accept-unsigned β€” accept unsigned deltas. living dangerously, we respect it 🫢
  • --gpg-home β€” specify a different home for GnuPG. the default for root is /etc/debdelta/gnupg while for other users it is unset. see --homedir in gpg(1) for details. πŸ”

🌈 EXAMPLES 🌈

see debdelta(1). go read her, she's got the lore πŸ“–βœ¨


πŸŽ€ SECURITY πŸŽ€

see debdelta(1). same energy, same page πŸ’œ


⭐ EXIT STATUS ⭐

see debdelta(1). yep, her again 🌸


πŸ’€ REPORTING BUGS πŸ’€

report bugs to <mennucc1@debian.org>. tell her everything, no gatekeeping πŸ™


πŸ‘‘ AUTHORS πŸ‘‘

Debpatch was written and is copyright © 2006-09 Andrea Mennucci. 🫑

This man page was written by Jegou Pierre-yves <pierreyves.jeg@voila.fr>. iconic of them honestly πŸ’–


🧚 COPYING 🧚

This is free software. You may redistribute copies of it under the terms of the GNU Library General Public License <http://www.gnu.org/licenses/lgpl-2.0.html>.

there is NO WARRANTY, to the extent permitted by law. fr fr, no takebacksies 🚨

πŸ“ SEE ALSO πŸ“

debdelta-upgrade(1), debdelta(1), /usr/share/doc/debdelta/README.


and that's the whole page bestie, you ate that πŸ’…βœ¨

this was debpatch from the debpatch manual page, aug 2009 era β€” yes she's vintage, she's still serving πŸŽ€πŸ¦‹β­