mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-18 08:33:41 +00:00
- Refresh package list before trying to install packages. Also lookup the ID of the package, including the version, using the newly fetched package list. - Call on_install() callback requested by modules only if the package installation was successful. Handle any exception raised in the callback itself. - Handle exceptions raised during packagekit operations. Also check the returned results for error code. - Capture error/success status during a transaction. Don't destroy the transaction object until the error/success status has been collected. When a view is refreshed after completion of a transaction collect the result of the transaction and show it to the user. - Handle cases where package searches in the package list fails. Simply show the package name without its description.