cdist-type__apt_mark - Man Page

set package state as 'hold' or 'unhold'

Description

See apt-mark(8) for details.

Required Parameters

state

Either "hold" or "unhold".

Optional Parameters

name

If supplied, use the name and not the object id as the package name.

Examples

# hold package
__apt_mark quagga --state hold
# unhold package
__apt_mark quagga --state unhold

Authors

Ander Punnar <cdist--@--kvlt.ee>

Copying

Copyright (C) 2016 Ander Punnar. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Info

Jul 31, 2022 7.0.0 cdist