1 .TH zpm-rmpackage 8 2019-02-28 "ZPM 0.3"
3 zpm-rmpackage \- remove packages from a database
24 removes packages from a zpm database and logs a message. This is
25 potentially dangerous. No checking as to the status of the
26 package is made, so it is possible to remove a package from the
27 database even if it is installed. This program is intended to
28 be run from garbage collection utilities or by package maintainers
29 rather than as a normal part of system administration.
31 Packages to be removed are given as package id arguments, which
32 may be abbreviated, and will be looked up via
34 If a package is not found, it is not an error. A message will
35 be printed to stderr in this case if the -v option is given.
37 A log message will be entered into the zpm log for each package removed with an
38 action of 'rmpackage'.
39 An optional message to put in the log can be given with the -m option.
43 specify the package file to find packages in
46 specify a message for each log message.
49 Require that packages listed have the given status. This is primarily
50 a safety feature so that you don't accidentally remove installed packages
52 Passed through to zpm-findpkg and may be given more than once.
55 Require that packages not have the given status. Useful for excluding
56 installed packages without specifying other statuses explicitly.
57 Passed through to zpm-findpkg and may be given more than once.
64 Removes a foo package as found with zpm-findpkg from the default database.
66 0 on success non zero on failure