From nobody Wed Oct 18 05:10:47 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S9Jpj4PyPz4xWWL for ; Wed, 18 Oct 2023 05:11:09 +0000 (UTC) (envelope-from 4250.82.1d5050004b27e88.ab862336b47681e60199463023347c1e@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4S9Jpj2Xl7z3GM9 for ; Wed, 18 Oct 2023 05:11:09 +0000 (UTC) (envelope-from 4250.82.1d5050004b27e88.ab862336b47681e60199463023347c1e@email-od.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1697605869; x=1700197869; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info:subject:to:from:cc:reply-to; bh=9FujOnF3f9Qr/1NukMZyufd7xh6EcnqJB2jYAFNeMn4=; b=laVBmj++1gaUZmk5GGnji1Ph3C0b3m1J9/OxcW9ZdW2+dBNjkXQTLD+nJ0AeYXn5ZSA9UmLMNWx2E6+ToPXGQxTRkR3w/g9XoE/suDoBCgpbfJ5bnKs8RWh5CRM0YwHQItVqNtheQQgebYZpIOpqGPFWm14RB8TRTwGP6HgHs1A= X-Thread-Info: NDI1MC4xMi4xZDUwNTAwMDRiMjdlODgucXVlc3Rpb25zPWZyZWVic2Qub3Jn Received: from r2.h.in.socketlabs.com (r2.h.in.socketlabs.com [142.0.180.12]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 18 Oct 2023 01:10:56 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r2.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 18 Oct 2023 01:10:49 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1qsypU-0004Dm-Fs; Wed, 18 Oct 2023 06:10:48 +0100 Date: Wed, 18 Oct 2023 06:10:47 +0100 From: Steve O'Hara-Smith To: "Edward Sanford Sutton, III" Cc: questions@freebsd.org Subject: Re: How to reinstall *ALL* pkgs Message-Id: <20231018061047.d3a3111c4104ac9bc666999d@sohara.org> In-Reply-To: References: <39b235c6-a8f1-4383-b491-24b32eed2b7d@app.fastmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) X-Clacks-Overhead: "GNU Terry Pratchett" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US] X-Rspamd-Queue-Id: 4S9Jpj2Xl7z3GM9 On Tue, 17 Oct 2023 16:11:46 -0700 "Edward Sanford Sutton, III" wrote: > `pkg query -e '%a = 0' %o` is the more complete "I installed this" I usually use pkg leaf which expands to pkg query -e '%#r == 0' '%n-%v' -- Steve O'Hara-Smith