Debian Codegraph @

upstream/debian-unstable/man8/makedeltarpm.8

raw
1 .\" man page for makedeltarpm
2 .\" Copyright (c) 2010 Michael Schroeder <[email protected]>
3 .\" See LICENSE.BSD for license
4 .TH MAKEDELTARPM 8 "Jul 2010"
5 .SH NAME
6 makedeltarpm \- create a deltarpm from two rpms
7
8 .SH SYNOPSIS
9 .B makedeltarpm
10 .RB [ -v ]
11 .RB [ -V
12 .IR version ]
13 .RB [ -z
14 .IR compression ]
15 .RB [ -m
16 .IR mbytes ]
17 .RB [ -s
18 .IR seqfile ]
19 .RB [ -r ]
20 .RB [ -u ]
21 .I oldrpm
22 .I newrpm
23 .I deltarpm
24 .br
25 .B makedeltarpm
26 .RB [ -v ]
27 .RB [ -V
28 .IR version ]
29 .RB [ -z
30 .IR compression ]
31 .RB [ -s
32 .IR seqfile ]
33 .RB [ -u ]
34 .B -p
35 .I oldrpmprint
36 .IR oldpatchrpm
37 .I oldrpm
38 .I newrpm
39 .I deltarpm
40
41 .SH DESCRIPTION
42 makedeltarpm creates a deltarpm from two rpms. The deltarpm can
43 later be used to recreate the new rpm from either filesystem data
44 or the old rpm. Use the
45 .B -v
46 option to make makedeltarpm more verbose about its work (use it
47 twice to make it even more verbose).
48 .PP
49 If you want to create a
50 smaller and faster to combine "rpm-only" deltarpm which does not
51 work with filesystem data, specify the
52 .B -r
53 option.
54 .PP
55 makedeltarpm normally produces
56 a V3 format deltarpm, use the
57 .B -V
58 option to specify a different version if desired. The
59 .B -z
60 option can be used to specify a different compression method, the
61 default is to use the same compression method as used in the
62 new rpm.
63 .PP
64 The
65 .B -s
66 option makes makedeltarpm write out the sequence id to the specified
67 file
68 .IR seqfile .
69
70 If you also use patch rpms you should use the
71 .B -p
72 option to specify the rpm-print of
73 .I oldrpm
74 and the created
75 patch rpm. This option tells makedeltarpm to exclude the files that
76 were not included in the patch rpm but are not bytewise identical
77 to the ones in oldrpm.
78 .PP
79 makedeltarpm can also create an "identity" deltarpm by adding the
80 .B -u
81 switch. In this case only one rpm has to be specified. An identity
82 deltarpm can be useful to just replace the signature header of a
83 rpm or to reconstruct a rpm from the filesystem.
84
85 .SH MEMORY CONSIDERATIONS
86 makedeltarpm normally needs about three to four times the size
87 of the rpm's uncompressed payload. You can use the
88 .B -m
89 option to enable a sliding block algorithm that needs
90 .IR mbytes
91 megabytes of memory. This trades memory usage for the size of
92 the created deltarpm. Furthermore, the uncompressed deltarpm
93 payload is currently also stored in memory when this option is
94 used, but it tends to be small in most cases.
95
96 .SH SEE ALSO
97 .BR applydeltarpm (8)
98 .BR combinedeltarpm (8)
99
100 .SH AUTHOR
101 Michael Schroeder <[email protected]>