AptPkg::Policy(3pm)

AptPkg::Policy3pm

Apt package version policy class

Usage

use AptPkg::Policy;

Overview

The AptPkg::Policy module provides an interface to APT's package version policy.

AptPkg::Policy

The AptPkg::Policy package implements the APT pkgPolicy class.

An instance of the AptPkg::Policy class may be fetched using the "policy" method from an AptPkg::Cache object.

The following methods are implemented:

priority(VER|FILE)

Return the pin priority for the given VER (AptPkg::Cache::Version) or FILE (AptPkg::Cache::PkgFile) object.

candidate(PKG)

Returns the installation candidate version for PKG. Returns an AptPkg::Cache::Version object.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 8 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13

Author

Brendan O'Dea <[email protected]>

From libapt-pkg-perl 0.1.42 in Debian 13 (Trixie). Parsed by carta from the page's man source.