How to repair a package

DTD doug at
Tue Sep 5 18:28:18 UTC 2017

On Tue, 5 Sep 2017, Adam Vande More wrote:

> On Tue, Sep 5, 2017 at 12:48 PM, DTD <doug at> wrote:
>       Between shutdown and reboot starting xdm gets:
>          Shared object "" not found, required by "xdm"
>       and starting startxfce4:
>          Shared object "" not found, required by "xinit"
> is a module in libXScrnSaver. So after seeing if I could find
> on another system and not finding an option in "pkg delete" that would
>       delete only libXScrnSaver and not the 40 other related packages I tried "pkg fetch"
>       and "pkg install -f" on the txz file. That gets a Segmentation fault.
>       Do I have any options other than starting over?
> Are you mixing ports and packages?  It's best to avoid that if you aren't familiar with the
> complexities.
> Try a pkg update -y

Thanks, been using FreeBSD as a workstation since 3.5. All packages except for a 
few python ones. Clearly this does not matter. "pkg update -y" is almost 
guaranteed to hose the system because of the mozilla interlocking dependencies 
with xfce, gimp and the like. I will try that eventually but I was hoping for a 
smaller hammer.

To the powers that be, an option on delete that says do only the single one 
would be really cool. That said, this is a fairly old system. Disks have been 
known to fail with these symptoms, but I can not find any evidence of this so 

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

More information about the freebsd-questions mailing list