pyre.platforms.DPkg

Module Contents

class pyre.platforms.DPkg.DPkg(**kwds)

Bases: pyre.platforms.Managed.Managed

Support for the debian package manager

name = dpkg
client = dpkg-query
defaultLocation
_installed
_alternatives
_infoParser
alternatives(self, group)

Generate a sequence of alternative installations for {group}, starting with the default selection

identify(self, installation)

Attempt to map the package {installation} to the name of an installed package

setAlternatives(self, group, options)

Attach the table of available {options} for the given package {group}

The table of options is a map from the constructed pyre legal installation names to the names of the packages that support them

getInstalledPackages(self)

Return the version and revision of all installed packages

retrieveInstalledPackages(self)

Generate a sequence of all installed ports

retrievePackageContents(self, package)

Generate a sequence of the contents of {package}