From nobody Wed Mar 23 00:54:10 2022 X-Original-To: freebsd-toolchain@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 3A0161A2AD0E for ; Wed, 23 Mar 2022 00:54:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-20.consmr.mail.gq1.yahoo.com (sonic314-20.consmr.mail.gq1.yahoo.com [98.137.69.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KNVHD19NKz4TsN for ; Wed, 23 Mar 2022 00:54:16 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647996855; bh=usoxDMfJof8Y4CsZ86+gBwyFUKy1JKApXGLuVXsHd+w=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=UYFWfU24z5mdzom0qQ5Kv3x/5OL8ONtuIXFRUHpOM9GvvFyLY967e9YTOyRfZR9t7EXwBdoncwC0u4iYke1QYiQF4DQxK9JQfsRxrlQFFydcwgpMIbDLu1TjuPy5nQTfJ19MbtXqpmAeI2WIDze+QyJUTpb2A+XvzJd6Crv5dQd1coREruYEvA3RNGOe+WcXbOQuvF1cdBk2T+o9slGCNtI7OoORcoNYlQoZ/Os0Th3xxcv57LT2IkbdtNaeEoPH49z4Hv/G47hi9zAFlbP4P41iv7G4hixw8u5ORe09qjkUDmkonnOUgPsPLXOOICr6QyvSnzkyX5m+yyG8nLaFBw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647996855; bh=Do1Cly+VuB/+8XH9hwKO/G9ReRsMvWWyDsc+XFLaRQV=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=JhzSvH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cySjeLmJHhdELehJxyMG.UWg8qJ VClz7xxEMoXfIe4FegF958rcvveWZU70Vby3H8tINzvYvDz5lbMlZ0MwGS9Ra_CljM_S_KJCO3wg snZjFiEame8EIApK6nxS_bYtJ3.z2lx7ynCnsZe8NsIkvPP1YD1BSrP9kZQW8i0duw4hmBCCDJUi aFym2oRyGa6vlGZMSlILc.WCtpsJh_bNXTo6xzDrB4EYP8JSia5kTKpbcNWxRfQGFzap.50t0cbE pn2_skEY7KDOplFAXuyVvGFyimFkCrO7kUtdxtdGyYakH0TrTIti.4f1aD6o9G8R9lBk1MfIN45m l4vegR4pudaf28lr_1iBvgs5oVILg3hoODno5EAcK.XgSLYWf3l0tUQBEaEhNILf1LOqixy_Kicb MYPH9ExgPcizDflbx0xnp2XlXvFq4nbQ4d.Wos046Jlj87.GqKVvy239zXpEvRpI7oMI5r_q0L2j Fy5M7x7Ztqkf822ngs9.suGmHEuV5XqC1QoIJ4V9ag13TsnwduMwgwd0nOk2_o6DI3wPt50fsJZW E1c2d8y4b_iPN3qE- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Wed, 23 Mar 2022 00:54:15 +0000 Received: by kubenode531.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID b11800c37e7561da0a776f0654064f2d; Wed, 23 Mar 2022 00:54:11 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: An idea for a pkg option From: Mark Millard In-Reply-To: Date: Tue, 22 Mar 2022 17:54:10 -0700 Cc: "bapt@freebsd.org" , freebsd-ports@freebsd.org, FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: <3D451B21-9C38-4D90-850A-E40FEA28FC82@yahoo.com> References: <84C8C319-4060-47C2-B3DB-0026478BF1A9.ref@yahoo.com> <84C8C319-4060-47C2-B3DB-0026478BF1A9@yahoo.com> <446ab042-e146-60c3-d766-a26742cb1d40@grosbein.net> To: Eugene Grosbein X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4KNVHD19NKz4TsN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=UYFWfU24; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.83 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.83:from]; MLMMJ_DEST(0.00)[freebsd-toolchain]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.83:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 2022-Mar-22, at 17:49, Mark Millard wrote: > On 2022-Mar-22, at 04:44, Eugene Grosbein wrote: >>=20 >> 22.03.2022 16:56, Mark Millard wrote: >>=20 >>> For my explicit list of what to try to install >>> (in the file) your command does not work for >>> my purpose/goal: >>>=20 >>> # pkg install -yU `cat ~/origins/amd64-pkgs.txt` >>> pkg: No packages available to install matching 'rpi4-edk2' have been = found in the repositories >>> pkg: No packages available to install matching 'rpi4-edk2' have been = found in the repositories >>=20 >> Does it work if you do that in the "clean room", f.e. in a chrooted = directory >> that never had any remote repository data cached? It works for me in = such case. >=20 > FYI: >=20 > /usr/local/etc/pkg/repos/FreeBSD.conf has: "enabled: no" (so the rest = does not matter) >=20 > /usr/local/etc/pkg/repos/custom.conf has: >=20 > custom: { > url: = "file:///usr/local/poudriere/data/packages/13_0R-amd64-default", > enabled: yes, > } >=20 > So: not a truly "remote repository" context. These are examples > but the other pairs of *.conf files are similar for the various > contexts. >=20 > I've not tried a special, separate chroot area for experimenting > with this. >=20 >> Maybe point it to non-existent or clean directory instead: >>=20 >> env PKG_DBDIR=3D/nonexistent pkg install -yU ... >>=20 >=20 > Trying this sort of thing in my normal context . . . >=20 > # env PKG_DBDIR=3D/nonexistent pkg install `cat = ~/origins/amd64-pkgs.txt` > Updating custom repository catalogue... > Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 =20 > Fetching packagesite.pkg: 100% 146 KiB 149.0kB/s 00:01 =20 > Processing entries: 100% > custom repository update completed. 552 packages processed. > All repositories are up to date. > pkg: No packages available to install matching 'rpi3-edk2' have been = found in the repositories > pkg: No packages available to install matching 'rpi4-edk2' have been = found in the repositories >=20 > (And that was it.) >=20 > But with the 2 lines removed: >=20 > # env PKG_DBDIR=3D/nonexistent pkg install `cat = ~/origins/amd64-pkgs.txt` > Updating custom repository catalogue... > custom repository is up to date. > All repositories are up to date. > Checking integrity... done (0 conflicting) > The following 324 package(s) will be affected (of 0 checked): >=20 > New packages to be INSTALLED: > Imath: 3.1.4 > aarch64-binutils: 2.37_2,1 > aarch64-gcc6: 6.5.0_3 > aarch64-gcc9: 9.3.0_1 > acpica-tools: 20210930 > alsa-lib: 1.2.2_1 > amd64-binutils: 2.37_2,1 > amd64-gcc6: 6.5.0_3 > . . . > llvm14: 14.0.0.r4 > . . . > xxhash: 0.8.1 > zip: 3.0_1 > zpool-iostat-viz: 3_1 > zstd: 1.5.2 > ztop: 0.2.0 >=20 > Number of packages to be installed: 324 >=20 > The process will require 13 GiB more space. >=20 > Proceed with this action? [y/N]:=20 I probably should have noted: # wc ~/origins/amd64-pkgs.txt 61 61 1097 /usr/home/root/origins/amd64-pkgs.txt so the vast majority of the above is via dependencies, not the 61 things I explicitly listed in: ~/origins/amd64-pkgs.txt > But the only thing needing installation (that was available) > was devel/llvm14 . The rest was already installed and up to > date. >=20 > So this is not a match to what I made a feature request/suggestion > for. =3D=3D=3D Mark Millard marklmi at yahoo.com