Date: Wed, 12 Feb 2025 22:03:44 -0800 From: Kevin Oberman <rkoberman@gmail.com> To: =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= <des@freebsd.org> Cc: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: pkg upgrade foot shooting Message-ID: <CAN6yY1sMKOQEyugSDtuzS2nxOwqCjU31TBLVA2=qLJnPmcrY-w@mail.gmail.com> In-Reply-To: <867c5uhehl.fsf@ltc.des.dev> References: <CAN6yY1vr4T4r9dLMt8-JH-yGSyUz%2B1-VJjXUKCJaU7T76K%2BUGg@mail.gmail.com> <867c5uhehl.fsf@ltc.des.dev>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000007ec59d062dffd386 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 12, 2025 at 4:31=E2=80=AFPM Dag-Erling Sm=C3=B8rgrav <des@freeb= sd.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=C3=B8rgrav - 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. --=20 Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --0000000000007ec59d062dffd386 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:tahoma,s= ans-serif;font-size:small">On Wed, Feb 12, 2025 at 4:31=E2=80=AFPM Dag-Erli= ng Sm=C3=B8rgrav <<a href=3D"mailto:des@freebsd.org">des@freebsd.org</a>= > wrote:</div><div class=3D"gmail_quote gmail_quote_container"><blockquo= te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px = solid rgb(204,204,204);padding-left:1ex">Kevin Oberman <<a href=3D"mailt= o:rkoberman@gmail.com" target=3D"_blank">rkoberman@gmail.com</a>> writes= :<br> > Any pkg command gets:<br> > The package management tool is not yet installed on your system.<br> > Do you want to fetch and install it now? [y/N]:<br> > but trying to do so gets:=C2=A0 the most recent version of pkg-2.0.5 i= s already installed<br> <br> sudo pkg bootstrap -f<br> <br> DES<br> -- <br> Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org<br> </blockquote></div><div><br clear=3D"all"></div><div style=3D"font-family:t= ahoma,sans-serif;font-size:small" class=3D"gmail_default">Thanks to all of = you=C2=A0 for suggestions. DES, you hit the jackpot.=C2=A0 Since there is n= o man page for the pkg backup command, I was unaware of the -f option, thou= gh I should have, at least, thought to try .</div><div style=3D"font-family= :tahoma,sans-serif;font-size:small" class=3D"gmail_default">As it turned ou= t, I did not need to restore the the db. Just get pkg reinstalled.</div><di= v style=3D"font-family:tahoma,sans-serif;font-size:small" class=3D"gmail_de= fault"><br></div><div style=3D"font-family:tahoma,sans-serif;font-size:smal= l" class=3D"gmail_default">I am still confused as to the sqlite DB that I k= now I have looked at in the past.=C2=A0 I thought that it was in /var/db/pk= g, but it is not there... just distfiles. I figure that the database has to= be somewhere.</div><br><span class=3D"gmail_signature_prefix">-- </span><b= r><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir= =3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr">Kevin Oberman, Part ti= me kid herder and retired Network Engineer<br>E-mail: <a href=3D"mailto:rko= berman@gmail.com" target=3D"_blank">rkoberman@gmail.com</a><br></div><div>P= GP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683</div></div></div><= /div></div></div></div></div></div> --0000000000007ec59d062dffd386--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1sMKOQEyugSDtuzS2nxOwqCjU31TBLVA2=qLJnPmcrY-w>