An instance of the AptPkg::PkgRecords class may be fetched using the "packages" method from an AptPkg::Cache object.
Methods
PACK may either be an AptPkg::Cache::VerFile object, or a package name.
The hash contains the following keys:
with values taken from the packages file. If PACK is a package name, these additional values are set: