From owner-freebsd-questions@freebsd.org Thu Jan 28 07:47:10 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A297B4FB6BF for ; Thu, 28 Jan 2021 07:47:10 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DRCH14DPtz4knc for ; Thu, 28 Jan 2021 07:47:09 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi1-x230.google.com with SMTP id h6so5119409oie.5 for ; Wed, 27 Jan 2021 23:47:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wiSZBU9lsbvPuoy7i7IMw9AXcMZKwNincd0Jm2BhXUE=; b=fBDLCxXSYdQd9sGbUCJf3/DjaXTZ5cAoLQl8HOIhWNsLFiwOYJcxUvtRVrbTHj5Xey I2pwubPJ2aOpeyAzC3swjXQDo+OD+T/CuPQbMmthH4bSrZGPbnABGYJ7+Z0SAQ4ET3JQ tpbO8giMUsoUXR8UuaZCK8+JNqcw4hQ878G+1kE0wqAX1k1InvpZVH09l2GuPLnQd21p B5damRQsgG15iAdq6wKk5Ht/vboTL3OQIHsy2S6OzhwmSRkVREo81Aw4bxVflzPJLIhW 2QZpBTwvRtXf426X/1Z0XsmmrFi0EO8o8hFdTR+vUpKBHqbxMQ23Rx+QisvMDbSG3F6f 9lfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wiSZBU9lsbvPuoy7i7IMw9AXcMZKwNincd0Jm2BhXUE=; b=U/ghCrSXJo2H6fbi/KC9dvPYxnJKeB7zmRwzgoWwvPHfX3+RPQ/aMPtCh9zXwAcapw rF1xz5JkX/ZJuPPC32TeMPh7eqnB3l8D3Skrd6XCc4p02oydFvX/bYgwnf3RM9Aq6fYP wsNggSHcc8DJQrr2Lc4ZRfik2E8ExxRy/2w8R44fLEyxM/OzXgMO3BbaACIuLSeqjgd4 n9lKh2l01ITBs/8QCRuakolBDwxaj0SfdNVPG3Yb3X3YM9RJYeKSybXSs27/+lLUrBx1 dT3RE1vDp2g9GjITvneP4RjvJ4d8QWdk067sgr4CVcS0oSpv/YqzveePyoih9K7lu1gT /rMQ== X-Gm-Message-State: AOAM5327TQ2y/0ehSWgpgHS6LrxLwP05Yz7JZAIN2FrKno704i6f1VO4 Zu41C3jAyLqGTp8isbaR+pR2S3lIGPlapzhXqGJQnIpOt47A3A== X-Google-Smtp-Source: ABdhPJzljw+RX80uy0mEPMDLzC9Y5Sgd7N/RHb+nZ0chzMmi+qoCx2oa1ALa1TMwOqvVtNfhNeFIOZ9ULfHhr5qcigk= X-Received: by 2002:aca:5384:: with SMTP id h126mr3962455oib.27.1611820028093; Wed, 27 Jan 2021 23:47:08 -0800 (PST) MIME-Version: 1.0 References: <23d9f371-b023-6647-4a63-b9e4a9e6ca61@dreamchaser.org> <14a2618-5268-fa37-8a21-76dcd0a9bab4@fledge.watson.org> In-Reply-To: From: Kevin Oberman Date: Wed, 27 Jan 2021 23:46:52 -0800 Message-ID: Subject: Re: generate top-level pkg install list? To: freebsd@dreamchaser.org Cc: doug@safeport.com, FreeBSD Mailing List X-Rspamd-Queue-Id: 4DRCH14DPtz4knc X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=fBDLCxXS; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::230 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-0.70 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::230:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::230:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::230:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2021 07:47:10 -0000 On Wed, Jan 27, 2021 at 8:57 PM Gary Aitken wrote: > On 1/27/21 3:43 PM, doug wrote: > > On Wed, 27 Jan 2021, Gary Aitken wrote: > > > >> I'm having trouble figuring out how to generate a top level list of > packages > >> to install. In the past, I've worked off a manual list, but as I've > added a > >> few things over time I'm wondering if it's possible to generate such a > list > >> from the pkg output. > ... > >> Any ideas for how to generate a list of packages installed deliberately > and > >> in sequence? > > > pkg prime-origins. It's in alphabetic order. Date can come from: > > > > pkg info | egrep "Name|Installed" > > Thanks. I had the pkg info part, it was the pkg query part I needed. > I see prime-origins is an alias; it doesn't show up in pkg help unless > you already know about it. > > Gary Seems like a note in pkg-message for the pkg port about the alias file would be a good idea. I just stumbled onto it last week, myself. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683