From owner-freebsd-ports@freebsd.org Thu Nov 16 19:23:38 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 26A4FDE6A8F for ; Thu, 16 Nov 2017 19:23:38 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E17066E50 for ; Thu, 16 Nov 2017 19:23:37 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-lf0-x234.google.com with SMTP id e143so85473lfg.12 for ; Thu, 16 Nov 2017 11:23:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ztH+EDXRND79obPlHzEDvi0GPtjwAQAQD2t+bx7kzw8=; b=Gwg1AKC/rpSiSlX1CsEjsJxXCVxODKf+RcyRsYmOUPV8tA9BuVzA6EbkywAUrJ6uSM gmnztESfOSakJmyQbLzTg2GnxTbj+1pu1AX/cJarw5+xXz5Sln+0RP32Ak+UBV5dgOOF V24ngIk1QTLQkhiU7tcYSvHyv6gRFVoE09DCfN1Sye3lg2orEcywss5FURs1dDdXsR+5 w6zBqFK/xixLjJCOeRYgThvzNDhMCZdzdCnqQJYrFPVkXOXBts8sZZO0Zz7c/QAMhANH vuonHVG8BhLdSbgr3kiVu43K1wdLF3R4qI4pT7IGftGEeD/TcZn6DrckYIsrAROubf+x uvOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ztH+EDXRND79obPlHzEDvi0GPtjwAQAQD2t+bx7kzw8=; b=Snbnfnf5jixWFa3hxWquHAuJmKra7AaWMdTxBfOtBbipMUHIy2e+lC9gQOPGksTtFA snOFVWiU3ivsy0jXzJsndQtilOQYyWUKtIzlIgHyHRklSYSj5p6lA3Kaly2/oYm8+lLi jiartWvscUWc6MrVHYvqFCfcBmsrI04OBPg/pcrvypVos0sCktowNfppuXXhxck3C/Mq SkemimbfD8do6O/Hhej7VPilJK0O3puSNOaS31VuTxs45CxPZVqaj16VzGA6tjkWhztW xwhG6uZe2722JAvxoBtYAmaq8mc6PtigYqs9kb2ssEj8A/ZtD6/emNWgaG+oiQG4ISAP z2BA== X-Gm-Message-State: AJaThX4VBg4LBB858SW0zoggSrcH0Pe00LkZAaQCjMUrGk5zGLX/LIr2 6SBmBk8HPyiwlTkiyoqHoN/fA9Ljyu38bR9QmCw= X-Google-Smtp-Source: AGs4zMbnnEETqism0P/IE2gu3KMes6vbnKSPR38hPPN8hG2BSYcFQX7wbA0g7WznuIIDHkZpKFzLx5R6rH1klStkiSE= X-Received: by 10.25.16.97 with SMTP id f94mr940787lfi.172.1510860215619; Thu, 16 Nov 2017 11:23:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.227.73 with HTTP; Thu, 16 Nov 2017 11:23:34 -0800 (PST) In-Reply-To: <82935A8FFB5163556E158535@Pauls-MacBook-Pro.local> References: <27599F2948EE17B91E77EB7F@Pauls-MacBook-Pro.local> <82935A8FFB5163556E158535@Pauls-MacBook-Pro.local> From: Freddie Cash Date: Thu, 16 Nov 2017 11:23:34 -0800 Message-ID: Subject: Re: Package database problems To: Paul Schmehl Cc: FreeBSD Ports Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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:23:38 -0000 On Thu, Nov 16, 2017 at 11:04 AM, Paul Schmehl wrote: > That's the problem. The package that installed that file is not installed= . > Nor is the file in the location pkg complains about. Yet, it still > complains of a conflict and refuses to install the package I'm trying to > install. > > For example, I tried to upgrade devel/oniguruma. It complained about a > conflict with oniguruma5, specifically /usr/local/bin/onig-config. That > file does not exist, nor is onigurum5 installed. > =E2=80=8BInstall onigurum5, then remove it. Try to install onigurum. That= should reset things in the database. =E2=80=8B > I wish there was a pkg command like rebuild-db that would iterate through > /var/db/pkg and create a valid local.sqlite file that registers the > packages currently existing on the server. =E2=80=8BThere's nothing to iterate over. There's nothing in /var/db/pkg a= nymore except the SQLite databases. The only way to "rebuild" local.sqlite is to reinstall everything. --=20 Freddie Cash fjwcash@gmail.com