From owner-freebsd-ports@freebsd.org Wed Mar 18 16:20:27 2020 Return-Path: Delivered-To: freebsd-ports@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 BE30F26510C for ; Wed, 18 Mar 2020 16:20:27 +0000 (UTC) (envelope-from portmaster@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48jFd70V5Tz4Tp5 for ; Wed, 18 Mar 2020 16:20:26 +0000 (UTC) (envelope-from portmaster@BSDforge.com) Received: from udns.ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by udns.ultimatedns.net (8.15.2/8.15.2) with ESMTPS id 02IGKea0059730 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 18 Mar 2020 09:20:46 -0700 (PDT) (envelope-from portmaster@BSDforge.com) X-Mailer: Cypht MIME-Version: 1.0 In-Reply-To: <20200318142005.51849d19@raksha.tavi.co.uk> From: Chris Reply-To: portmaster@BSDforge.com To: Subject: Re: pkg: how to retrieve the messages ports emit after install? Date: Wed, 18 Mar 2020 09:20:46 -0700 Message-Id: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48jFd70V5Tz4Tp5 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [1.97 / 15.00]; NEURAL_SPAM_LONG(1.00)[0.999,0]; NEURAL_SPAM_MEDIUM(0.97)[0.973,0]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2020 16:20:27 -0000 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 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 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