---
name: "pull-debian-debdiff"
section: "1"
platform: "linux"
package: "ubuntu-dev-tools"
version: "0.206"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pull-debian-debdiff"
---

# pull-debian-debdiff(1)

find, download, and generate a debdiff

## NAME

**pull-debian-debdiff** - find, download, and generate a debdiff

## SYNOPSIS

**pull-debian-debdiff** \[*options*\] \<*package*\> \<*version*\> \[*distance*\]

## DESCRIPTION

**pull-debian-debdiff** attempts to find and download a specific version of a Debian package and its immediate parent to generate a debdiff.

## OPTIONS

- *package*

  The source package to download and diff.

- *version*

  The most recent of the two versions you want to diff.

- *distance*

  If specified (default **1**), the debdiff is against that many versions previous.

- **-h**, **--help**

  Display the usage instructions and exit.

- **-f**, **--fetch**

  Simply download the specified version and exit.

- **-d *DEBIAN\_MIRROR*, --debian-mirror=*DEBIAN\_MIRROR***

  Use the specified mirror. Should be in the form **http://ftp.debian.org/debian**. If the package isn't found on this mirror, **pull-debian-source** will fall back to the default mirror.

- **-s *DEBSEC\_MIRROR*, --debsec-mirror=*DEBSEC\_MIRROR***

  Use the specified Debian security mirror. Should be in the form **http://security.debian.org**. If the package isn't found on this mirror, **pull-debian-source** will fall back to the default mirror.

- **--no-conf**

  Do not read any configuration files, or configuration from environment variables.

## ENVIRONMENT

All of the **CONFIGURATION VARIABLES** below are also supported as environment variables. Variables in the environment take precedence to those in configuration files.

## CONFIGURATION VARIABLES

The following variables can be set in the environment or in [**ubuntu-dev-tools**(5)](/ubuntu-dev-tools/5.md) configuration files. In each case, the script-specific variable takes precedence over the package-wide variable.

- **PULL\_DEBIAN\_DEBDIFF\_DEBIAN\_MIRROR**, **UBUNTUTOOLS\_DEBIAN\_MIRROR**

  The default value for **--debian-mirror**.

- **PULL\_DEBIAN\_DEBDIFF\_DEBSEC\_MIRROR**, **UBUNTUTOOLS\_DEBSEC\_MIRROR**

  The default value for **--debsec-mirror**.

## SEE ALSO

[**debdiff**(1)](/debdiff/1.md), [**dget**(1)](/dget/1.md), [**pull-debian-source**(1)](/pull-debian-source/1.md), [**ubuntu-dev-tools**(5)](/ubuntu-dev-tools/5.md)

## AUTHORS

**pull-debian-debdiff** was written by Stefano Rivera \<stefanor@ubuntu.com\>, a clone of a tool by Kees Cook \<kees@ubuntu.com\>.

This manual page was written by Stefano Rivera, based on the original by Andrew Starr-Bochicchio \<a.starr.b@gmail.com\>.
