Le 11/02/2017 à 23:57, Andy Farkas a écrit : > On 12/02/2017 08:37, Herbert J. Skuhra wrote: >> Andy Farkas skrev: >>> I did a 'portmaster -a' and it seems devel/libcheck has changed to >>> devel/check. >>> (nothing in /usr/ports/UPDATING about this) >>> >>> But devel/check won't install because: >>> >>> pkg-static: check-0.11.0 conflicts with libcheck-0.10.0 (installs files >>> into the same place). Problematic file: /usr/local/bin/checkmk >>> >>> I then tried 'pkg delete libcheck' but it wants to delete 48 packages >>> including my mate-base (which I rely on!) and also lumina which would >>> leave me without a window-manager! >> - pkg delete -f libcheck >> or >> - portmaster -o devel/check libcheck >> > > Thanks Herb! > > The -f flag is not mentioned in the man page for pkg(8). > > How did you know about it?
$ pkg pkg: not enough arguments Usage: pkg [-v] [-d] [-l] [-N] [-j <jail name or id>|-c <chroot path>|-r <rootdir>] [-C <configuration file>] [-R <repo config dir>] [-o var=value] [-4|-6] <command> [<args>] For more information on available commands and options see 'pkg help'. $ pkg help Usage: pkg [-v] [-d] [-l] [-N] [-j <jail name or id>|-c <chroot path>|-r <rootdir>] [-C <configuration file>] [-R <repo config dir>] [-o var=value] [-4|-6] <command> [<args>] Global options supported: ... Commands supported: ... delete Deletes packages from the database and the system ... For more information on the different commands see 'pkg help <command>'. $ pkg help delete (man page follows) Or, you could just type: $ pkg delete Usage: pkg delete [-DfnqRy] [-Cgix] <pkg-name> ... pkg delete [-Dnqy] -a For more information see 'pkg help delete'. $ pkg help delete (man page follows) -- Mathieu Arnold
signature.asc
Description: OpenPGP digital signature