Date: Sun, 17 Sep 2017 11:33:27 -0700 From: Mel Pilgrim <list_freebsd@bluerosetech.com> To: freebsd-pkg@freebsd.org Subject: Get list of packages installed from a given repo Message-ID: <369a094a-f6c6-9829-0fba-eb34c5ea9579@bluerosetech.com>
next in thread | raw e-mail | index | archive | help
I maintain local repos on top of the public pkg repo, and I want to check which pkgs were installed from which repos. I know pkg knows this information (the %R query keyword), but this doesn't work: # pkg query -e '%R !~ FreeBSD' %o malformed evaluation string # pkg query -e '%R ~ local' %o malformed evaluation string How do I query for a list of installed pkgs based on an evaluation of the repo name?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?369a094a-f6c6-9829-0fba-eb34c5ea9579>