9#ifndef PKGLIB_DEBSYSTEM_H
10#define PKGLIB_DEBSYSTEM_H
13#include <apt-pkg/pkgsystem.h>
27 APT_HIDDEN
bool CheckUpdates();
31 bool UnLock(
bool NoErrors =
false)
override;
34 bool ArchiveSupported(
const char *Type)
override;
36 bool AddStatusFiles(std::vector<pkgIndexFile *> &List)
override;
37 bool FindIndex(pkgCache::PkgFileIterator File,
43 APT_HIDDEN
static std::string GetDpkgExecutable();
44 APT_HIDDEN
static std::vector<std::string> GetDpkgBaseCommand();
45 APT_HIDDEN
static void DpkgChrootDirectory();
46 APT_HIDDEN
static std::string StripDpkgChrootDirectory(std::string
const &File);
47 APT_HIDDEN
static pid_t ExecDpkg(std::vector<std::string>
const &sArgs,
int *
const inputFd,
int *
const outputFd,
bool const DiscardOutput);
49 static bool AssertFeature(std::string
const &Feature);
52 bool LockInner(
OpProgress *
const Progress,
int timeoutSec)
override;
53 bool UnLockInner(
bool NoErrors=
false)
override;
Definition configuration.h:41
Definition debsystem.cc:47
Definition debsystem.h:24
bool IsLocked() override
checks if the system is currently locked
Definition debsystem.cc:218
std::vector< std::string > ArchitecturesSupported() const override
Definition debsystem.cc:531
bool MultiArchSupported() const override
Definition debsystem.cc:505
Definition indexfile.h:103
Definition packagemanager.h:49
Definition pkgsystem.h:53
pkgCache - Structure definitions for the cache file