Manpages DEBDIFFSection: User Commands (1)Updated: Debian Utilities Index Return to Main Contents NAMEdebdiff - compare file lists in two Debian packagesSYNOPSISdebdiff [options] ... deb1 deb2debdiff [options] ... changes1 changes2 debdiff [options] ... --from deb1a deb1b ... --to deb2a deb2b ... debdiff [options] ... dsc1 dsc2 DESCRIPTIONdebdiff takes the names of two Debian package files (.debs) on the command line and compares their contents (considering only the files in the main package, not the maintenance scripts). It shows which files have been introduced and which removed between the two package files, and is therefore useful for spotting files which may have been inadvertently lost between revisions of the package. It also compares the control files of the two packages using the wdiff program.debdiff can also handle changes between groups of .deb files in two ways. The first is to specify two .changes files. In this case, the .deb files listed in the .changes file will be compared, by taking the contents of all of the listed .deb files together. (The .deb files listed are assumed to be in the same directory as the .changes file.) The second way is to list the .deb files of interest specifically using the --from ... --to syntax. These both help if a package is broken up into smaller packages and one wishes to ensure that nothing is lost in the interim. The control files are compared in both of these cases only when there is only one .deb involved on each side of the comparison. debdiff examines the devscripts configuration files as described below. Command line options override the configuration file settings, though. If debdiff is passed two source packages (.dsc files) it will compare the contents of the source packages. OPTIONS
CONFIGURATION VARIABLESThe two configuration files /etc/devscripts.conf and ~/.devscripts are sourced by a shell in that order to set configuration variables. Command line options can be used to override configuration file settings. Environment variable settings are ignored for this purpose. The currently recognised variables are:
EXIT VALUESNormally the exit value will be 0. If there is some fatal error, the exit code will be non-zero.SEE ALSOdpkg-deb(1), wdiff(1).AUTHORdebdiff was originally written as a shell script by Yann Dirson <dirson@debian.org> and rewritten in Perl with many more features by Julian Gilbey <jdg@debian.org>. The software may be freely redistributed under the terms and conditions of the GNU General Public Licence, version 2.
IndexThis document was created by man2html, using the manual pages. Time: 15:13:12 GMT, May 08, 2025 |