2

I am looking to make a list of packages which have dependancy on Python. How to search for it ?

Another two would be that the dependency would be in recommends (1) or suggests (2) . But when Python is in suggests then show suggests only, or if Python is in recommends then show only those packages which have Python in recommends.

Braiam
  • 35,991
shirish
  • 12,356
  • There is a slight difference, your question doesn't take into account those packages which are installed while mine does. I actually wanted to do it with python2 or python3 as the case maybe but that would have made it a more complex scenario. – shirish Sep 25 '16 at 19:05
  • The hard part is already done in the question, you just need to use ~i which would search only for installed packages. – Braiam Sep 25 '16 at 19:07
  • That worked - I tried [$] aptitude search '?depends("python-gtk2") ~i' and that worked. – shirish Sep 25 '16 at 19:51

0 Answers0