From owner-freebsd-questions@FreeBSD.ORG Mon Sep 22 19:23:41 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4D53BFEC for ; Mon, 22 Sep 2014 19:23:41 +0000 (UTC) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D0DBAD7 for ; Mon, 22 Sep 2014 19:23:39 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id s8MJMXsF016479; Mon, 22 Sep 2014 13:22:33 -0600 (MDT) (envelope-from ah@dreamchaser.org) Message-ID: <542076F9.2030501@dreamchaser.org> Date: Mon, 22 Sep 2014 13:22:33 -0600 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: =?windows-1252?Q?Trond_Endrest=F8l?= , FreeBSD Mailing List Subject: Re: pkg autoremove option to just list? References: <54206A78.6070609@dreamchaser.org> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Mon, 22 Sep 2014 13:22:34 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 19:23:41 -0000 On 09/22/14 12:48, Trond Endrestøl wrote: > On Mon, 22 Sep 2014 12:29-0600, Gary Aitken wrote: > >> Thought this would be easy but couldn't find what I needed. >> >> Is there a way to do the equivalent of "pkg autoremove" without actually doing >> the remove -- i.e. to get a list of what pkg autoremove would try to do? I >> thought there would be an option for this but didn't see one. > > Try: pkg autoremove -n > > Hint: pkg help autoremove or man pkg-autoremove Ah, thanks. Was just going by man pkg and didn't register pkg help.