169. OSRPkg

Packages check

169.1. Authors

  • Johannes Buchhold <jbuch@suse.de>

169.2. Summary of Module Globals

List of Global Functions

  • CheckDB - Return false if db files are missing. Save missing files in the list not_found_files.

  • CheckMinimum - Check if all minimal required packages are installed.

  • CheckProductVersions - Check if target product is the same as the source (bug #45306)

  • InstallMissing - Install selected Packages. The packages are damaged or not install. Call CheckMinimum or VerifyPackages before.

  • OSRPkg - Constructor.

  • OpenPkg - Open the package database.

  • RepairDB - Repair or initialise a damaged package damaged. Call CheckDB before.

  • Reset - Reset the module settings.

  • VerifyPackages - Verify all specified packages.

List of Global Variables

169.3. Global Functions

169.3.1. CheckDB

Return false if db files are missing. Save missing files in the list not_found_files.

Function parameters

  • string root

Return value

  • boolean

169.3.2. CheckMinimum

Check if all minimal required packages are installed.

Function parameters

  • string root

Return value

  • boolean

169.3.3. CheckProductVersions

Check if target product is the same as the source (bug #45306)

Return value

  • boolean - true if product are the same

169.3.4. InstallMissing

Install selected Packages. The packages are damaged or not install. Call CheckMinimum or VerifyPackages before.

Function parameters

  • boolean use_dialog

Return value

  • symbol

169.3.5. OSRPkg

Constructor.

Return value

  • void

169.3.6. OpenPkg

Open the package database.

Function parameters

  • string root

Return value

  • boolean

169.3.7. RepairDB

Repair or initialise a damaged package damaged. Call CheckDB before.

Return value

  • symbol

169.3.8. Reset

Reset the module settings.

Return value

  • void

169.3.9. VerifyPackages

Verify all specified packages.

Function parameters

  • string root

  • string what

  • boolean expert_mode

  • boolean reset

Return value

  • symbol

169.4. Global Variables

169.4.1. error_text

Error text.

169.4.2. help_text

Help text to show errors.

169.4.3. install_missing_dialog_data

Dialog description for the install missing or damaged packages.

169.4.4. missing_packages

Not installed base packages or damaged packages.

169.4.5. not_found_files

Missing packages database files.

169.4.6. root_mountpoint

Mount point where the target system is mounted.

169.5. Module Requirements

169.5.1. Module Imports

  • DefaultDesktop
  • Mode
  • OSRCommon
  • OSRExecute
  • OSRLogFile
  • OSRPkgUI
  • OSRPkgVerify
  • OSRPopup
  • OSRSystem
  • Packages
  • Popup
  • Report
  • Stage
  • Wizard

169.5.2. Module Includes