deb-check-file-conflicts - Man Page

check for missing Breaks/Replaces in Debian packages

Synopsis

deb-check-file-conflicts [--debug] [--changes-file=FILE] [-o Output] [--output=Output]

Description

deb-check-file-conflicts checks produced binary packages for conflicting files against packages that are not declared with Breaks and Replaces relationships.

The tool helps identify potential upgrade issues where files from one package might conflict with files from other packages during installation.

Note that the results depend on what apt repositories are enabled. If you want to prevent upgrade issues across Debian releases, you need to have both unstable and the previous release repositories enabled in the apt sources configuration.

Options

--debug

Enable debug output

--changes-file=FILE

Specify the changes file to check (defaults to CHANGES_FILE environment variable)

-o,  --output=FILE

Write output to FILE (defaults to $EXPORT_DIR/missing_breaks_replaces.xml or ./missing_breaks_replaces.xml)

Output

The tool generates a JUnit XML format report containing test results for each binary package checked. Each test case indicates whether missing Breaks/Replaces relationships were found.

Examples

# Check a changes file for missing relationships:
$ deb-check-file-conflicts --changes-file foo_1.0-1_amd64.changes

# Write results to a specific output file:
$ deb-check-file-conflicts -o results.xml --changes-file foo_1.0-1_amd64.changes

Author

deb-check-file-conflicts and this manual page were written by Maximiliano Curia <maxy@gnuservers.com.ar>.

Both are released under the GNU General Public License, version 2 or later.

See Also

dpkg(1), apt-file(1)

Referenced By

devscripts(7).

Debian Utilities