Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I'm emerging KDE 3.3, How do I remove KDE 3.2??
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
eben
n00b
n00b


Joined: 07 Nov 2004
Posts: 63
Location: Toronto, Canada

PostPosted: Sat Nov 20, 2004 4:20 pm    Post subject: I'm emerging KDE 3.3, How do I remove KDE 3.2?? Reply with quote

I am currently emerging KDE 3.3, Though I probably should have put more thought into this and and asked questions beforehand :P. I was wondering two things mainly.

1) Will my settings remain in the new kde (ie dektop, menus etc)

2) How do I completely remove the old KDE?? Ive read a couple of previous posts including:

https://forums.gentoo.org/viewtopic.php?t=246381&highlight=
https://forums.gentoo.org/viewtopic.php?t=251599&highlight=remove+kde

Not only do I not have qpkg on my system for some reason, Im not entirely sure what the best method is.
Back to top
View user's profile Send private message
damicatz
n00b
n00b


Joined: 20 Nov 2004
Posts: 22

PostPosted: Sat Nov 20, 2004 9:30 pm    Post subject: Reply with quote

Portage handles it all automatically. Just emerge -u kde and portage will automatically install 3.3 while removing 3.2. Your settings will also be left intact because KDE 3.3 didn't magically change the configuration file formats.
Back to top
View user's profile Send private message
eben
n00b
n00b


Joined: 07 Nov 2004
Posts: 63
Location: Toronto, Canada

PostPosted: Sun Nov 21, 2004 1:48 am    Post subject: Reply with quote

damicatz wrote:
Portage handles it all automatically. Just emerge -u kde and portage will automatically install 3.3 while removing 3.2. Your settings will also be left intact because KDE 3.3 didn't magically change the configuration file formats.


The problem is that I forgot to do that when I emerged, now I have 3.2.3 and 3.3 installed. How can ? cleanly remove the old kde?
_________________
My Tech Blog: http://eben.fallenreactor.com
My Setup: http://individual.utoronto.ca/eben/
Back to top
View user's profile Send private message
damicatz
n00b
n00b


Joined: 20 Nov 2004
Posts: 22

PostPosted: Sun Nov 21, 2004 4:08 pm    Post subject: Reply with quote

I've never had that happen before so perhaps someone can offer a better solution but I would try :

emerge unmerge kde && emerge kde

AFAIK it won't delete your settings but you may wish to back up your home directory before you do it just in case.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sun Nov 21, 2004 4:33 pm    Post subject: Reply with quote

can't you just

emerge kde-3.2.3 unmerge ??
Back to top
View user's profile Send private message
brjames
n00b
n00b


Joined: 30 Sep 2003
Posts: 52

PostPosted: Sun Nov 21, 2004 5:13 pm    Post subject: Reply with quote

Code:
emerge -Pp kde


That will remove the meta-package from your world file.

Then you can use:
Code:
emerge -p --depclean


and it will remove all the packages that kde 3.2 depended on. If you've never used depclean before it will probably eliminate a whole bunch of other things as well. Also if you've manually emerged any of the kde 3.2 subsections, then those are in your world file and you'll have to take care of them separately.

A good test to see which packages you have more than one version of is:
Code:
emerge -Pp world


DO NOT remove the "-p" and actually run it. There are some packages of which multiple versions are required and you do not want to remove them. But you will be able to see which kde packages are duplicated, and you can prune all of them.
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sun Nov 21, 2004 6:15 pm    Post subject: Reply with quote

I found this some time ago in the forum:

Code:
 emerge -P -p `echo kde-base/{kde{,libs,base,addons,admin,artwork,edu,games,graphics,multimedia,network,pim,toys,utils},arts}`


If the output is ok, run the command again but without the -p (pretend) option
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