From nobody Tue Oct 17 04:14:58 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S8gcc5nWCz4x12c for ; Tue, 17 Oct 2023 04:15:12 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S8gcb5ZD8z3cbx for ; Tue, 17 Oct 2023 04:15:11 +0000 (UTC) (envelope-from paulbeard@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b="EdrVFGj/"; spf=pass (mx1.freebsd.org: domain of paulbeard@gmail.com designates 2a00:1450:4864:20::62b as permitted sender) smtp.mailfrom=paulbeard@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-9ada2e6e75fso917732166b.2 for ; Mon, 16 Oct 2023 21:15:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697516110; x=1698120910; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=UbdQhkGBM3LAilI3tkeW5DAG03UtiZqUE6FhLG0DAj8=; b=EdrVFGj/N3sE6J3vWnHn6kYv6DZofMpLN08DpTeXIAJUm7iBD+iS6GyUYZs/6VnbRL PkhTx0Tc8U87qHgRnNgcn0sKLa1t+mXdLzxkpldyjnJsAzyWSUEqo5Di+aJZ56PRjTe7 vXFxZik5k6s5th+P7kO7OkH+vs/HYaPayoF+qzNfP+ECMfH092iJQyCBx6v3wP389M9b AvkxIs/cMBD2ZwKUW2PyCVJ2Y7ShroHD81UulxQLOoVCU4y6UHdT3Pdo2hyoBP6vydZg EAd/kFZg7Kfl7xiVBy/JxD7+aJEM0LqP7jbRSeLhClgWhaagFnbrDxysH+7MLNftV1dj 0eMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697516110; x=1698120910; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UbdQhkGBM3LAilI3tkeW5DAG03UtiZqUE6FhLG0DAj8=; b=kFWiRrwZmRSyXAs+t6Ic4Kom8YCwYApzZjkcdBgLP2QX1jkbB+V25vuoiTBPUSKOl3 r1WeRfzX+SrQPq58y2jTOAaAm0AYhnv+j+6vVhFIyrcmWKpyaSiyD2iFIMgRHkI2z9ps ZjR0h5KpYwaTb15oZTDCL2bkhPOwtNL7ubVX8swZkkzv2Vu6/HKmlRYg+3rWwhXfjvLs UbV6iLCj8GYINSSjd0y0QbXCtwlBVFrjCWS18htmmq1hocidRZXtr19dkt0RlpnEKs53 2EosKleHkaTd7cDLB/EDp2uITp2MzvgbiXyqcWRGmcykLAtxJEkKWZ3MsQ1c3iXB9xu8 ertA== X-Gm-Message-State: AOJu0YxZz55czeobE/XTFEIEI2qlWTF5t4WXTi7NT/VngMGx7wbIycXR KOAVft+CHAih5WIU0FjCE7dtpDhsVvdxRvDnLRwak1cqqxU= X-Google-Smtp-Source: AGHT+IFrX+jYyGSJq1SKdU7e0s9Wr9YQAXXztAaSrxgYNqeXAmhP80d2OgFGJG2rzjtSVwWx2UBgoM4s6CS55bW7LJA= X-Received: by 2002:a17:907:1c98:b0:9b2:d78c:afe9 with SMTP id nb24-20020a1709071c9800b009b2d78cafe9mr903595ejc.49.1697516109808; Mon, 16 Oct 2023 21:15:09 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: paul beard Date: Mon, 16 Oct 2023 21:14:58 -0700 Message-ID: Subject: Re: How to reinstall *ALL* pkgs To: Aryeh Friedman Cc: FreeBSD Mailing List Content-Type: multipart/alternative; boundary="000000000000b9c77f0607e1c435" X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TAGGED_RCPT(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62b:from]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org] X-Rspamd-Queue-Id: 4S8gcb5ZD8z3cbx --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 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
I have done something like this=E2=80=A6
ls /var/db/pk= g/ | sed -r 's/(.*)-[0-9]/\1\ /g' | cut -f1 -d" " =C2=A0<= br>

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= ).=C2=A0

I know pkg has all kind of flags and synt= ax but I can never keep track of it all.=C2=A0

On Mon, Oct 16, 2023 at= 8:53=E2=80=AFPM Aryeh Friedman <aryeh.friedman@gmail.com> wrote:
I tr= ied 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: Killed=

How do I proceed from here?

--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org



--
Pa= ul Beard / www.paul= beard.org/
--000000000000b9c77f0607e1c435--