Packages Manipulation
This is a set of basic routines for manipulating packages.
Authors: Martin Vidner <mvidner@suse.cz>,
Michal Svec <msvec@suse.cz>.
Modules
The module Package is the default one, it should work on the target
system (it correctly differentiates between normal and autoinstallaton mode).
PackageSystem is for situations when you need immediate action
(for example to start the client).
Functions
The function names should be self-descriptive, so
there are no comments here. Feel free to ask if
you are in doubts.
Package Installation (GUI)
- boolean Install(string package);
- boolean InstallAll(list packages);
- boolean InstallAny(list packages);
- boolean Remove(string package);
- boolean RemoveAll(list packages);
Packages Installation (No GUI)
- boolean DoInstall(list packages);
- boolean DoRemove(list packages);
- boolean DoInstallAndRemove(list toinstall, list toremove);
Testing
- boolean Available(string package);
- boolean AvailableAll(list packages);
- boolean AvailableAny(list packages);
- boolean Installed(string package);
- boolean InstalledAll(list packages);
- boolean InstalledAny(list packages);
Other
- void RunSUSEConfig();
- boolean LastOperationCanceled();
Errors (not yet available)