From nobody Fri Dec 31 11:48:32 2021 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 EEEC51927D5F for ; Fri, 31 Dec 2021 11:49:54 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: from mail-ua1-x931.google.com (mail-ua1-x931.google.com [IPv6:2607:f8b0:4864:20::931]) (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 4JQNjZ6BY7z3s3S for ; Fri, 31 Dec 2021 11:49:54 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: by mail-ua1-x931.google.com with SMTP id t18so39256906uaj.1 for ; Fri, 31 Dec 2021 03:49:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zmmDMi/U2wWuXrVF2WqwuKMlL0FVknoRI/3tUkz1FS4=; b=CG6aXUq18emyyRdIeL03uTgFM8pClvAK48npLgSpYmm3jo3/fzoBnxgUNbKjHZeJcW cBzAif/OvyV04/lFkbUGDk42euNTNBQHksTIUtqtcE9akRFEDBgrEkDydKYkvmyoLPO6 PtInk19T/y4Z25/sR5PoJGuFYJurMzPrO5LwZjsjxXWBooACTdwsDx9ewUgn7ONsggW7 /tZ94oPSAPk/Q2+WpzCXBgGQYRYTpwU6pLrw3DINScTMzRKJhVffLSppe9jtwKUZmJoE rB9B/EgiPx9MPXrZZqkt0seaoGTOCNe9x3romUzlGhG0iWfPjDgFD7IECQyTJolPRCnp NBcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zmmDMi/U2wWuXrVF2WqwuKMlL0FVknoRI/3tUkz1FS4=; b=4yWnF+twCmHqYEYKZioKxa2n2NMdiyce2QilouN4Cq86a5UVIaHmgBzeZJRUXlI3qZ zA+q9OZbggcLL0tX2fWyZf1nZSFvG4PmB1w8pW3C0/expvbNho+t5XyPJN++7uYFnq2t 8LLxp9x0mHuuT+fiCvPTOycbjDZhIg6Ak4higFCysGbd3oi53e0fSY5GutZlSwK73z6Q vqZtPWAObRU6a86NJ44V10OJIcRAGpT4JW8fZyW4DDiNrjmDvpSQyFjGMMOrSfi2Jgdv SnK/4PVMKp8cP/M+DvwrXB16NhK8g7DD+hotvjA+UrjDkvRMkpzkh5/q96DDJDQA1e+/ 5+lw== X-Gm-Message-State: AOAM5320DDKALcQoLONk4ImWs7b6eIVMHg05wOEKenqemiSeMUTMIVGG 36jCz8GB3r75j4Aybq3ZYM0CS4TAPGQOWY9QggtKJmQ2akDZAA== X-Google-Smtp-Source: ABdhPJzgdGO8+/KEwxU4mvD1hv0CfFyc+iQ4Az1SCFhvMYdHETo6ocGGExHYZhu4AbsBKr+Me2tk+xjce1tjonKqc/M= X-Received: by 2002:a05:6102:50a0:: with SMTP id bl32mr9922924vsb.72.1640951394428; Fri, 31 Dec 2021 03:49:54 -0800 (PST) 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: <37428.1640942944@segfault.tristatelogic.com> In-Reply-To: <37428.1640942944@segfault.tristatelogic.com> From: "parv/freebsd" Date: Fri, 31 Dec 2021 01:48:32 -1000 Message-ID: Subject: Re: Package naming conventions (?) To: "Ronald F. Guilmette" Cc: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000f56a8d05d46fc4be" X-Rspamd-Queue-Id: 4JQNjZ6BY7z3s3S X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[freebsd] X-ThisMailContainsUnwantedMimeParts: N --000000000000f56a8d05d46fc4be Content-Type: text/plain; charset="UTF-8" On Thu, Dec 30, 2021 at 11:30 PM Ronald F. Guilmette wrote: > In message hgLTTqm-Pw9PMWrS__5uLohY4JWwJvq9O-G1fJA@mail.gmail.com> > "parv/freebsd" wrote: > ... > >> (I am not aware of any easier way to generate such a list of the base > names > >> of all currently installed packages. If I have just missed how to do > that > >> more easily, please let me know.) > > > > > >Check out "raw" output via '--raw' option of pkg-info(8); note the "name" > >field. There may be some incantation for pkg-query(8) to obtain the > >information > >more directly. > > Ummm... Invalid option. > > # pkg info --raw > Usage: pkg info > pkg info -a > pkg info [-AbBDdefIklOqRrs] [-Cgix] > pkg info [-AbBDdfIlqRrs] -F > > For more information see 'pkg help info'. > "--raw" option is listed in the manual page of pkg-info(8); requires a package name. - parv -- --000000000000f56a8d05d46fc4be Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Dec 30, 2021 at 11:30 PM Ronald F. Guilmette wr= ote:
In message <CABObuOpcsG=3DhgLTTqm= -Pw9PMWrS__5uLohY4JWwJvq9O-G1fJA@mail.gmail.com>
"parv/freebsd" <parv.0zero9+freebsd@gmail.com> wrote:
... >> (I am not aware of any easier way to generate such a list of the b= ase names
>> of all currently installed packages.=C2=A0 If I have just missed h= ow to do that
>> more easily, please let me know.)
>
>
>Check out "raw" output via '--raw' option of pkg-info= (8); note the "name"
>field. There may be some incantation for pkg-query(8) to obtain the
>information
>more directly.

Ummm... Invalid option.

# pkg info --raw
Usage: pkg info <pkg-name>
=C2=A0 =C2=A0 =C2=A0 =C2=A0pkg info -a
=C2=A0 =C2=A0 =C2=A0 =C2=A0pkg info [-AbBDdefIklOqRrs] [-Cgix] <pkg-name= >
=C2=A0 =C2=A0 =C2=A0 =C2=A0pkg info [-AbBDdfIlqRrs] -F <pkg-file>

For more information see 'pkg help info'.

"--raw" option is listed in the manual page of pkg-= info(8); requires
a package name.


- parv

--

--000000000000f56a8d05d46fc4be--