Date: Tue, 10 May 2016 16:06:10 -0300 From: Mario Lobo <lobo@bsd.com.br> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: Fwd: pkg delete dilema Message-ID: <CA%2ByoEx8UqjCCsdGidOiGHkSZJ=b%2Bwc_hVF9QTjXrmecC=bp18g@mail.gmail.com> In-Reply-To: <CA%2ByoEx9EJH21xN7MZ6SDby-GqgmFrsCExM=dhGhnUJDV0t%2BD-Q@mail.gmail.com> References: <CA%2ByoEx8cXJk7FGvk9EBqhzj6V8gTSCL_vdhjknJCJqhYqVgwuA@mail.gmail.com> <b80b3cf8-858b-3c88-0791-674ee6002f28@FreeBSD.org> <CA%2ByoEx9EJH21xN7MZ6SDby-GqgmFrsCExM=dhGhnUJDV0t%2BD-Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2016-05-10 15:28 GMT-03:00 Matthew Seaman <matthew@freebsd.org>: > On 10/05/2016 18:44, Mario Lobo wrote: > > So, is there a way to tell pkg just to delete the package WITHOUT > deleting > > the dependent ports? If not, is there a way for me to remove just the > > cups-client port? Or just force cups to get installed (make > > FORCE_PKG_REGISTER=yes install issues the same problem as plain make > above)? > > pkg delete -f cups-client > > Cheers, > > Matthew > > > Thanks Anton but I DID RTFM, but i expected to find the answer in the obvious "man pkg", which by the way, is not there anywhere: man pkg ... delete Delete a package from the database and the system. That's all there is. The only reference in there to -f is: bootstrap This is for compatibility with the pkg(7) bootstrapper. If pkg is already installed, nothing is done. If invoked with the (-f) flag an attempt will be made to reinstall pkg from remote repository. I honestly didn't know that there are separate options for "man pkg-command" but now, thanks to you, I do. Thanks Matthew ;)! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2ByoEx8UqjCCsdGidOiGHkSZJ=b%2Bwc_hVF9QTjXrmecC=bp18g>