Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE 4.2 blocking upgrade to 4.3
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
c00l.wave
Apprentice
Apprentice


Joined: 24 Aug 2003
Posts: 268

PostPosted: Sat Dec 05, 2009 8:33 pm    Post subject: KDE 4.2 blocking upgrade to 4.3 Reply with quote

I'm still using KDE 4.2 but would like to update my system now. However, I get blockers for whole KDE when running emerge -uDpv world: (just a short part of it below)

Code:

...
[blocks B     ] kde-base/libkcompactdisc:4.2[-kdeprefix] ("kde-base/libkcompactdisc:4.2[-kdeprefix]" is blocking kde-base/libkcompactdisc-4.3.3)             
[blocks B     ] kde-base/libplasmaclock:4.3[-kdeprefix] ("kde-base/libplasmaclock:4.3[-kdeprefix]" is blocking kde-base/libplasmaclock-4.2.4)               
[blocks B     ] kde-base/libkholidays:4.2[-kdeprefix] ("kde-base/libkholidays:4.2[-kdeprefix]" is blocking kde-base/kdepimlibs-4.3.3)                       
...
Total: 543 packages (261 upgrades, 1 downgrade, 36 new, 244 in new slots, 1 reinstall, 1 uninstall, 1 interactive), Size of downloads: 2,761,960 kB
Fetch Restriction: 1 package (1 unsatisfied)                                                                                                       
Conflict: 297 blocks (276 unsatisfied)                                                                                                             
...
  ('ebuild', '/', 'kde-base/kde-meta-4.3.3', 'merge') pulled in by
    kde-base/kde-meta required by world                           

  ('installed', '/', 'kde-base/krdc-4.2.4', 'nomerge') pulled in by
    kde-base/krdc required by world                               
    kde-base/krdc:4.2 required by world                           
    >=kde-base/krdc-4.2.0:4.2 required by ('installed', '/', 'kde-base/kdenetwork-meta-4.2.0', 'nomerge')

  ('installed', '/', 'kde-base/khotkeys-4.2.4', 'nomerge') pulled in by
    >=kde-base/khotkeys-4.2.4:4.2[-kdeprefix] required by ('installed', '/', 'kde-base/kcontrol-4.2.4', 'nomerge')
    kde-base/khotkeys:4.2 required by ('installed', '/', 'kde-base/kmenuedit-4.2.0', 'nomerge')                   
    >=kde-base/khotkeys-4.2.0:4.2 required by ('installed', '/', 'kde-base/kdebase-meta-4.2.0', 'nomerge')       
    (and 1 more)                                                                                                 

  ('ebuild', '/', 'kde-base/dolphin-4.3.3', 'merge') pulled in by
    kde-base/dolphin required by world                           
    >=kde-base/dolphin-4.3.3[-kdeprefix] required by ('ebuild', '/', 'kde-base/kdebase-meta-4.3.3', 'merge')
    >=kde-base/dolphin-4.2[-kdeprefix] required by ('installed', '/', 'media-video/mplayerthumbs-1.2', 'nomerge')
    (and 1 more)                                                                                                 
...


I read in that thread that this could be due to ebuilds listed with :4.2 in my worldfile. Greping for :4.2 I have exactly that:

Code:

# grep :4.2 /var/lib/portage/world
kde-base/gwenview:4.2
kde-base/kde-meta:4.2
kde-base/kdebase-kioslaves:4.2
kde-base/kdelibs:4.2
kde-base/kget:4.2
kde-base/khotkeys:4.2
kde-base/krdc:4.2
kde-base/krfb:4.2
kde-base/krunner:4.2
kde-base/ksmserver:4.2
kde-base/libkdcraw:4.2
kde-base/libkexiv2:4.2
kde-base/okular:4.2
kde-base/plasma-workspace:4.2


However, if I try to remove some of that explicit :4.2 slots from the file I still get blockers 4.2 vs 4.3 on these ebuilds.

How can I fix that? I only want the most current stable KDE, no need for explicit slotting. 4.2 has already vanished completely from the portage tree as it seems; for example:

Code:

# eix khotkeys
[UD] kde-base/khotkeys
     Available versions:
        (3.5)   3.5.10
        (4.3)   4.3.1 4.3.3 ~4.3.4
        {aqua debug elibc_FreeBSD kdeenablefinal kdehiddenvisibility kdeprefix}
     Installed versions:  3.5.10(3.5)(12:17:16 AM 10/02/2009)(-debug -elibc_FreeBSD -kdehiddenvisibility)
                          4.2.4(4.2)(10:06:13 PM 06/28/2009)(-debug -kdeprefix)
     Homepage:            http://www.kde.org/
     Description:         KDE: hotkey daemon


The 4.2 slot is not listed any more.

What do I need to do to get the upgrade working? (Preferably without explicitly unmerging all 200+ ebuilds.) If there only seems to be one active slot per major revision, why isn't it just called :3 and :4 then; so upgrades between minor revisions don't cause such trouble? Or is there any way I don't know of to tell emerge to migrate the whole 4.2 installed ebuilds to the new slot 4.3?

I didn't use sets nor kdeprefix, just the plain slotted ebuilds and kde-meta.
_________________
nohup nice -n -20 cp /dev/urandom /dev/null &
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sat Dec 05, 2009 9:45 pm    Post subject: Reply with quote

You really should uninstall kde-4.2 entirely before trying to install kde-4.3.

And also remove those entries from world.
Back to top
View user's profile Send private message
c00l.wave
Apprentice
Apprentice


Joined: 24 Aug 2003
Posts: 268

PostPosted: Sat Dec 05, 2009 10:15 pm    Post subject: Reply with quote

Will this only be once or with each new release of KDE? I never had to do that with KDE 3 but these slots including minor revisions bother me if they will suddenly disappear and block - why do we have them anyway if 2 slotted versions cannot co-exist? I thought that would be the whole point of having slots.

It's okay if this happens once but I wouldn't like having to unmerge everything manually with every single minor release KDE 4 will have. There really should be a more easy way to upgrade the system but I could be wrong and this is only because we transition from unstable (keyworded) KDE 4.2 to stable 4.3?
_________________
nohup nice -n -20 cp /dev/urandom /dev/null &
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Dec 05, 2009 11:22 pm    Post subject: Reply with quote

You should try :

Code:

# emerge -pCv $(qlist -ICv kde | grep 4.2)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
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