pkg upgrade -f
reinstalls everything.
pkg info -oa | awk -F ' ' '{ print $2 }' >>./PKG-LIST
pkg prime-list
should be enough. You probably don't want to force installation of dependency packages as they wouldn't be removed with pkg-autoremove(8) when you decide to remove a primary package.Creative command but it can be done easier:pkg info -oa | awk -F ' ' '{ print $2 }' >>./PKG-LIST
pkg info -qoa > PKG-LIST
.Creative command but it can be done easier:pkg info -qoa > PKG-LIST
.
Lots of useful info here. Just wondering where people come up with this...
pkg() does not mentionpkg prime-list
orpkg leaf
and I can't see any mention of parameters available topkg info
% pkg alias prime-list
prime-list 'query -e '%a = 0' '%n''
% pkg alias leaf
leaf 'query -e '%#r == 0' '%n-%v''