Pkg::PkgUpdateAll — Update installed packages
map<symbol,integer>
PkgUpdateAll
( |
map<string,any>
update_options
) ; |
update_options
Options for the solver. All parameters are optional, if a parameter is missing the default value from the package manager (libzypp) is used. Currently supported options: $["delete_unmaintained":boolean, "silent_downgrades":boolean, "keep_installed_patches":boolean]
Mark all packages for installation which are installed and have an available candidate for update.
This will mark packages for installation *and* for deletion (if a package provides/obsoletes another package)
This function does not solve dependencies.
Symbols and integer values returned:
ProblemListSze: Number of taboo and dropped packages found.
DeleteUnmaintained: Whether delete_unmaintained arg was true or false. Dependent on this, SumDropped below either denotes packages to delete (if true) or packages to keep (if false).
SumProcessed: TOTAL number of installed packages we processed.
SumToInstall: TOTAL number of packages now tagged as to install. Summs Ipreselected, Iupdate, Idowngrade, Ireplaced.
Ipreselected: Packages which were already taged to install.
Iupdate: Packages set to install as update to a newer version.
Idowngrade: Packages set to install performing a version downgrade.
Ireplaced: Packages set to install as they replace an installed package.
SumToDelete: TOTAL number of packages now tagged as to delete. Summs Dpreselected, SumDropped if DeleteUnmaintained was set.
Dpreselected: Packages which were already taged to delete.
SumToKeep: TOTAL number of packages which remain unchanged. Summs Ktaboo, Knewer, Ksame, SumDropped if DeleteUnmaintained was not set.
Ktaboo: Packages which are set taboo.
Knewer: Packages kept because only older versions are available.
Ksame: Packages kept because they are up to date.
SumDropped: TOTAL number of dropped packages found. Dependent on the delete_unmaintained arg, they are either tagged as to delete or remain unchanged.