Date: Thu, 16 Nov 2017 11:23:34 -0800 From: Freddie Cash <fjwcash@gmail.com> To: Paul Schmehl <pschmehl_lists@tx.rr.com> Cc: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: Package database problems Message-ID: <CAOjFWZ5CBOsSWDgrjLh8eeH4bYS_322ne6t=48cEQS7DYka4YA@mail.gmail.com> In-Reply-To: <82935A8FFB5163556E158535@Pauls-MacBook-Pro.local> References: <27599F2948EE17B91E77EB7F@Pauls-MacBook-Pro.local> <CA%2BtpaK2azVgx6yb98ySHFSr015Ngv5oMHT%2B29b_b_u6AbDL9EQ@mail.gmail.com> <82935A8FFB5163556E158535@Pauls-MacBook-Pro.local>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 16, 2017 at 11:04 AM, Paul Schmehl <pschmehl_lists@tx.rr.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ5CBOsSWDgrjLh8eeH4bYS_322ne6t=48cEQS7DYka4YA>