From owner-freebsd-questions@freebsd.org Wed Sep 6 23:28:54 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 C31AEE1D1F6 for ; Wed, 6 Sep 2017 23:28:54 +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 6C578829AD for ; Wed, 6 Sep 2017 23:28:54 +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 v86NSlZO058955; Wed, 6 Sep 2017 19:28:47 -0400 (EDT) (envelope-from doug@safeport.com) Date: Wed, 6 Sep 2017 19:28:47 -0400 (EDT) From: DTD To: Mike Clarke cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to repair a package In-Reply-To: <20170906231412.7adf86bc@curlew> Message-ID: References: <20170906231412.7adf86bc@curlew> 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]); Wed, 06 Sep 2017 19:28:47 -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: Wed, 06 Sep 2017 23:28:54 -0000 On Wed, 6 Sep 2017, Mike Clarke wrote: > On Tue, 5 Sep 2017 13:48:23 -0400 (EDT) > DTD 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. Doug _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277