APPLYDELTARPM(8)

✨ APPLYDELTARPM ✨

okay bestie, gather round, because this is the applydeltarpm page from the System Manager's Manual and it's literally the glow-up wand for rpms πŸ’…


🌸 NAME 🌸

applydeltarpm β€” reconstruct an rpm from a deltarpm πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

applydeltarpm [-v] [-p] [-r oldrpm] deltarpm newrpm
applydeltarpm -c|-C deltarpm
applydeltarpm [-c|-C] -s sequence
applydeltarpm -i deltarpm

πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the tea, bestie πŸ“: applydeltarpm takes a binary delta and slaps it onto either an old rpm or onto on-disk data, and out pops a shiny brand-new rpm. Iconic behaviour, honestly.

  • -r β€” this is how you hand over the oldrpm. If you don't name an rpm at all, it just uses the on-disk data instead. easy peasy 🌈
  • -p β€” makes applydeltarpm print the percentage of completion, so you can watch the progress bar of your dreams.
  • -v β€” makes it extra chatty about what it's doing. verbose queen πŸ‘‘

The second and third forms up in the synopsis are your vibe check tools β€” they tell you whether the reconstruction is even possible. And like… it might fail 😭. It can fail if the on-disk data was changed (and yes, deltarpms are literally created in a way that config file changes do not matter, so don't come for them for that), or if the deltarpm doesn't match the rpm that the delta was generated with.

  • -c β€” selects full (i.e. slow) on-disk checking. thorough. committed. no shortcuts. 🫢
  • -C β€” only checks whether the filesizes have not changed. quick little peek, lowkey efficient ✨

Instead of passing a whole entire full deltarpm, you can just hand over a sequence id with the -s sequence option. That id is carrying all the info needed to do the reconstruction checking β€” it's giving main character energy, it has everything πŸŽ€

And finally: if you just wanna know stuff about a deltarpm, the -i option prints out information about it. information girlie πŸ’œ


🧠 MEMORY CONSIDERATIONS 🧠

applydeltarpm was written to work on systems with limited memory. It uses a paging algorithm to keep the size of in-core data low and to not bring the system into an out-of-memory situation. she's considerate, she's mindful, she respects your RAM 🌸


πŸ’€ EXIT STATUS πŸ’€

  • applydeltarpm returns 0 if the rpm could be recreated or the checking succeeded. slay ✨
  • It returns 1 and prints an error message to stderr if something failed. not slay 😭

πŸ”₯ SEE ALSO πŸ”₯

iykyk πŸ’…


🫢 AUTHOR 🫢

Michael Schroeder <mls@suse.de> β€” thank you for your service, king πŸ‘‘


ok that's the whole page bestie, go forth and reconstruct πŸ¦‹

and that's a wrap fr fr πŸ’– this was the System Manager's Manual version from Feb 2005, so it's vintage and it's still serving. periodt. πŸŒˆβ­πŸŽ€