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.is_installed(c, package)[source]

Check if the given APT package is installed.

Parameters:
  • c – Fabric connection.

  • package – Name of package to be checked.

Returns:

True if package is installed, else False.

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