AptPkg::PkgRecords man page on ElementaryOS

Man page or keyword search:  
man Server   4994 pages
apropos Keyword Search (all sections)
Output format
ElementaryOS logo
[printable version]

AptPkg::PkgRecords(3pmUser Contributed Perl DocumentatiAptPkg::PkgRecords(3pm)

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, an
	   AptPkg::Cache::DescFile 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 or translation file.

	   Note that "LongDesc" is generally not useful for
	   AptPkg::Cache::VerFile objects, which refer to the Packages file,
	   as these no longer contain the full description (now in the
	   Translation files).

	   If PACK is a package name, these additional values are set:

	       "Section" and "VerStr".

	   and the following values are overriden with the translated
	   versions:

	       "ShortDesc" and "LongDesc".

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

AUTHOR
       Brendan O'Dea <bod@debian.org>

perl v5.18.1			  2013-05-10	       AptPkg::PkgRecords(3pm)
[top]

List of man pages available for ElementaryOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net