Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

Debian 6.0.2

(Squeeze)

AptPkg::Policy(3pm)


AptPkg::Policy

AptPkg::Policy

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR

NAME

AptPkg::Policy − APT package version policy class

SYNOPSIS

use AptPkg::Policy;

DESCRIPTION

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( PKG | FILE )

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

match( PKG )

Find the pinned version of PKG . Returns an AptPkg::Cache::Version object.

candidate( PKG )

Returns the installation candidate version for PKG .

SEE ALSO

AptPkg::Cache(3pm), AptPkg(3pm).

AUTHOR

Brendan O’Dea <bod@debian.org>



AptPkg::Policy(3pm)