Access to packagemanager
Part III. Reference of Interface to YaST2 Package Manager
Access to packagemanager
Table of Contents
Pkg::PkgQueryProvides
- List all package instances providing 'tag'
Pkg::PkgMediaNames
- Return names of sources in installation order
Pkg::PkgMediaSizes
- Return size of packages to be installed
Pkg::PkgMediaCount
- Return number of packages to be installed
Pkg::IsProvided
- returns 'true' if the tag is provided in the installed system
Pkg::IsSelected
- returns a 'true' if the tag is selected for installation
Pkg::IsAvailable
- Check if package (tag) is available
Pkg::DoProvide
- Install a list of tags to the system
Pkg::DoRemove
- Removes a list of tags from the system
Pkg::PkgSummary
- Get summary (aka label) of a package
Pkg::PkgVersion
- Get version (better: edition) of a package
Pkg::PkgSize
- Get (installed) size of a package
Pkg::PkgGroup
- Get rpm group of a package
Pkg::PkgProperties
- Return information about a package
Pkg::PkgLocation
- Get file location of a package in the source
Pkg::PkgGetFilelist
- Get File List of a package
Pkg::SaveState
- Save the current selection state
Pkg::RestoreState
- Restore Saved state
Pkg::ClearSaveState
- clear a saved state (to reduce memory consumption)
Pkg::IsManualSelection
- Check Status of Selections and if they have changed
Pkg::PkgAnyToDelete
- Check if there are any package to be deleted
Pkg::AnyToInstall
- Check if there are any package to be installed
Pkg::FilterPackages
- Get list of packages depending on how they were selected
Pkg::GetPackages
- Get list of packages (installed, selected, available)
Pkg::PkgUpdateAll
- Update Packages marked for installation
Pkg::PkgInstall
- Select package for installation
Pkg::PkgSrcInstall
- Select source of package for installation
Pkg::PkgDelete
- Select package for deletion
Pkg::PkgTaboo
- Set package to taboo
Pkg::PkgNeutral
- Set package to neutral (drop install/delete flags)
Pkg::Reset
- Reset most internal stuff on the package manager.
Pkg::PkgSolve
- Solve current package dependencies
Pkg::PkgSolveCheckTargetOnly
- Solve packages currently installed on target system.
Pkg::PkgSolveErrors
- Returns number of fails
Pkg::PkgCommit
- Commit package changes (actually install/delete packages)
Pkg::GetBackupPath
- get current path for update backup of rpm config files
Pkg::SetBackupPath
- set current path for update backup of rpm config files
Pkg::CreateBackups
- whether to create package backups during install or removal
Pkg::PkgGetLicenseToConfirm
- Return Licence Text
Pkg::PkgGetLicensesToConfirm
- Return Licence Text of several packages
Pkg::RpmChecksig
- Check signature of RPM