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:
Ingo Weinhold
2014-01-25 10:47:35 +01:00
parent e08720f8f2
commit 6ef57ae2a9
7 changed files with 144 additions and 0 deletions
@@ -90,6 +90,7 @@ public:
int packageCount);
void Update(const BSolverPackageSpecifierList&
packages);
void FullSync();
void VerifyInstallation();