How to repair a package

Mike Clarke jmc-freebsd2 at milibyte.co.uk
Wed Sep 6 22:23:23 UTC 2017


On Tue, 5 Sep 2017 13:48:23 -0400 (EDT)
DTD <doug at safeport.com> wrote:

> not finding an option in "pkg delete" that 
> would delete only libXScrnSaver and not the 40 other related packages

You should be able to do that with pkg delete -f libXScrnSaver

From the man page for pkg-delete

-f, --force
                Forces packages to be removed despite leaving unresolved
                dependencies.

-- 
Mike Clarke


More information about the freebsd-questions mailing list