Application class and helpers
update-manager application.
Wrapper around the backend’s abort_operation method.
Wrapper around the backend’s commit method.
Parameters: |
|
---|
Wrapper around the backend’s get_available_updates method. :param dist_upgrade: Defines whether to do a dist upgrade or not.
Returns: | A list of UpdateManager.Backend.PackageInfoBase objects. |
---|
Changed in version 0.200.0~exp1.
Wrapper around the dist-specific get_bug_script_name method.
Wrapper around the dist-specific get_changelog method.
Wrapper around the dist-specific get_name method.
Returns: | The distribution’s name. |
---|
Gets the value of a commandline option/switch.
Parameters: | option_name – Option name |
---|---|
Returns: | Value of option |
Wrapper around the dist-specific get_update_category method.
Parameters: | pkg_info – UpdateManager.Backend.PackageInfoBase object |
---|---|
Returns: | Update category ID |
Wrapper around the the dist-specific get_update_category_name method.
Parameters: | cat_id – The update category’s id. |
---|---|
Returns: | The localized update category name. |
Wrapper around the backend’s is_locked method.
Parameters: | by_us – Check if the lock is held by us. |
---|
Initializes the frontend, reloads the package cache and runs the frontend’s main loop.
Wrapper around the backend’s reload_cache method.
Wrapper around the backend’s download_package_lists method.
Sets the value of a commandline option/switch.
Parameters: |
|
---|