wuttamess.apt

APT package management

wuttamess.apt.dist_upgrade(c, frontend='noninteractive')[source]

Run a full dist-upgrade for APT. Essentially this runs:

apt update
apt dist-upgrade
wuttamess.apt.install(c, *packages, **kwargs)[source]

Install some package(s) via APT. Essentially this runs:

apt install PKG [PKG ...]
wuttamess.apt.update(c)[source]

Update the APT package lists. Essentially this runs:

apt update
wuttamess.apt.upgrade(c, dist_upgrade=False, frontend='noninteractive')[source]

Upgrade packages via APT. Essentially this runs:

apt upgrade

# ..or..

apt dist-upgrade