pkg autoremove option to just list?

Gary Aitken ah at dreamchaser.org
Mon Sep 22 19:23:41 UTC 2014


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.


More information about the freebsd-questions mailing list