1 .TH zpm-rmpackage 8 2019-02-15 "ZPM 0.3"
3 zpm-rmpackage \- remove packages from a database
5 f) pkgfile="$OPTARG" ;;
7 m) message="$OPTARG" ;;
21 removes packages from a zpm database and logs a message. This is
22 potentially dangerous. No checking as to the status of the
23 package is made, so it is possible to remove a package from the
24 database even if it is installed. This program is intended to
25 be run from garbage collection utilities or by package maintainers
26 rather than as a normal part of system administration.
28 Packages to be removed are given as package id arguments, which
29 may be abbreviated, and will be looked up via
31 If a package is not found, it is not an error. A message will
32 be printed to stderr in this case if the -v option is given.
34 A log message will be entered into the zpm log for each package removed with an
35 action of 'rmpackage'.
36 An optional message to put in the log can be given with the -m option.
40 specify the package file to find packages in
43 specify a message for each log message.
50 Removes a foo package as found with zpm-findpkg from the default database.
52 0 on success non zero on failure
62 .BR zpm-findpackage (8)