MAKEDELTARPM(8)

πŸ’– MAKEDELTARPM πŸ’–

okay bestie, buckle up, we're talking about makedeltarpm β€” the System Manager's Manual girlie whose whole job is creating a deltarpm from two rpms. yes she's that girl. πŸŽ€


✨ SYNOPSIS ✨

makedeltarpm [-v] [-V version] [-z compression] [-m mbytes] [-s seqfile]
[-r] [-u] oldrpm newrpm deltarpm
makedeltarpm [-v] [-V version] [-z compression] [-s seqfile] [-u] -p
oldrpmprint oldpatchrpm oldrpm newrpm deltarpm

like, two whole forms, pick your fighter πŸ’…


🌸 DESCRIPTION 🌸

so makedeltarpm creates a deltarpm out of two rpms. that deltarpm can later be used to recreate the new rpm from either filesystem data or the old rpm. it's giving transformation, it's giving glow-up energy πŸ¦‹

use the -v option to make makedeltarpm more verbose about its work β€” and yes, use it twice to make it even more verbose. she will literally not stop talking. we love her for it. πŸ—£οΈ

if you want a smaller and faster-to-combine "rpm-only" deltarpm that does not work with filesystem data, specify the -r option. smaller queen, different limitations. ⭐

makedeltarpm normally produces a V3 format deltarpm, and you can use the -V option to specify a different version if desired. the -z option lets you specify a different compression method β€” the default is to use the same compression method as used in the new rpm. no cap.

the -s option makes makedeltarpm write out the sequence id to the specified file seqfile. write that down bestie πŸ“

if you also use patch rpms you should use the -p option to specify the rpm-print of oldrpm and the created patch rpm. this option tells makedeltarpm to exclude the files that were not included in the patch rpm but are not bytewise identical to the ones in oldrpm. very specific, very demure, very mindful.

makedeltarpm can also create an "identity" deltarpm by adding the -u switch. in this case only one rpm has to be specified. an identity deltarpm can be useful to just replace the signature header of a rpm or to reconstruct a rpm from the filesystem. iconic behaviour honestly πŸ‘‘

🫢 the flags, one by one 🫢

  • -v β€” makes makedeltarpm more verbose about its work; use it twice to make it even more verbose πŸ’¬
  • -V version β€” specify a deltarpm format version other than the default V3 🌈
  • -z compression β€” specify a different compression method; the default is to use the same compression method as used in the new rpm πŸ—œοΈ
  • -m mbytes β€” enable the sliding block algorithm, which needs mbytes megabytes of memory 🧠
  • -s seqfile β€” write out the sequence id to the specified file seqfile ✍️
  • -r β€” create a smaller and faster to combine "rpm-only" deltarpm which does not work with filesystem data ⚑
  • -u β€” create an "identity" deltarpm; only one rpm has to be specified πŸ’«
  • -p oldrpmprint oldpatchrpm β€” specify the rpm-print of oldrpm and the created patch rpm; excludes the files that were not included in the patch rpm but are not bytewise identical to the ones in oldrpm 🩹

🧠 MEMORY CONSIDERATIONS 🧠

makedeltarpm normally needs about three to four times the size of the rpm's uncompressed payload. like. she is HUNGRY. 😭

you can use the -m option to enable a sliding block algorithm that needs mbytes megabytes of memory. this trades memory usage for the size of the created deltarpm. furthermore, the uncompressed deltarpm payload is currently also stored in memory when this option is used β€” but it tends to be small in most cases, so it's lowkey fine. πŸ“

bestie reminder: that -m trade is real. less memory, bigger deltarpm. choose your chaos. πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

the friend group fr fr πŸ’œ


πŸ’… AUTHOR πŸ’…

Michael Schroeder <mls@suse.de>


and that's the whole vibe check, bestie β€” this page is from the System Manager's Manual, dated Jul 2010. periodt. βœ¨πŸŽ€πŸ¦‹