资 源 简 介
A Bash script which compares the filesystem tree of a Debian package to the current filesystem tree, printing unified diffs for files that differ.
Usage: dpkg-diffs -h or: dpkg-diffs [ -v ] PACKAGE.deb or: dpkg-diffs [ -v ] PACKAGE_NAME[=VERSION] or: dpkg-diffs [ -v ] -d PACKAGE_NAME[=VERSION] or: dpkg-diffs [ -v ] -d PACKAGE_NAME[/ARCHIVE]
The package to examine can be specified by either the filename of a .deb
package or a package name. If a package name is provided, dpkg-diffs will
attempt to find it in /var/cache/apt/archives. If it is not found there
and the "-d" option is specified, dpkg-diffs will attempt to download the
package using aptitude(8).
PACKAGE_NAME can use "aptitude download" syntax. When searching locally, a
version restriction can be specified with an "=VERSION" suffix. When the "-d"
option is provided, PACKAGE_NAME is passed to aptitude(8) if not found locally,
and both the = a