[gentoo-user] emerge world and doubled portages

2007-11-03 Thread econti

Hi all
yesterday I emerged the nvidia-drivers. All went well.
Then I ran 'emerge -NDpvu world' (I set nvidia flag in make.conf) and 
found out to have 2 versions of qt (3.3.8-r3 and 4.3.0-r2) and 2 
versions og gnupg (1.4.7-r1 and 1.9.21).
So I unmerged gnupg-1.4.7-r1 and ran 'emerge -NDpvu world' again. 
gnupg-1.4.7-r1 was listed again with [NS ] instead of the previuos [ R ].


May someone explain to me why?

The same for qt. I should have to re-emerge some kde portages. How can I 
use qt4 instead of qt3?


Thenks in advance.

emilio


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge world and doubled portages

2007-11-03 Thread Roman Zilka
Hi!

 yesterday I emerged the nvidia-drivers. All went well.
 Then I ran 'emerge -NDpvu world' (I set nvidia flag in make.conf) and 
 found out to have 2 versions of qt (3.3.8-r3 and 4.3.0-r2) and 2 
 versions og gnupg (1.4.7-r1 and 1.9.21).
 So I unmerged gnupg-1.4.7-r1 and ran 'emerge -NDpvu world' again. 
 gnupg-1.4.7-r1 was listed again with [NS ] instead of the previuos [ R ].
 
 May someone explain to me why?
 
 The same for qt. I should have to re-emerge some kde portages. How can I 
 use qt4 instead of qt3?

This is quite correct. Having multiple versions of a package installed
is often necessary. This is the case. Some of your programs require qt3
to function, others require qt4. There are applications not prepared
for qt4 at all. When you unmerged one of the qt's, you probably disposed
some package(s) of their dependency, so emerge -uD promptly re-emerges
the now-missing qt.

The [ R ] flag means an already-installed package was to be re-emerged.
Then you unmerged one such package and [ R ] became [NS ], which means
a not-yet-installed package version is about to me emerged. Both qt and
gnupg are slotted packages here - meaning it's possible to have
multiple versions installed at the same time. Slotted - that's the S
tag in [NS ].

So by and large, the right thing to do here is let emerge -NDpvu do
what it wishes to do and keep both versions of both packages. If you
want as many applications as possible to use qt4, adding the qt4 USE
flag may help. May or may not. I don't know what exactly this flag does
in all those ebuilds using it.

-rz
-- 
[EMAIL PROTECTED] mailing list