public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Prevent depclean from removing Python-2.6?
Date: Tue, 10 May 2011 21:36:39 +0100	[thread overview]
Message-ID: <201105102136.41151.michaelkintzios@gmail.com> (raw)
In-Reply-To: <iqbkn5$7kf$1@dough.gmane.org>

[-- Attachment #1: Type: Text/Plain, Size: 1585 bytes --]

On Tuesday 10 May 2011 16:13:41 Grant Edwards wrote:
> On 2011-05-10, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> > Apparently, though unproven, at 16:40 on Tuesday 10 May 2011, Grant
> > Edwards
> > 
> > did opine thusly:
> >> I ran emerge --depclean the other day on one of my machines and it
> >> removed Python 2.6.  I was using Python 2.6 as my "default" python,
> >> and depclean's removal of it broke a _lot_ of stuff.  About a half
> >> day's worth of hassle later I had Python 2.6 re-installed and my
> >> system was again usable.
> >> 
> >> In order to avoid the same circus on my other machines, how do I
> >> prevent emerge --depclean from removing Python 2.6?
> > 
> > Put that slot in world:
> >=dev-lang/python:2.6
> >
> > I suppose there are better and more automagically elegant ways of doing
> > it, but this works.
> 
> Thanks!
> 
> (you need to leave out the '=').
> 
> > I think the issue happens because portage does not take eselect
> > choices into account when building it's dep graph, it only uses the
> > DEPENDS in ebuilds.
> 
> Apparently so.  It seems like it ought to pay attention to eselect.
> If I've explicitly configured my system to use 2.6 instead of 2.7,
> removing 2.6 doesn't seem like a good thing...

I am not sure I understand:

If you eselect python 2.7 and run python-updater (and revdep-rebuild just in 
case) I would think that you *should* have a working system.  Unless some 
particular package is hardcoded to use 2.6 things should not really break.

Am I wrong here?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2011-05-10 20:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-10 14:40 [gentoo-user] Prevent depclean from removing Python-2.6? Grant Edwards
2011-05-10 14:53 ` Alan McKinnon
2011-05-10 15:13   ` [gentoo-user] " Grant Edwards
2011-05-10 15:26     ` Alan McKinnon
2011-05-10 16:07       ` Grant Edwards
2011-05-10 18:38         ` Neil Bothwick
2011-05-10 20:36     ` Mick [this message]
2011-05-11  2:28       ` Grant Edwards
2011-05-11 14:25         ` Grant Edwards
2011-05-11 23:53           ` Adam Carter
2011-05-12  2:13             ` Kevin O'Gorman
2011-05-12 11:15               ` Alan McKinnon
2011-05-16 23:30                 ` Adam Carter

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=201105102136.41151.michaelkintzios@gmail.com \
    --to=michaelkintzios@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