Re: pkgdb question
- In reply to: Kevin Oberman : "Re: pkgdb question"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Sep 2022 16:38:47 UTC
I managed to get what I wanted by mounting the /var /partition of my damaged disk image and running pkg query %o. I'll put that on the cron as soon as all this rebuilding is done. Finding out the many ways my backup or disaster mitigation strategies have failed has been instructive. On Sat, Sep 3, 2022 at 9:33 AM Kevin Oberman <rkoberman@gmail.com> wrote: > On Sat, Sep 3, 2022 at 9:19 AM Graham Perrin <grahamperrin@freebsd.org> > wrote: > >> On 02/09/2022 23:57, paul beard wrote: >> >> list of ports, preferably w origins, >> >> pkg prime-origins | sort >> > > Or, if you need name and origin, use sqlite3: > sqlite3 local.sqlite "select name, origin from packages" > > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > -- Paul Beard / www.paulbeard.org/