yast2 |
modules/PackageSystem.ycp |
Packages manipulation (system) | |
|
|
This module has an unstable interface. |
The documentation is maintained at
.../docs/index.html.
Imports
Includes
Global Functions
Local Variables |
Was last operation canceled?
Has Pkg::TargetInit run?
Has Pkg::SourceStartCache run?
Ensure that Pkg:: calls work. This may become superfluous.
Ensure that Pkg:: calls working with the installation sources work
Is a package available?
- Parameters:
-
package
- Return value:
-
true if yes (nil = no package source available)
Is a package provided in the system? Is there any installed package providing 'package'?
- Parameters:
-
package
- Return value:
-
true if yes
Is a package installed? Checks only the package name in contrast to Installed() function.
- Parameters:
-
package
- Return value:
-
true if yes
Is a package available? Checks only package name, not list of provides.
- Parameters:
-
package
- Return value:
-
true if yes (nil = no package source available)
Check if packages are installed
Install them if they are not and user approves installation
- Parameters:
-
packages
- Return value:
-
true if installation succeeded or packages were installed, false otherwise
Check if packages are installed
Install them if they are not and user approves installation If installation fails (or wasn't allowed), ask user if he wants to continue
- Parameters:
-
packages a list of packages to check (and install)
- Return value:
-
true if installation succeeded, packages were installed before or user decided to continue, false otherwise