From owner-freebsd-questions@freebsd.org Tue Sep 5 18:43:19 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C528E185C7 for ; Tue, 5 Sep 2017 18:43:19 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B60D56852D for ; Tue, 5 Sep 2017 18:43:18 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id v85IhHub093601; Tue, 5 Sep 2017 14:43:17 -0400 (EDT) (envelope-from doug@safeport.com) Date: Tue, 5 Sep 2017 14:43:17 -0400 (EDT) From: DTD To: Adam Vande More cc: FreeBSD Questions Subject: Re: How to repair a package In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Tue, 05 Sep 2017 14:43:17 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 18:43:19 -0000 On Tue, 5 Sep 2017, DTD wrote: > On Tue, 5 Sep 2017, Adam Vande More wrote: > >> On Tue, Sep 5, 2017 at 12:48 PM, DTD wrote: >> Between shutdown and reboot starting xdm gets: >> Shared object "libXmu.so.6" not found, required by "xdm" >> and starting startxfce4: >> Shared object "libX11.so.6" not found, required by "xinit" >> >> libX11.so.6 is a module in libXScrnSaver. So after seeing if I could find >> libX11.so.6 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 > far. When I read and responded I assumed you meant 'pkg upgrade' not update. I will read and research the latter. In any case upgrade will not work because apparently libXScrnSaver is up to date, broken but up to date. Anyway I answered a bit too fast. Looking, thanks. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277