Date: Wed, 18 Mar 2020 09:20:46 -0700 From: Chris <portmaster@BSDforge.com> To: <freebsd-ports@freebsd.org> Subject: Re: pkg: how to retrieve the messages ports emit after install? Message-ID: <e0560a827ffda734ecf2f1fc743b4be0@udns.ultimatedns.net> In-Reply-To: <20200318142005.51849d19@raksha.tavi.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Mar 2020 14:20:05 +0000 Bob Eager rde@tavi=2Eco=2Euk said > On Wed, 18 Mar 2020 07:18:40 -0700 > Chris <portmaster@BSDforge=2Ecom> wrote: >=20 > > > > OK I'm a by ports make install as a rule=2E But I needed to > > > > spin up a box quickly, and decided to use pkg(8)=2E xorg, > > > > and another port (package) I installed, dumped some > > > > important information after the install=2E I stripped the > > > > text from the console/terminal, and tried to paste it into > > > > a fresh file=2E But the new graphics drivers don't allow > > > > that sort of thing (graphics vs text mode)=2E So I was left > > > > with mostly gibberish=2E I need to get that information back=2E > > > > I just guessed that pkg message <port-name> might do it=2E > > > > But no joy=2E How can I retrieve that information? =20 > > >=20 > > > Simple! > > >=20 > > > pkg info -D pkgname > > >=20 > > > (or pkg info --pkg-message pkgname) =20 > > --pkg-message, argh=2E=2E=2E I was *so* close! > > Thanks, Bob=2E Really appreciated! > > and for the record=2E I *did* read the man page=2E But as others > > were also inclined to suggest; I thought the output would be > > related to *query* >=20 > As it happens, I had the same problem a few days ago and eventually got > round to a rather persistent search for the information! I appreciate your persistence! I was going mad trying to figure it out=2E IMHO this should be added to the pkg(8) man page=2E Maybe the EXAMPLES sectio= n? Thanks again, Bob! --Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e0560a827ffda734ecf2f1fc743b4be0>