Always Updates

raw JSON →
156.7 verified Mon Apr 27 auth: no python

A system update utility that runs OS package manager updates. Latest version 156.7, frequent releases.

pip install always-updates
error ModuleNotFoundError: No module named 'always_updates'
cause Wrong import path: the package is installed as 'always-updates' but import uses underscore.
fix
Install with 'pip install always-updates' and import as 'always_updates'.
error AttributeError: module 'always_updates' has no attribute 'always_check'
cause always_check was removed in v150.
fix
Use update_system(check_only=True) instead.
breaking In v150, the function always_check was removed; use update_system with check_only=True.
fix Replace always_check() with update_system(check_only=True).
gotcha update_system with check_only=False requires root privileges on Linux; otherwise it raises PermissionError.
fix Run with sudo or as admin.
deprecated The 'force' parameter in update_system is deprecated since v140 and will be removed.
fix Remove the force parameter; use update_system() without it.

Runs a full system update.

from always_updates import update_system
update_system(check_only=False)