pkgman: Add full-sync command
* BSolver/LibsolvSolver: Add FullSync() method. It uses libsolv's SOLVER_DISTUPGRADE mode. * BPackageManager: Add FullSync() using the new solver mode. * pkgman: Add full-sync command. The new command is similar to the update command without arguments, just more aggressive, allowing downgrading or even removal of packages, to match the state of the repositories. Just like "update" it doesn't work properly yet.
This commit is contained in:
@@ -72,6 +72,7 @@ public:
|
||||
bool installNotYetInstalled,
|
||||
const BSolverPackageSpecifier** _unmatched
|
||||
= NULL) = 0;
|
||||
virtual status_t FullSync() = 0;
|
||||
virtual status_t VerifyInstallation(uint32 flags = 0) = 0;
|
||||
|
||||
bool HasProblems() const
|
||||
|
||||
@@ -90,6 +90,7 @@ public:
|
||||
int packageCount);
|
||||
void Update(const BSolverPackageSpecifierList&
|
||||
packages);
|
||||
void FullSync();
|
||||
|
||||
void VerifyInstallation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user