52 enum OrderResult {Completed,Failed,Incomplete};
53 static bool SigINTStop;
56 std::unique_ptr<std::string[]>FileNames;
58 std::unique_ptr<pkgOrderList> List;
71 void ImmediateAdd(PkgIterator P,
bool UseInstallVer,
unsigned const int &Depth = 0);
72 virtual OrderResult OrderInstall();
73 bool CheckRConflicts(PkgIterator Pkg,DepIterator
Dep,
const char *Ver);
74 bool CheckRBreaks(PkgIterator
const &Pkg,DepIterator
Dep,
const char *
const Ver);
75 bool CreateOrderList();
78 bool DepAlwaysTrue(DepIterator D) APT_PURE;
82 [[nodiscard]]
bool SmartConfigure(PkgIterator Pkg,
int Depth);
83 [[nodiscard]]
bool SmartUnPack(PkgIterator Pkg,
bool Immediate =
true,
int Depth = 0);
84 [[nodiscard]]
bool SmartRemove(PkgIterator Pkg);
85 [[nodiscard]]
bool EarlyRemove(PkgIterator Pkg, DepIterator
const *
Dep);
88 virtual bool Install(PkgIterator ,std::string ) {
return false;};
89 virtual bool Configure(PkgIterator ) {
return false;};
90 virtual bool Remove(PkgIterator ,
bool =
false) {
return false;};
93 virtual void Reset() {};
107 friend bool EIPP::OrderInstall(
char const *
const planner,
pkgPackageManager *
const PM,
108 unsigned int const version,
OpProgress *
const Progress);
114 OrderResult DoInstallPreFork() {
115 Res = OrderInstall();
133 enum APT_HIDDEN SmartAction { UNPACK_IMMEDIATE, UNPACK, CONFIGURE };
134 [[nodiscard]] APT_HIDDEN
bool NonLoopingSmart(SmartAction action, pkgCache::PkgIterator &Pkg,
135 pkgCache::PkgIterator DepPkg,
int Depth,
bool PkgLoop,
136 bool *Bad,
bool *Changed);