salt.states.aptpkg#
Package management operations specific to APT- and DEB-based systems#
Note
This state module is loaded under the apt virtual name. Use
apt.held (and not aptpkg.held) when referring to functions
from this module in your state SLS files.
- salt.states.aptpkg.held(name)#
Set package in 'hold' state, meaning it will not be upgraded.
- name
The name of the package, e.g., 'tmux'