apt  0.9.9.1~ubuntu1
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
pkgPackageManager Class Reference
Inheritance diagram for pkgPackageManager:
pkgCache::Namespace pkgDPkgPM pkgSimulate

Public Types

enum  OrderResult { Completed, Failed, Incomplete }
 

Public Member Functions

bool GetArchives (pkgAcquire *Owner, pkgSourceList *Sources, pkgRecords *Recs)
 
OrderResult DoInstall (int statusFd=-1)
 
OrderResult DoInstallPreFork ()
 
OrderResult DoInstallPostFork (int statusFd=-1)
 
bool FixMissing ()
 
std::set< std::string > GetDisappearedPackages ()
 returns all packages dpkg let disappear
 
 pkgPackageManager (pkgDepCache *Cache)
 

Static Public Attributes

static bool SigINTStop = false
 

Protected Member Functions

void ImmediateAdd (PkgIterator P, bool UseInstallVer, unsigned const int &Depth=0)
 
virtual OrderResult OrderInstall ()
 
bool CheckRConflicts (PkgIterator Pkg, DepIterator Dep, const char *Ver)
 
bool CreateOrderList ()
 
bool DepAlwaysTrue (DepIterator D)
 
bool ConfigureAll ()
 
bool SmartConfigure (PkgIterator Pkg, int const Depth)
 
bool SmartUnPack (PkgIterator Pkg)
 
bool SmartUnPack (PkgIterator Pkg, bool const Immediate, int const Depth)
 
bool SmartRemove (PkgIterator Pkg)
 
bool EarlyRemove (PkgIterator Pkg)
 
virtual bool Install (PkgIterator, std::string)
 
virtual bool Configure (PkgIterator)
 
virtual bool Remove (PkgIterator, bool=false)
 
virtual bool Go (int statusFd=-1)
 
virtual void Reset ()
 

Protected Attributes

std::string * FileNames
 
pkgDepCacheCache
 
pkgOrderListList
 
bool Debug
 
bool NoImmConfigure
 
bool ImmConfigureAll
 
std::set< std::string > disappearedPkgs
 saves packages dpkg let disappear More...
 
OrderResult Res
 

Additional Inherited Members

- Protected Types inherited from pkgCache::Namespace
typedef pkgCache::GrpIterator GrpIterator
 
typedef pkgCache::PkgIterator PkgIterator
 
typedef pkgCache::VerIterator VerIterator
 
typedef pkgCache::DescIterator DescIterator
 
typedef pkgCache::DepIterator DepIterator
 
typedef pkgCache::PrvIterator PrvIterator
 
typedef pkgCache::PkgFileIterator PkgFileIterator
 
typedef pkgCache::VerFileIterator VerFileIterator
 
typedef pkgCache::Version Version
 
typedef pkgCache::Description Description
 
typedef pkgCache::Package Package
 
typedef pkgCache::Header Header
 
typedef pkgCache::Dep Dep
 
typedef pkgCache::Flag Flag
 

Member Data Documentation

std::set<std::string> disappearedPkgs
protected

saves packages dpkg let disappear

This way APT can retreat from trying to configure these packages later on and a frontend can choose to display a notice to inform the user about these disappears.

Referenced by GetDisappearedPackages().


The documentation for this class was generated from the following files: