public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Determine why Python 2.7 is still installed?
Date: Sat, 27 Feb 2021 13:35:33 -0000 (UTC)	[thread overview]
Message-ID: <s1dhr5$d6l$1@ciao.gmane.io> (raw)
In-Reply-To: 99f64762-33a8-34a5-9362-9058b741dd6c@konstantinhansen.de

On 2021-02-27, hitachi303 <gentoo-user@konstantinhansen.de> wrote:
> Am 27.02.2021 um 14:08 schrieb Grant Edwards:
>
>> How do you determine why portage thinks a certain slot of a package
>> is required? None of the documentation I an find on portage discusses
>> finding packages dependent on particular slots.
>
> Have you tried #emerge -av --depclean =<atom> ?

Thanks!

That does it:

    # emerge -av --depclean =dev-lang/python-2.7.18-r6

    Calculating dependencies... done!
      dev-lang/python-2.7.18-r6 pulled in by:
        www-client/chromium-88.0.4324.182 requires >=dev-lang/python-2.7.5-r2:2.7[xml]

I'm a bit surprised that 'equery d' is unable to figure that out.

The other option I found is to uninstall python:2.7, then do emerge
-auvNDt, and see why it's being re-installed, but that's a bit
drastic.

And now that I know the answer it makes sense: the machines where
python 2.7 was removed by depclean don't have Chromium installed.

--
Grant




  reply	other threads:[~2021-02-27 13:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-27 13:08 [gentoo-user] Determine why Python 2.7 is still installed? Grant Edwards
2021-02-27 13:18 ` hitachi303
2021-02-27 13:35   ` Grant Edwards [this message]
2021-02-27 13:29 ` Neil Bothwick
2021-02-27 13:37   ` [gentoo-user] " Grant Edwards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='s1dhr5$d6l$1@ciao.gmane.io' \
    --to=grant.b.edwards@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox