Solved pkg command and -f flag

I was trying to figure out how to get detailed info on an uninstalled package and pkg(8) was no help. The pkgng wiki page says pkg search provides the "same kind of output as in pkg info" but that's not what I was seeing. However the wiki example on pkg info uses the -f flag: pkg info -f zsh. I don't see any difference in the output of pkg info <installed package> with or without -f, but with pkg search <uninstalled package> it provides the detailed info I was looking for.

The issue is that pkg(8) only makes reference to the -f in relation to pkg bootstrap. So the question is, is that a documentation bug or is -f something with broader signifigance, or something users are expected to know, etc? Thanks.
 
  • Thanks
Reactions: sdf
For the plain pkg(8) command there is no -f flag, it is present only for the various subcommands that need it. It usually means do the operation by force regardless of the consquences, for example pkg remove -f <pkgname> removes a package even if there are other packages depending on it.
 
Back
Top