From nobody Wed Mar 23 00:49:19 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 A48C61A2904A for ; Wed, 23 Mar 2022 00:49:34 +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 4KNV9m5RGhz4Sm5 for ; Wed, 23 Mar 2022 00:49:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647996565; bh=WKhFF/jm0oWGjTHucUZyzsiHDHvfj4M+YcdiPex+OCc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=Cn8gaO0Lz62yq9oAdM9Q+WDC0FXeBSh2Mfd04H4b+yEjJg82pFzz+Q+l7OXfUGGjrsqweQ+nZIui47N97vOjme6vsVtVudLq5ypHduQICMxw6EqJmVvpmJHRye0bOr3hPuJLd/wCvZzYpkdwpiQaqEFfKkdtZTOEZNt9SbqDdhoeqnqpQTkOiNkLhXv3vm+ELGv8P3zx0FXm+vSJjiCXjb6sTG7HTUVDxY3wOjhkMINaF6gKauMoDTIL+1gcTWIhDpt0UL+OqhurDQku1r0bxqv8ai0i7wE4qfc0Y++0nZK0UJe545Y5LmhztzrxDvaYR7WmXKdkGK7MV3J9+VpdBA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647996565; bh=M445I62KTOb+/QNBo3HfTCjSgjeY5thg4qmHc/fqBGJ=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=SqMk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QXEmWPZ7nwF6DoD23pI vlRKdW2uARddEE3w4gRrtAmFg2h6.cRrWPyLgq93pkhqJU.VVGL1UORQzQzqpa2ropIHhmFYbb2m 9ZFJS4cJBKQLN.Zu3hGYt4WGTWguwmD4pcYsAWTu2xmPuNfVeTEGQv3EH4UgWJH94r0MLOQcBPEv Z5sMczHrTpjqkVGgNI62rpU8bUc8xYjpdf.D.EhiMD61e..LTyZyQK63wK9doh_3izrnALjngowS _Wk9I51Zo1rq528S1ryDwILBV9.ulJJIzdNF5EtaRgTWWUkxACLp2_29_BA_9_XyfhEieFQ_M8hm YdJchXoBISdfL61Qvlz3iS.5DUBI2.jY2ty_wuPvIhAqLV3kF9PYZs8EtxNSvvQxUhEs8I7JjmQS y7Ju67uxWfvToH6BNfCNtX5xeZgl9XOs4LzzMxGY28dDfBkxmH0Th9ADRajvr.PqSYowoMg5CQZz 2SR_XfnjiFlJPVZsvg7mkTDMakglUlEJ1SsAc3KW_jFAWXC0JEACm___Z0l9sJLhVB5jCoj37rDJ XcwEayD8ZZzbPWPBry5k- 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:49:25 +0000 Received: by kubenode511.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 70d5f7c2f2b4dc5ae7b1220bac7e7d7d; Wed, 23 Mar 2022 00:49:21 +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:49:19 -0700 Cc: "bapt@freebsd.org" , freebsd-ports@freebsd.org, FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: 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: 4KNV9m5RGhz4Sm5 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=Cn8gaO0L; 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)[-0.998]; 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 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. FYI: /usr/local/etc/pkg/repos/FreeBSD.conf has: "enabled: no" (so the rest = does not matter) /usr/local/etc/pkg/repos/custom.conf has: custom: { url: = "file:///usr/local/poudriere/data/packages/13_0R-amd64-default", enabled: yes, } So: not a truly "remote repository" context. These are examples but the other pairs of *.conf files are similar for the various contexts. I've not tried a special, separate chroot area for experimenting with this. > Maybe point it to non-existent or clean directory instead: >=20 > env PKG_DBDIR=3D/nonexistent pkg install -yU ... >=20 Trying this sort of thing in my normal context . . . # 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 (And that was it.) But with the 2 lines removed: # 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): 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 Number of packages to be installed: 324 The process will require 13 GiB more space. Proceed with this action? [y/N]:=20 But the only thing needing installation (that was available) was devel/llvm14 . The rest was already installed and up to date. So this is not a match to what I made a feature request/suggestion for. =3D=3D=3D Mark Millard marklmi at yahoo.com