Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2023 21:14:58 -0700
From:      paul beard <paulbeard@gmail.com>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: How to reinstall *ALL* pkgs
Message-ID:  <CAMtcK2o1Hxx7DxP-4fqWdw3MQrFq5A7W-MO4mcL3PR0ES6qQXg@mail.gmail.com>
In-Reply-To: <CAGBxaX=utxjVf7w-2=iSrhoDvy%2BrC1PCVPY8RSWu8CzXOf70ng@mail.gmail.com>
References:  <CAGBxaX=utxjVf7w-2=iSrhoDvy%2BrC1PCVPY8RSWu8CzXOf70ng@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000b9c77f0607e1c435
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I have done something like this=E2=80=A6
ls /var/db/pkg/ | sed -r 's/(.*)-[0-9]/\1\ /g' | cut -f1 -d" "

and pass that to pkg or to a file to clean it up (the sqlite databases are
in there and don't need installing via pkg).

I know pkg has all kind of flags and syntax but I can never keep track of
it all.

On Mon, Oct 16, 2023 at 8:53=E2=80=AFPM Aryeh Friedman <aryeh.friedman@gmai=
l.com>
wrote:

> I tried pkg upgrade -f and got the following:
>
> root@neomarx:~ # pkg upgrade -f
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up to date.
> All repositories are up to date.
> Checking for upgrades (1475 candidates): 100%
> Processing candidates (1475 candidates): 100%
> Checking integrity...Child process pid=3D1821 terminated abnormally: Kill=
ed
>
> How do I proceed from here?
>
> --
> Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
>
>

--=20
Paul Beard / www.paulbeard.org/

--000000000000b9c77f0607e1c435
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I have done something like this=E2=80=A6<div>ls /var/db/pk=
g/ | sed -r &#39;s/(.*)-[0-9]/\1\ /g&#39; | cut -f1 -d&quot; &quot; =C2=A0<=
br></div><div><br></div><div>and pass that to pkg or to a file to clean it =
up (the sqlite databases are in there and don&#39;t need installing via pkg=
).=C2=A0</div><div><br></div><div>I know pkg has all kind of flags and synt=
ax but I can never keep track of it all.=C2=A0</div></div><br><div class=3D=
"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Oct 16, 2023 at=
 8:53=E2=80=AFPM Aryeh Friedman &lt;<a href=3D"mailto:aryeh.friedman@gmail.=
com">aryeh.friedman@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border=
-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">I tr=
ied pkg upgrade -f and got the following:<br>
<br>
root@neomarx:~ # pkg upgrade -f<br>
Updating FreeBSD repository catalogue...<br>
FreeBSD repository is up to date.<br>
All repositories are up to date.<br>
Checking for upgrades (1475 candidates): 100%<br>
Processing candidates (1475 candidates): 100%<br>
Checking integrity...Child process pid=3D1821 terminated abnormally: Killed=
<br>
<br>
How do I proceed from here?<br>
<br>
-- <br>
Aryeh M. Friedman, Lead Developer, <a href=3D"http://www.PetiteCloud.org" r=
el=3D"noreferrer" target=3D"_blank">http://www.PetiteCloud.org</a><br>;
<br>
</blockquote></div><br clear=3D"all"><div><br></div><span class=3D"gmail_si=
gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Pa=
ul Beard / <a href=3D"http://www.paulbeard.org/" target=3D"_blank">www.paul=
beard.org/</a><br></div>

--000000000000b9c77f0607e1c435--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMtcK2o1Hxx7DxP-4fqWdw3MQrFq5A7W-MO4mcL3PR0ES6qQXg>