Gentoo Forums
Gentoo Forums
Quick Search: in
kde4 dependency problem [solved]
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
houtworm
Apprentice
Apprentice


Joined: 08 Mar 2003
Posts: 206
Location: Den Haag, Netherlands

PostPosted: Sun Feb 10, 2008 11:56 am    Post subject: kde4 dependency problem [solved] Reply with quote

Code:
Calculating world dependencies -
!!! Multiple versions within a single package slot have been
!!! pulled into the dependency graph:

kde-base/kdepimlibs:kde-4

  ('ebuild', '/', 'kde-base/kdepimlibs-4.0.0', 'merge') pulled in by
    ('installed', '/', 'kde-base/kde-4.0.0', 'nomerge')

  ('installed', '/', 'kde-base/kdepimlibs-4.0.1', 'nomerge') pulled in by
    ('installed', '/', 'kde-base/kdeartwork-4.0.0', 'nomerge')
    ('installed', '/', 'kde-base/kdegames-4.0.0', 'nomerge')
    ('installed', '/', 'kde-base/kdeedu-4.0.0', 'nomerge')
    (and 7 more)

kde-base/kdelibs:kde-4

  ('ebuild', '/', 'kde-base/kdelibs-4.0.0-r1', 'merge') pulled in by
    ('installed', '/', 'kde-base/kde-4.0.0', 'nomerge')

  ('installed', '/', 'kde-base/kdelibs-4.0.1', 'nomerge') pulled in by
    ('installed', '/', 'net-p2p/ktorrent-2.2.5', 'nomerge')
    ('installed', '/', 'app-cdr/k3b-1.0.4', 'nomerge')
    ('installed', '/', 'kde-base/kdenetwork-4.0.0-r1', 'nomerge')
    (and 16 more)


8O

How can I solve this?

--Kees
_________________
niemand is onbekwamer, dan een timmerman zonder hamer

Kees


Last edited by houtworm on Sat Mar 01, 2008 10:51 pm; edited 2 times in total
Back to top
View user's profile Send private message
OmSai
Guru
Guru


Joined: 29 Sep 2007
Posts: 565
Location: Manchester, CT, USA

PostPosted: Sun Feb 10, 2008 12:26 pm    Post subject: Reply with quote

houtworm,

When you have this type of conflicting dependency, you have to mask one version of the package in question.

For the first case, I would recommend you mask =kde-base/kdepimlibs-4.0.0 by adding it to you /etc/portage/package.mask.
kde-base/kdepimlibs-4.0.1 is being pulled in by many more packages
Also it seems the kde-base/kde ebuild doesn't care for the specific version number of kdepimlibs
/usr/portage/kde-base/kde/kde-4.0.0.ebuild:
RDEPEND="
   ...
   ~kde-base/kdepimlibs-${PV}:${SLOT}

In the second, again, mask =kde-base/kdelibs-4.0.0-r1 by adding it to you /etc/portage/package.mask

If you still have trouble, try the reverse process and mask the other package version.

HTH
_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
Back to top
View user's profile Send private message
houtworm
Apprentice
Apprentice


Joined: 08 Mar 2003
Posts: 206
Location: Den Haag, Netherlands

PostPosted: Sun Feb 10, 2008 12:55 pm    Post subject: Reply with quote

om wrote:
For the first case, I would recommend you mask =kde-base/kdepimlibs-4.0.0 by adding it to you /etc/portage/package.mask.

That does not help.
I think that package.unmask has a higher priority. So if kdepimlibs-4* is unmasked by package.unmask, it does not matter if kdepimlibs-4.0.0 is in package.mask.
I tried so i know now :-)
I put =kde-base/kde-4* in package.mask, but portage did not complain, so..

om wrote:
If you still have trouble, try the reverse process and mask the other package version.


Ok, now I have only
=kde-base/kdelibs-4.0.0-r1
=kde-base/kdepimlibs-4.0.0

..in package.unmask, so I removed the -4*
Portage does not complain now anymore. I will upgrade the packes now, to see if it is ok :-)

thanks.


--Kees
_________________
niemand is onbekwamer, dan een timmerman zonder hamer

Kees
Back to top
View user's profile Send private message
houtworm
Apprentice
Apprentice


Joined: 08 Mar 2003
Posts: 206
Location: Den Haag, Netherlands

PostPosted: Sun Feb 10, 2008 4:24 pm    Post subject: Reply with quote

I am tired of it.
kde-4.0.0 really depends on kdelibs-4.0.0-r1
So... emerge kde .. downgrades kdelibs to 4.0.0-r1
or at least, it tries to, but..


--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-10921.log"

symlink: /usr/kde/4.0/share/doc/HTML/en/sonnet/common (symlink to /usr/kde/4.0/share/doc/HTML/en/common)
-----------

Ok tried again with FEATURES="-sandbox" emerge -u kde

I think it is ok now.
I hope :)

But I can' t upgrade kdelibs now, because i have unmasked only kdelibs-4.0.0-r1

--Kees
_________________
niemand is onbekwamer, dan een timmerman zonder hamer

Kees
Back to top
View user's profile Send private message
OmSai
Guru
Guru


Joined: 29 Sep 2007
Posts: 565
Location: Manchester, CT, USA

PostPosted: Sun Feb 10, 2008 4:54 pm    Post subject: Reply with quote

houtworm wrote:
But I can' t upgrade kdelibs now, because i have unmasked only kdelibs-4.0.0-r1

Then after you are done with your emerge, change the unmask package to >kde-base/kdelibs-4.0.0-r1
That would still stop kde-base/kde-4.0.0 from being considered.
_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
Back to top
View user's profile Send private message
houtworm
Apprentice
Apprentice


Joined: 08 Mar 2003
Posts: 206
Location: Den Haag, Netherlands

PostPosted: Sun Feb 10, 2008 5:03 pm    Post subject: Reply with quote

I think that emerge -u world, will upgrade kdelibs to 4.0.1
And then portage starts complaining again, that kde-4.0.0 depends on a masked package: kdelibs-4.0.0-r1

I can' t try it now... because openoffice is emerged now. So I have to wait 3 more hours or so.


--Kees
_________________
niemand is onbekwamer, dan een timmerman zonder hamer

Kees
Back to top
View user's profile Send private message
houtworm
Apprentice
Apprentice


Joined: 08 Mar 2003
Posts: 206
Location: Den Haag, Netherlands

PostPosted: Sun Feb 10, 2008 7:35 pm    Post subject: Reply with quote

Ok OO is ready, so I tried in package.unmask:

>kde-base/kdelibs-4.0.0-r1

Code:
#emerge -upD world



Calculating world dependencies \
!!! The following installed packages are masked:
- kde-base/kdelibs-4.0.0-r1 (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Ingmar Vanhassel <ingmar@gentoo.org> (16 Jan 2008)
# Mask KDE 4.0.0 for testing. This release of KDE 4 will not be unmasked.
# KDE 4 guide: http://www.gentoo.org/proj/en/desktop/kde/kde4.xml

 /
!!! Multiple versions within a single package slot have been
!!! pulled into the dependency graph:

kde-base/kdelibs:kde-4

  ('installed', '/', 'kde-base/kdelibs-4.0.0-r1', 'nomerge') pulled in by
    ('installed', '/', 'kde-base/kde-4.0.0', 'nomerge')

  ('ebuild', '/', 'kde-base/kdelibs-4.0.1', 'merge') pulled in by
    ('installed', '/', 'net-p2p/ktorrent-2.2.5', 'nomerge')
    ('installed', '/', 'app-cdr/k3b-1.0.4', 'nomerge')
    ('installed', '/', 'kde-base/kdeartwork-4.0.0', 'nomerge')
    (and 15 more)



So I just have to wait until there is an ebuild for kde-4.0.1 in portage
_________________
niemand is onbekwamer, dan een timmerman zonder hamer

Kees
Back to top
View user's profile Send private message
OmSai
Guru
Guru


Joined: 29 Sep 2007
Posts: 565
Location: Manchester, CT, USA

PostPosted: Sun Feb 10, 2008 7:52 pm    Post subject: Reply with quote

Yup.
Guess then you'll have to keep it as =kde-base/kdelibs-4.0.0-r1 for the workaround

Edit and add "[solved]" to your first post's subject then? :P
_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
Back to top
View user's profile Send private message
houtworm
Apprentice
Apprentice


Joined: 08 Mar 2003
Posts: 206
Location: Den Haag, Netherlands

PostPosted: Sun Feb 10, 2008 7:57 pm    Post subject: Reply with quote

Well.. it's not really solved :-)
..but portage does not complain anymore.

--Kees
_________________
niemand is onbekwamer, dan een timmerman zonder hamer

Kees
Back to top
View user's profile Send private message
houtworm
Apprentice
Apprentice


Joined: 08 Mar 2003
Posts: 206
Location: Den Haag, Netherlands

PostPosted: Sat Mar 01, 2008 10:50 pm    Post subject: Reply with quote

Solved by unmerging kde-4* and then emerge kde-meta
_________________
niemand is onbekwamer, dan een timmerman zonder hamer

Kees
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum