On Sun, 16 Sep 2012 18:59:33 +0800 Andrew Lowe <[email protected]> wrote:
> Hi all, > I've got a media server that I'm in the process of installing > Samba on. When I do: > > emerge -NuD --pretend samba > > I get a list of stuff that portage wants to install, including > Python, V2.7.3, even though the machine already has V3.2.3 installed. > I've also stripped down the USE variables to basically "server" and > that's all and still for some reason portage wants to bring in Python > - the older version, V2. I've even added a "-python" to packages.use > and it still wants python, V2. I've had a look at the USE variables > for the packages that follow Python in the emerge list and they > either don't want python or already have "-python" set. > > Having a play around with equery also didn't reveal anything. > Does anyone have any ideas as to what's causing old Python to be > brought in? I haven't posted the whole "emerge --info" stuff yet as > hopefully someone has come across this problem before. > > Any thoughts greatly appreciated, > > Andrew > Python is slotted (see gentoo docs for more info on SLOTS). Samba is not downgrading python, it is asking for python-2.7 to be installed alongside python-3.2 (so you will then have both). Just accept what portage says and let it do it;s thing - there are many packages out there that are not ported to python-3 yet so you almost certainly are going to need python-2.7 at some point anyway. -- Alan McKinnon [email protected]

