On 2019-10-20 23:03, Rebecca N. Palmer wrote:

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

Thanks Rebecca, that does provide a good view.

Drew

Reply via email to