#include <packagemanager.h>
Public Types | |
enum | OrderResult { Completed, Failed, Incomplete } |
Public Member Functions | |
pkgPackageManager (pkgDepCache *Cache) | |
virtual | ~pkgPackageManager () |
OrderResult | DoInstall (int statusFd=-1) |
OrderResult | DoInstallPostFork (int statusFd=-1) |
OrderResult | DoInstallPreFork () |
bool | FixMissing () |
bool | GetArchives (pkgAcquire *Owner, pkgSourceList *Sources, pkgRecords *Recs) |
std::set< std::string > | GetDisappearedPackages () |
returns all packages dpkg let disappear More... | |
Static Public Attributes | |
static bool | SigINTStop |
Protected Types | |
typedef pkgCache::Dep | Dep |
typedef pkgCache::DepIterator | DepIterator |
typedef pkgCache::DescIterator | DescIterator |
typedef pkgCache::Description | Description |
typedef pkgCache::Flag | Flag |
typedef pkgCache::GrpIterator | GrpIterator |
typedef pkgCache::Header | Header |
typedef pkgCache::Package | Package |
typedef pkgCache::PkgFileIterator | PkgFileIterator |
typedef pkgCache::PkgIterator | PkgIterator |
typedef pkgCache::PrvIterator | PrvIterator |
typedef pkgCache::VerFileIterator | VerFileIterator |
typedef pkgCache::VerIterator | VerIterator |
typedef pkgCache::Version | Version |
Protected Member Functions | |
bool | CheckRConflicts (PkgIterator Pkg, DepIterator Dep, const char *Ver) |
virtual bool | Configure (PkgIterator) |
bool | ConfigureAll () |
bool | CreateOrderList () |
bool | DepAlwaysTrue (DepIterator D) |
bool | EarlyRemove (PkgIterator Pkg) |
virtual bool | Go (int statusFd=-1) |
void | ImmediateAdd (PkgIterator P, bool UseInstallVer, unsigned const int &Depth=0) |
virtual bool | Install (PkgIterator, std::string) |
virtual OrderResult | OrderInstall () |
virtual bool | Remove (PkgIterator, bool=false) |
virtual void | Reset () |
bool | SmartConfigure (PkgIterator Pkg, int const Depth) |
bool | SmartRemove (PkgIterator Pkg) |
bool | SmartUnPack (PkgIterator Pkg) |
bool | SmartUnPack (PkgIterator Pkg, bool const Immediate, int const Depth) |
Protected Attributes | |
pkgDepCache & | Cache |
bool | Debug |
std::set< std::string > | disappearedPkgs |
saves packages dpkg let disappear More... | |
std::string * | FileNames |
bool | ImmConfigureAll |
pkgOrderList * | List |
bool | NoImmConfigure |
OrderResult | Res |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
pkgPackageManager::pkgPackageManager | ( | pkgDepCache * | Cache | ) |
|
virtual |
|
protected |
|
inlineprotectedvirtual |
Reimplemented in pkgDPkgPM, and pkgSimulate.
|
protected |
|
protected |
|
protected |
OrderResult pkgPackageManager::DoInstall | ( | int | statusFd = -1 | ) |
OrderResult pkgPackageManager::DoInstallPostFork | ( | int | statusFd = -1 | ) |
|
inline |
|
protected |
bool pkgPackageManager::FixMissing | ( | ) |
bool pkgPackageManager::GetArchives | ( | pkgAcquire * | Owner, |
pkgSourceList * | Sources, | ||
pkgRecords * | Recs | ||
) |
|
inline |
returns all packages dpkg let disappear
References disappearedPkgs.
|
inlineprotectedvirtual |
Reimplemented in pkgDPkgPM.
|
protected |
|
inlineprotectedvirtual |
Reimplemented in pkgDPkgPM, and pkgSimulate.
|
protectedvirtual |
|
inlineprotectedvirtual |
Reimplemented in pkgDPkgPM, and pkgSimulate.
|
inlineprotectedvirtual |
Reimplemented in pkgDPkgPM.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
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().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by DoInstallPreFork().
|
static |