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::PkgRecords(3pm)


AptPkg::PkgRecords

AptPkg::PkgRecords

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR

NAME

AptPkg::PkgRecords − APT package description class

SYNOPSIS

use AptPkg::PkgRecords;

DESCRIPTION

The AptPkg::PkgRecords module provides an interface to the parsed contents of package files.

AptPkg::PkgRecords
The AptPkg::PkgRecords package Implements the APT pkgRecords class.

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

Methods
lookup( PACK )

Return a hash (or hash reference, depending on context) for the given package.

PACK may either be an AptPkg::Cache::VerFile object, or a package name.

The hash contains the following keys:

"FileName", "MD5Hash", "SourcePkg", "Maintainer", "ShortDesc", "LongDesc" and "Name".

with values taken from the packages file. If PACK is a package name, these additional values are set:

"Section" and "VerStr".

SEE ALSO

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

AUTHOR

Brendan O’Dea <bod@debian.org>



AptPkg::PkgRecords(3pm)