1CDIST-TYPE__PACKAGE_UPGRADE_ALL(7) cdist CDIST-TYPE__PACKAGE_UPGRADE_ALL(7)
2
3
4
6 cdist-type__package_upgrade_all - Upgrade all the installed packages
7
9 This cdist type allows you to upgrade all the installed packages on the
10 target. It will automatically use the appropriate package manager.
11
13 None
14
16 type The package manager to use. Default is determined based on the
17 $os explorer variable. e.g. * apt for Debian * yum for Red Hat
18 * pacman for Arch Linux
19
21 apt-dist-upgrade
22 Do dist-upgrade instead of upgrade.
23
24 apt-with-new-pkg
25 Allow installing new packages when used in conjunction with up‐
26 grade. This is useful if the update of an installed package re‐
27 quires new dependencies to be installed. Instead of holding the
28 package back upgrade will upgrade the package and install the
29 new dependencies. Note that upgrade with this option will never
30 remove packages, only allow adding new ones.
31
32 apt-clean
33 Clean out the local repository of retrieved package files.
34
36 # Upgrade all the installed packages on the target
37 __package_upgrade_all
38
39 # Force use of a specific package manager
40 __package_upgrade_all --type apt
41
43 Ricardo Catalinas Jiménez <jimenezrick--@--gmail.com>
44
46 Copyright (C) 2014 Ricardo Catalinas Jiménez. You can redistribute it
47 and/or modify it under the terms of the GNU General Public License as
48 published by the Free Software Foundation, either version 3 of the Li‐
49 cense, or (at your option) any later version.
50
52 ungleich GmbH 2021
53
54
55
56
577.0.0 Jul 31, 2022CDIST-TYPE__PACKAGE_UPGRADE_ALL(7)