On 20/10/2019 14:25, Drew Parsons wrote:
http://sandrotosi.me/debian/py2removal/index.html, where src:libgpuarray shows with no dependencies,

The 0 there is in the forward Depends column, not reverse depends (maybe the column order should be changed, given that the reverse depends column is the one that matters more)...

apt-rdepends -r python-pygpu
...and that only checks hard Depends.

Possible alternative (where $m is the module name) - note that this outputs 1 line (the source package itself) not 0 for ready-to-remove packages:

grep-dctrl -w -F Pre-Depends,Depends,Recommends,Suggests -s Source "python-$m" /var/lib/apt/lists/*_debian_dists_sid_main_binary-amd64_Packages ; grep-dctrl -w -s Package "python-$m" /var/lib/apt/lists/*_debian_dists_sid_main_source_Sources

Reply via email to