Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #11831
| From | "Rebecca N. Palmer" <rebecca_palmer@zoho.com> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | A possibly easier way to check dependencies for 2Removal? |
| Date | 2019-09-18 00:20 +0200 |
| Message-ID | <yHtZg-4xG-9@gated-at.bofh.it> (permalink) |
| References | <yGTsJ-4Uw-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
grep-dctrl -w -F Depends,Recommends -s Source "python-$module" /var/lib/apt/lists/*_debian_dists_sid_main_binary-amd64_Packages ; grep-dctrl -w -s Package "python-$module" /var/lib/apt/lists/*_debian_dists_sid_main_source_Sources where python-$module is the *binary* package name. This finds runtime Depends/Recommends, and all mentions in the Sources index (Build-Depends*, Testsuite-Triggers, and the package itself): Outputs only this package's source name => ready to be removed Outputs other source package(s) => not ready yet Outputs nothing => package doesn't exist (either it's already been removed, or you mis-spelt it) (Previous suggestions in this thread were "apt-cache rdepends python-$module ; reverse-depends -b python-$module" (can be slow) or "dak rm -R -n -b python-$module" (DDs only); those both ignore autopkgtest depends.)
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Packages depending on python-testtools are now RC: is bzr still a thing? Scott Kitterman <debian@kitterman.com> - 2019-09-15 01:20 +0200
Re: Packages depending on python-testtools are now RC: is bzr still a thing? Jelmer Vernooij <jelmer@jelmer.uk> - 2019-09-15 11:10 +0200
Re: Packages depending on python-testtools are now RC: is bzr still a thing? Mattia Rizzolo <mattia@debian.org> - 2019-09-15 14:30 +0200
Re: Packages depending on python-testtools are now RC: is bzr still a thing? Jelmer Vernooij <jelmer@jelmer.uk> - 2019-09-15 17:40 +0200
Re: Packages depending on python-testtools are now RC: is bzr still a thing? Simon McVittie <smcv@debian.org> - 2019-09-16 00:40 +0200
Re: Packages depending on python-testtools are now RC: is bzr still a thing? Andrey Rahmatullin <wrar@debian.org> - 2019-09-16 09:20 +0200
A possibly easier way to check dependencies for 2Removal? "Rebecca N. Palmer" <rebecca_palmer@zoho.com> - 2019-09-18 00:20 +0200
Re: A possibly easier way to check dependencies for 2Removal? Diane Trout <diane@ghic.org> - 2019-09-18 19:40 +0200
Re: A possibly easier way to check dependencies for 2Removal? "Rebecca N. Palmer" <rebecca_palmer@zoho.com> - 2019-10-26 20:30 +0200
csiph-web