CDIST-TYPE__PACKAGE_DPKG(7) | cdist | CDIST-TYPE__PACKAGE_DPKG(7) |
cdist-type__package_dpkg - Manage packages with dpkg
This type is used on Debian and variants (like Ubuntu) to install packages that are provided locally as *.deb files.
The object given to this type must be the name of the deb package. The filename of the deb package has to follow Debian naming conventions, i.e. ${binary:Package}_${Version}_${Architecture}.deb (see dpkg-query(1) for details).
# Install foo and bar packages __package_dpkg foo_0.1_all.deb --source /tmp/foo_0.1_all.deb __package_dpkg bar_1.4.deb --source $__type/files/bar_1.4.deb # uninstall baz: __package_dpkg baz_1.4_amd64.deb \
--source $__type/files/baz_1.4_amd64.deb \
--state "absent" # uninstall baz and also purge config-files: __package_dpkg baz_1.4_amd64.deb \
--source $__type/files/baz_1.4_amd64.deb \
--purge-if-absent \
--state "absent"
Tomas Pospisek <tpo_deb--@--sourcepole.ch> Thomas Eckert <tom--@--it-eckert.de>
Copyright (C) 2013 Tomas Pospisek. 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. This type is based on __package_apt.
ungleich GmbH 2020
February 7, 2021 | 6.9.4 |