Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11831

A possibly easier way to check dependencies for 2Removal?

Path csiph.com!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.albasani.net!tahina.priv.at!bofh.it!news.nic.it!robomod
From "Rebecca N. Palmer" <rebecca_palmer@zoho.com>
Newsgroups linux.debian.maint.python
Subject A possibly easier way to check dependencies for 2Removal?
Date Wed, 18 Sep 2019 00:20:02 +0200
Message-ID <yHtZg-4xG-9@gated-at.bofh.it> (permalink)
References <yGTsJ-4Uw-1@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Sep 17 22:18:11 2019
Old-Return-Path <rebecca_palmer@zoho.com>
X-Amavis-Spam-Status No, score=-7.199 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -5.5
X-Greylist delayed 908 seconds by postgrey-1.36 at bendel; Tue, 17 Sep 2019 22:02:04 UTC
Arc-Seal i=1; a=rsa-sha256; t=1568756810; cv=none; d=zoho.com; s=zohoarc; b=BzabQBM1l8xR9Gr3YnMExOX3ycCoofx+BpMR3YINdcx0FpeH3KQayFnxM4Kzki/XENsBzIz4y0bkv4gUYkKRF5Yf8J1jLh5N1v7Ss+bqJv3idJWKjTaLFjjyaqIyZbrZe5zwJ71DY6I0IUiYdPDUVRDS1HUxTgq0ttaldoHXbKk=
Arc-Message-Signature i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1568756810; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=38WyNHmCa4wXTZoUcUYD/ydxskXhzQfPnUpRcDJH6co=; b=EQpqMq/3/n4yZcVAQZ/aqKZqQkk0sGivq42P2VbrkAj2XrDeRwywiU13jsnE5UJ0WIS1duBGO2qrT7Qr2/7h/J+3A+ktEzICCJMhBjSUE914fPfVs3Wfl1ETwz7mqdE4GmjJNMmQ/5tbYCgJHA8ZTuYoTyJdcTpClqs3SrABC3g=
Arc-Authentication-Results i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=rebecca_palmer@zoho.com; dmarc=pass header.from=<rebecca_palmer@zoho.com> header.from=<rebecca_palmer@zoho.com>
Domainkey-Signature a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:subject:in-reply-to:to:message-id:date:user-agent:mime-version:content-type; b=ROIjd7B4vPh2jdhiKhC4F+/XwOvMRWMLsD6e109DvczEHG/5mb5DpDJxxDpoYFoFM27oqgP8I8za ckj0jM+YROIi44MWKrmmsF3Vi8EUPjZLqcNw4V7o92SJ716nhXov
Dkim-Signature v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1568756810; s=zm2019; d=zoho.com; i=rebecca_palmer@zoho.com; h=From:Subject:In-Reply-To:To:Message-ID:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; l=868; bh=38WyNHmCa4wXTZoUcUYD/ydxskXhzQfPnUpRcDJH6co=; b=WUahaaEDiuhorWQyg7GCSegMvIyLQ4yKy54oYMiDg7bEMto5BZ9LD2wo7wHcAETD v1QNWREz4+F0v+frOWNzpHoR6lye5IyhjgbIy3TYr/swbfvHrE/kkOXd0O12yEKQn11 A1M0m4aISff7PE7DkQONWrIrm6WJUDKU2C5aOGdU=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Language en-US
Content-Transfer-Encoding 7bit
X-Zohomailclient External
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17369
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/f280eff4-4ed2-ab52-c917-1292b1e5dad2@zoho.com
Approved robomod@news.nic.it
Lines 19
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 17 Sep 2019 22:46:40 +0100
X-Original-Message-ID <f280eff4-4ed2-ab52-c917-1292b1e5dad2@zoho.com>
X-Original-References <20190916071613.GL1706@belkar.wrar.name>
Xref csiph.com linux.debian.maint.python:11831

Show key headers only | View raw


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


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