Re: pkg upgrade foot shooting
- Reply: Janky Jay, III: "Re: pkg upgrade foot shooting"
- Reply: Baptiste Daroussin : "Re: pkg upgrade foot shooting"
- In reply to: Dag-Erling_Smørgrav : "Re: pkg upgrade foot shooting"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Feb 2025 06:03:44 UTC
On Wed, Feb 12, 2025 at 4:31 PM Dag-Erling Smørgrav <des@freebsd.org> wrote: > Kevin Oberman <rkoberman@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 - des@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: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683