Bug 255071 - ports-mgmt/pkg: search -Q required-by isn't working from what I can tell
Summary: ports-mgmt/pkg: search -Q required-by isn't working from what I can tell
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-14 23:10 UTC by Henrik Hudson
Modified: 2021-04-15 16:13 UTC (History)
2 users (show)

See Also:
linimon: maintainer-feedback? (pkg)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Hudson 2021-04-14 23:10:02 UTC
I'm trying to figure out why my poudriere build keeps building python27 and isn't removing it. I figured I could do:
   pkg search -Q required-by python27

It just returns python27 as such:
python27-2.7.18_1
Comment        : Interpreted object-oriented programming language



As an example of depends / required-by that I think should return something:
   pkg search -d py37-pip

returns:
py37-pip-20.2.3
Comment        : Tool for installing and managing Python packages
Depends on     :
  python37-3.7.10
  py37-setuptools-44.0.0



then doing:  pkg search -Q required-by python37

just returns:
python37-3.7.10
Comment        : Interpreted object-oriented programming language


Shouldn't this be returning at least py37-pip-20.2.3 ???