pkg check options

I want to have my script check that all package dependencies are there.
pkg check manpage says there is an option pkg check -n, so I can have this checked without actually making any changes.

However, when I try to run that, it looks like as if that option does not exist. See:

Code:
# pkg check -n firefox
Usage: pkg check -B|-d|-s|-r [-qvy] -a
pkg check -B|-d|-s|-r [-qvy] [-Cgix] <pattern>

For more information see 'pkg help check'.
#

What am I doing wrong?
 
Ah cool thanks, now I got it ?

So pkg check -dnaq can be used to check all installed stuff for complete dependencies.
And checksums can be checked using pkg check -saq.
With output looking like
Code:
# pkg check -saq
mate-control-center-1.26.0_4: checksum mismatch for /usr/local/share/applications/mimeinfo.cache
#
which can be processed nicely. :)
 
Back
Top