172. PackageSystem

Packages manipulation (system)

172.1. Summary of Module Globals

List of Global Functions

List of Global Variables

    172.2. Global Functions

    172.2.1. Available

    Is a package available?

    Function parameters

    • string package

    Return value

    • boolean - true if yes

    172.2.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

    172.2.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

    172.2.4. EnsureSourceInit

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

    Return value

    • void

    172.2.5. EnsureTargetInit

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

    Return value

    • void

    172.2.6. Installed

    Is a package installed?

    Function parameters

    • string package

    Return value

    • boolean - true if yes

    172.3. Global Variables

    172.4. Module Requirements

    172.4.1. Module Imports

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

    172.4.2. Module Includes

    • packages/common.ycp