How to repair a package

DTD doug at
Wed Sep 6 23:28:54 UTC 2017

On Wed, 6 Sep 2017, Mike Clarke wrote:

> On Tue, 5 Sep 2017 13:48:23 -0400 (EDT)
> DTD <doug at> 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
Thanks Mike. I thought I tried that and it said about 40 other packages were 
going to be deleted. I will try this on a test system. This was very likely user 
stupidity. I verified the disk is [seemingly] okay and that the problem was only 
the missing module. It was in libX11 not libXScrnSaver, I mis-read the 'pkg 
info'. I picked the module out of the distfile and all is good. Pretty sure I 
was fumble-fingered in typing/cutting-pasting or some such.


Douglas Denault
doug at
Voice: 301-217-9220
   Fax: 301-217-9277

More information about the freebsd-questions mailing list