Hi Kevin,

Check pkg(8) - The database is located in /var/db/pkg/local.sqlite according the manpage (and mine exists.)

Regards,
Janky Jay, III

On 2/12/25 11:03PM, Kevin Oberman wrote:
On Wed, Feb 12, 2025 at 4:31 PM Dag-Erling Smørgrav <d...@freebsd.org> wrote:

    Kevin Oberman <rkober...@gmail.com> writes:
    > Any pkg command gets:
    > The package management tool is not yet installed on your system.
    > Do you want to fetch and install it now? [y/N]:
    > but trying to do so gets:  the most recent version of pkg-2.0.5
    is already installed

    sudo pkg bootstrap -f

    DES
-- Dag-Erling Smørgrav - d...@freebsd.org


Thanks to all of you  for suggestions. DES, you hit the jackpot.  Since there is no man page for the pkg backup command, I was unaware of the -f option, though I should have, at least, thought to try . As it turned out, I did not need to restore the the db. Just get pkg reinstalled.

I am still confused as to the sqlite DB that I know I have looked at in the past.  I thought that it was in /var/db/pkg, but it is not there... just distfiles. I figure that the database has to be somewhere.

--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

Reply via email to