Package yum :: Module packages :: Class YumInstalledPackage
[hide private]
[frames] | no frames]

Class YumInstalledPackage

source code


super class for dealing with packages in the rpmdb

Instance Methods [hide private]
 
__init__(self, hdr, yumdb=None)
hand in an rpm header, we'll assume it's installed and query from there
source code
 
verify(self, patterns=[], deps=False, script=False, fake_problems=True, all=False, fast=False)
verify that the installed files match the packaged checksum optionally verify they match only if they are in the 'pattern' list returns a tuple
source code

Inherited from YumHeaderPackage: __getattr__, __str__, doepoch, returnChangelog, returnChecksums, returnFileEntries, returnLocalHeader, returnPrco, tagByName

Inherited from YumAvailablePackage: compactPrint, exclude, getDiscNum, importFromDict, localHdr, localPkg, prcoPrintable, printVer, requiresList, returnHeaderFromPackage, verifyLocalPkg, xml_dump_filelists_metadata, xml_dump_other_metadata, xml_dump_primary_metadata

Inherited from PackageObject: __cmp__, __eq__, __getitem__, __ne__, __repr__, returnIdSum, returnSimple, verCMP, verEQ, verGE, verGT, verLE, verLT

Inherited from PackageObject (private): _ui_envra, _ui_nevra

Inherited from RpmBase: __hash__, checkPrco, getProvidesNames, inPrcoRange, matchingPrcos, returnEVR, returnFileTypes, returnPrcoNames, simpleFiles

Inherited from RpmBase (private): _getBaseName

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from YumAvailablePackage: checksum, committer, committime, remote_path, remote_url, size, ui_from_repo

Inherited from PackageObject: checksums, ui_envra, ui_nevra

Inherited from RpmBase: EVR, base_package_name, changelog, conflicts, conflicts_names, conflicts_print, dirlist, filelist, ghostlist, obsoletes, obsoletes_names, obsoletes_print, provides, provides_names, provides_print, requires, requires_names, requires_print

Inherited from object: __class__

Method Details [hide private]

__init__(self, hdr, yumdb=None)
(Constructor)

source code 

hand in an rpm header, we'll assume it's installed and query from there

Overrides: object.__init__
(inherited documentation)