Debian Codegraph @

upstream/debian-unstable/man8/applydeltarpm.8

raw
1 .\" man page for applydeltarpm
2 .\" Copyright (c) 2005 Michael Schroeder <[email protected]>
3 .\" See LICENSE.BSD for license
4 .TH APPLYDELTARPM 8 "Feb 2005"
5 .SH NAME
6 applydeltarpm \- reconstruct an rpm from a deltarpm
7
8 .SH SYNOPSIS
9 .B applydeltarpm
10 .RB [ -v ]
11 .RB [ -p ]
12 .RB [ -r
13 .IR oldrpm ]
14 .I deltarpm
15 .I newrpm
16 .br
17 .B applydeltarpm
18 .BR -c | -C
19 .I deltarpm
20 .br
21 .B applydeltarpm
22 .RB [ -c | -C ]
23 .B -s
24 .I sequence
25 .br
26 .B applydeltarpm
27 .BR -i
28 .I deltarpm
29
30 .SH DESCRIPTION
31 applydeltarpm applies a binary delta to either an old rpm or to
32 on-disk data to re-create a new rpm. The old rpm can be specified
33 with the
34 .B -r
35 option, if no rpm name is provided on-disk data is used. You
36 can use
37 .B -p
38 to make applydeltarpm print the percentage of completion, or
39 .B -v
40 to make it more verbose about its operation.
41
42 The second and third form can be used to check if the reconstruction
43 is possible. It may fail if the on-disk data was changed
44 (deltarpms are created in a way that config file changes do not
45 matter) or the deltarpm does not match the rpm the delta was generated
46 with. The
47 .B -c
48 option selects full (i.e. slow) on-disk checking, whereas
49 .B -C
50 only checks if the filesizes have not changed.
51
52 Instead of a full deltarpm a sequence id can be given with the
53 .B -s
54 .I sequence
55 option. Such an id contains all the information that is needed to
56 do reconstruction checking.
57
58 Finally information about a deltarpm can be printed with
59 the
60 .B -i
61 option.
62
63 .SH MEMORY CONSIDERATIONS
64 applydeltarpm was written to work on systems with limited memory.
65 It uses a paging algorithm to keep the size of in-core data low
66 and not bring the system in an out-of-memory situation.
67
68 .SH EXIT STATUS
69 applydeltarpm returns 0 if the rpm could be recreated or the
70 checking succeeded, it returns 1 and prints an error message
71 to stderr if something failed.
72
73 .SH SEE ALSO
74 .BR makedeltarpm (8),
75 .BR rpm (8)
76
77 .SH AUTHOR
78 Michael Schroeder <[email protected]>