From owner-freebsd-ports@freebsd.org Thu Nov 16 19:04:39 2017 Return-Path: Delivered-To: freebsd-ports@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 28384DE61AE for ; Thu, 16 Nov 2017 19:04:39 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from dnvrco-cmomta01.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0AE0665FD5 for ; Thu, 16 Nov 2017 19:04:38 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [192.168.0.11] ([76.183.153.52]) by cmsmtp with ESMTPA id FPSkeRHQXgoKNFPSne1qpm; Thu, 16 Nov 2017 19:04:37 +0000 Date: Thu, 16 Nov 2017 13:04:33 -0600 From: Paul Schmehl Reply-To: Paul Schmehl To: FreeBSD Ports Subject: Re: Package database problems Message-ID: <82935A8FFB5163556E158535@Pauls-MacBook-Pro.local> In-Reply-To: References: <27599F2948EE17B91E77EB7F@Pauls-MacBook-Pro.local> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-CMAE-Envelope: MS4wfHzuQpkI0JWJX8k+LIg0aY4F7T1ShG2O+KJ65A0JJ2MdhG5pqjTtjTeXbtXoFSZJdvjFbe0sA9D/CUOM5nA+CuEUw7/6Yif6MfzWpsvaJLHlkC+KokP9 G5YgyuenUms+rpBuk90Jg6YAd+hpLh7Zg/OP+vkiOIRcjl0R9U+nRkUSpvH5aMFHV9s+Lye/gVQknQ== X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2017 19:04:39 -0000 That's the problem. The package that installed that file is not installed.=20 Nor is the file in the location pkg complains about. Yet, it still=20 complains of a conflict and refuses to install the package I'm trying to=20 install. For example, I tried to upgrade devel/oniguruma. It complained about a=20 conflict with oniguruma5, specifically /usr/local/bin/onig-config. That=20 file does not exist, nor is onigurum5 installed. I wish there was a pkg command like rebuild-db that would iterate through=20 /var/db/pkg and create a valid local.sqlite file that registers the=20 packages currently existing on the server. --On November 16, 2017 at 12:39:47 PM -0600 Adam Vande More=20 wrote: > > On Thu, Nov 16, 2017 at 12:22 PM, Paul Schmehl > wrote: > > > > I'm having problems with my package database. It complains about a > conflict with a file that doesn't exist. > > Is there a way to create a new local.sqlite file using the pkg command? > > > > 'pkg which /path/to/file' IIRC should reveal the registered = package?=C2=A0=C2=A0 > Perhaps best to address it that way. Paul Schmehl, Retired As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell