DEBDELTA(1) | User Commands | DEBDELTA(1) |
debdelta - compute changes between Debian packages
debdelta [OPTION]... FROMFILE TOFILE DELTA
This program computes changes between Debian packages FROMFILE and TOFILE. These changes are stored in the file DELTA. The DELTA 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).
(If '-d' is added multiple times, it also adds to the patches other extra debugging checks: only for advanced bug tracking).
The command
debdelta libglib_2.12_all.deb libglib_2.14_all.deb /tmp/glib.debdelta
will express the difference between two versions of libglib in
/tmp/glib.debdelta ; the command
debpatch -A /tmp/glib.debdelta libglib_2.12_all.deb /tmp/glib.deb
will create in /tmp/glib.deb a perfect copy of libglib_2.14_all.deb.
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. Moreover, if a GnuPG key is specified using --signing-key then the delta file itself is cryptograhically protected using GnuPG, MD5 and SHA1 (using the same method as dpkg-sig(1) ). Note that, for non-root users, the master debdelta keyring /usr/share/keyrings/debian-debdelta-archive-keyring.gpg is added to the list of keyrings for gnupg.
Report bugs to <mennucc1@debian.org>.
Debdelta was written and is copyright © 2006-09 Andrea
Mennucci.
This man page was written by Jegou Pierre-yves
<pierreyves.jeg@voila.fr>.
This is free software. You may redistribute copies of it under the terms of the GNU Library General Public License <http://www.gnu.org/licenses/lgpl-2.0.html>. There is NO WARRANTY, to the extent permitted by law.
debdelta-upgrade(1), debpatch(1), debdeltas(1), /usr/share/doc/debdelta/README.
aug 2009 | debdelta |