On Thu, Nov 16, 2017 at 11:04 AM, Paul Schmehl <[email protected]>
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.
>

​Install onigurum5, then remove it.  Try to install onigurum.  That should
reset things in the database.
​

> 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.


​There's nothing to iterate over.  There's nothing in /var/db/pkg anymore
except the SQLite databases.

The only way to "rebuild" local.sqlite is to reinstall everything.

-- 
Freddie Cash
[email protected]
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to