Date: Wed, 27 Jan 2021 21:03:03 +0000 From: Steve O'Hara-Smith <steve@sohara.org> To: freebsd-questions@freebsd.org Subject: Re: generate top-level pkg install list? Message-ID: <20210127210303.7c906ac962560d33c3e77a4c@sohara.org> In-Reply-To: <23d9f371-b023-6647-4a63-b9e4a9e6ca61@dreamchaser.org> References: <23d9f371-b023-6647-4a63-b9e4a9e6ca61@dreamchaser.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 27 Jan 2021 13:49:55 -0700 Gary Aitken <freebsd@dreamchaser.org> 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. If you have the aliases in /usr/local/etc/pkg.conf then: pkg leaf otherwise either fix that or: pkg query -e '%#r == 0' '%n-%v' -- Steve O'Hara-Smith <steve@sohara.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210127210303.7c906ac962560d33c3e77a4c>