196. PackageSystem

Packages manipulation (system)

196.1. Authors

  • Martin Vidner <mvidner@suse.cz>

  • Michal Svec <msvec@suse.cz>

196.2. Summary of Module Globals

List of Global Functions

List of Global Variables

    196.3. Global Functions

    196.3.1. Available

    Is a package available?

    Function parameters

    • string package

    Return value

    • boolean - true if yes (nil = no package source available)

    196.3.2. CheckAndInstallPackages

    Check if packages are installed

    Function parameters

    • list<string> packages

    Return value

    • boolean - true if installation succeeded or packages were installed, false otherwise

    196.3.3. CheckAndInstallPackagesInteractive

    Check if packages are installed

    Function parameters

    • list<string> packages

    Return value

    • boolean - true if installation succeeded, packages were installed before or user decided to continue, false otherwise

    196.3.4. EnsureSourceInit

    Ensure that Pkg:: calls working with the installation sources work

    Return value

    • void

    196.3.5. EnsureTargetInit

    Ensure that Pkg:: calls work. This may become superfluous.

    Return value

    • void

    196.3.6. Installed

    Is a package provided in the system? Is there any installed package providing 'package'?

    Function parameters

    • string package

    Return value

    • boolean - true if yes

    196.3.7. PackageAvailable

    Is a package available? Checks only package name, not list of provides.

    Function parameters

    • string package

    Return value

    • boolean - true if yes (nil = no package source available)

    196.3.8. PackageInstalled

    Is a package installed? Checks only the package name in contrast to Installed() function.

    Function parameters

    • string package

    Return value

    • boolean - true if yes

    196.4. Global Variables

    196.5. Module Requirements

    196.5.1. Module Imports

    • CommandLine
    • Label
    • Mode
    • PackageCallbacks
    • PackageLock
    • Popup
    • Report
    • Stage

    196.5.2. Module Includes

    • packages/common.ycp