Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2021 00:50:44 -1000
From:      "parv/freebsd" <parv.0zero9+freebsd@gmail.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   pkg- searching by (partial) origin|category for installed packages/ports
Message-ID:  <CABObuOoXJ6w6F5=UNBbku23W=kBods4qs1w2ptjrMOV8qVO3FQ@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi there,

How does one search for a installed port or package by (partial)
origin/category? Failed attempts ...

  % pkg query %o x11-wm

  % pkg query %C x11-wm

  % pkg query %C x11-wm %o

  % pkg query --evaluate '%o ~ "x11-wm" %o

  % pkg query --evaluate '%C ~ x11-wm' %o
  malformed evaluation string

  % pkg query --evaluate '%C = x11-wm' %o
  malformed evaluation string

... what am I missing?

- parv


Yes, I can go round that in brute force way ...

  % pkg info --all --origin | fgrep x11-wm



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CABObuOoXJ6w6F5=UNBbku23W=kBods4qs1w2ptjrMOV8qVO3FQ>