apt pkg

Description

manage apt packages

Parameters
  • name** (required*): the package names and versions. You can specify multiple pakages. The following values can be used for package version:
    • <null> default: ensure the package is installed. If not, it will install the latest version available of all APT repos activated
    • <version>: ensure the package is installed, at the version specified. If the version in unavailable of all APT repos activated on the host, the state will fail
    • <uri>: ensure the package will be fetched from the following uri. Warning: if one uri is specified, only packages with uri specified will be installed. uri can be a remote or local path to a rpm package.
    • latest: ensure the package is installed at the latest version. If a newer version is available of all APT repos activated on the host, the package will upgrade automatically
    • removed: ensure the package is absent
    • purged: ensure the package is absent, and also delete all related configuration data of the package
  • repo (optional): the repo name, which you want to use to install the packages

      example: main
    
  • deb-conf-file (optional): the Deb configuration file path

      example: /etc/apt/deb.conf
    
  • verify-gpg (optional): verify the package's GPG signature, by default true

results matching ""

    No results matching ""