[gentoo-user] Re: Once again baffled by portage

2008-01-17 Thread Michael Schmarck
ยท Grant Edwards [EMAIL PROTECTED]:

 Why won't portage let me install kompare?

Because you already have it.

# emerge --pretend kompare

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] kde-base/kompare-3.5.7  USE=arts -debug -kdeenablefinal 
 -kdehiddenvisibility -xinerama 
[blocks B ] =kde-base/kompare-3.5* (is blocking kde-base/kdesdk-3.5.7)
[blocks B ] =kde-base/kdesdk-3.5* (is blocking kde-base/kompare-3.5.7)

 How does one figure out where these blocks are coming from?

By having a look in the ebuilds.

 There are no other versions of kompare installed.
 kde-base/kdesdk-3.5.7 _is_ installed.  There is no mention of
 kdeanything in /etc/portage/*.

I suppose kompare is part of kdesdk. kdesdk is a huge package containing
lots of stuff. So I suppose you cannot have both kdesdk and a broken
out package (kompare) installed at the same time.

*  kde-base/kdesdk
  Latest version available: 3.5.7
  Latest version installed: 3.5.7
  Size of files: 5,088 kB
  Homepage:  http://www.kde.org/
  Description:   KDE SDK: Cervisia, KBabel, KCachegrind, Kompare, 
 Umbrello,...
  License:   GPL-2

Yep. There it says: kdesdk also offers Kompare.

Hm, why would you want to install Kompare, if you already have it
installed? 

Michael Schmarck
-- 
Why would anyone want to be called Later?


-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Once again baffled by portage

2008-01-17 Thread Guilherme Amadio
On Thu, Jan 17, 2008 at 03:28:24PM +, Grant Edwards wrote:
 Why won't portage let me install kompare?

*  kde-base/kdesdk
  Description:   KDE SDK: Cervisia, KBabel, KCachegrind, Kompare, 
 Umbrello,...
 

  By what I understand, kdesdk already includes kompare, that is why it is
  blocking it. If you don't have kompare already, there may be some bug in
  an eclass or ebuild relating to one of these packages. I'm not a kde user,
  but a quick look at the ebuild for kompare showed that the src is the same
  as kdesdk.

  As for where the blocks come from, I think it's directly from the dependencies
  specified in the ebuilds.

  Well, hope that helps.
  
  Cheers,
  Guilherme
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Once again baffled by portage

2008-01-17 Thread Grant Edwards
On 2008-01-17, Alan McKinnon [EMAIL PROTECTED] wrote:
 On Thursday 17 January 2008, Grant Edwards wrote:
 Why won't portage let me install kompare?

# emerge --pretend kompare

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] kde-base/kompare-3.5.7  USE=arts -debug
 -kdeenablefinal -kdehiddenvisibility -xinerama [blocks B ]
 =kde-base/kompare-3.5* (is blocking kde-base/kdesdk-3.5.7) [blocks B 
] =kde-base/kdesdk-3.5* (is blocking kde-base/kompare-3.5.7)

 How does one figure out where these blocks are coming from?
 There are no other versions of kompare installed.
 kde-base/kdesdk-3.5.7 _is_ installed.  There is no mention of
 kdeanything in /etc/portage/*.

 The solution is a little more complex than in Michael's reply and this 
 may take a while :-)

[...]

 Essentially you are trying to install one of the individual packages 
 from a -meta package at the same time as a corresponding monolithic 
 package,and portage is correctly refusing to let you do this.

Sure, it makes sense now. :) 

Thanks for the explanation.

-- 
Grant Edwards   grante Yow! I was making donuts
  at   and now I'm on a bus!
   visi.com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Once again baffled by portage

2008-01-17 Thread Alan McKinnon
On Thursday 17 January 2008, Grant Edwards wrote:
 On 2008-01-17, Alan McKinnon [EMAIL PROTECTED] wrote:

  Essentially you are trying to install one of the individual
  packages from a -meta package at the same time as a corresponding
  monolithic package,and portage is correctly refusing to let you do
  this.

 Sure, it makes sense now. :)

 Thanks for the explanation.

I just re-read my own post and I'm left with one impression:

There gotta be an easier way to do this split-ebuild thing where the 
user can see at a glance if a package is monolithic or not...


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list