debdelta

Langue: en

Version: 312755 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

debdelta - compute changes between Debian packages

SYNOPSIS

debdelta [OPTION]... FROMFILE TOFILE PATCHOUT  

DESCRIPTION

This program computes changes between Debian packages FROMFILE and TOFILE. These changes are stored in the file PATCHOUT. The PATCHOUT file may later be used by the "debpatch" program to recreate TOFILE from FROMFILE. In a sense, the pair of programs "debdelta"/"debpatch" operate on Debian packages similar to how the pair "diff"/"patch" operate on text files; indeed, the output of "debdelta" may be used to store and transmit only the changes between Debian packages; but, contrary to the "diff" output, the output of "debdelta" is not human readable, but rather it is intended to be as small as possible (to optimize for less disk usage and/or faster transmission).

OPTIONS

--no-md5 do not include MD5 info in debdelta.
--needsold create a patch that can only be used if the old .deb is available.
--delta-algo ALGO
use a specific backend for computing binary diffs; possible values are: xdelta xdelta-bzip xdelta3 bsdiff
-M Mb maximum memory to use (for 'bsdiff' or 'xdelta').
-v verbose (can be added multiple times).
-d add extra debugging checks.
-k keep temporary files (use for debugging).

SECURITY

A Debian package that is recreated using debpatch is byte-by-byte identical to the original one; so the cryptographic archive authentication support for APT (see apt-secure(8) ) may be used to assert that it can be trusted to be installed. Currently, though, the delta file itself is not cryptograhically protected.

EXAMPLE

The command
debdelta libglib2.0-doc_2.12.11-3_all.deb libglib2.0-doc_2.12.4-2_all.deb /tmp/glib.debdelta
will express the difference between to versions of libglib2.0-doc in /tmp/glib.debdelta ; the command
debpatch -v /tmp/glib.debdelta libglib2.0-doc_2.12.11-3_all.deb /tmp/glib.deb
will create in /tmp/glib.deb a perfect copy of libglib2.0-doc_2.12.4-2_all.deb.

REPORTING BUGS

Report bugs to <mennucc1@debian.org>.

AUTHORS

Debdelta was written and is copyright © 2006/07 Andrea Mennucci.
This man page was written by Jegou Pierre-yves <pierreyves.jeg@voila.fr>.

COPYING

This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

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