Re: pkg equivalent of "pkg_info -R"

看板FB_questions作者時間11年前 (2014/03/07 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/11 (看更多)
On Thu, 06 Mar 2014 13:31:56 +0100 Andrea Venturoli <ml@netfence.it> wrote: > Hello. > > This question was asked before, but I could find no answer... > > I used to get a list of installed ports depending on a port with > "pkg_info -R xxx". > > Now I'm trying pkgng out and, amongst other difficulties (sorry, but I > think documentation about pkgng is still not sufficient), I can't seem > to find an equivalent command. I'm finally getting used to using "man pkg-query" to access the man pages even though the command is "pkg query ...". An alternative method is the "pkg help query". > I know "pkg info -r xxx", but this will just list ports which *directly* > depend on xxx. I could find no way to get indirect dependents too. > > Is there something I'm missing? Any additional utility I can install? I think what you're looking for is "pkg query %ro xxx". Look under Multiline Patterns in man pkg-query. Note that it only lists run dependencies since build dependencies are irrelevant with packages. HTH, Randy _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1J6Gm--u (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1J6Gm--u (FB_questions)