1 .TH zpm-update 8 2018-12-10 "ZPM 0.4"
3 zpm-update \- update set of installed packages
12 .RI [ \fB[+|-]\fIpackage ...]
14 \fBzpm-update\fR changes the set of installed packages.
15 It can install, remove, or update a set of packages as given on the command
16 line. It will search defined repositories for packages, and download, merge,
17 and prepare the packages and the local database. By itself, zpm-update just
18 prepares the system for the file operations and runs package scripts.
20 Packages may be specified by a full package id triple, or any
21 shortened version of one (i.e. a package may be given by name, name
22 and version, or name, version, and release).
24 Packages may have an optional '+' or '-' prefix. Packages
25 marked with '+' are set to be installed, or updated if a package
26 with the same name is already installed. Packages marked with
27 a '-' are set to be uninstalled if they are installed.
28 By default, unmarked packages are treated as marked with a '+'.
29 The default can be changed to uninstall with the \fB-U\fR option.
31 Once the set of packages to installed or uninstalled is determined and set up,
32 zpm-syncfs is called to do the actual file operations. This is an
33 "all-at-once" action in the sense that the whole set of file actions is
34 considered and no concern is given to which specific package a file belongs to.
35 In other words, all of the packages given are updated, removed, installed at
36 the same time, rather than taking each package one at a time and installing,
37 updating, or removing it. If the admin wants to do the packages one at a time,
38 zpm-update can be run multiple times.
42 specify the package file to find packages in
45 perform a dry run. This option calls zpm-syncfs in dry-run mode,
46 and doesn't run any package scripts. Since scripts aren't run
47 and no files are changed, this can only detect and report some
51 Don't check for library dependencies
54 run zpm-syncfs in accept mode
57 run zpm-syncfs in overwrite mode mode
60 Treat unmarked packages as packages to be uninstalled.
64 Install or update the vim package to the latest package found.
67 Uninstall the vim package if it installed. The '--' is necessary
68 to the system doesn't think you are passing a -v option to zpm update.
71 Uninstall the vim package if it installed.
74 Install or update ed to the latest version available, and remove
77 0 on success non zero on failure