View previous topic :: View next topic |
Author |
Message |
eben n00b
Joined: 07 Nov 2004 Posts: 63 Location: Toronto, Canada
|
Posted: Sat Nov 20, 2004 4:20 pm Post subject: I'm emerging KDE 3.3, How do I remove KDE 3.2?? |
|
|
I am currently emerging KDE 3.3, Though I probably should have put more thought into this and and asked questions beforehand . 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 |
|
|
damicatz n00b
Joined: 20 Nov 2004 Posts: 22
|
Posted: Sat Nov 20, 2004 9:30 pm Post subject: |
|
|
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 |
|
|
eben n00b
Joined: 07 Nov 2004 Posts: 63 Location: Toronto, Canada
|
Posted: Sun Nov 21, 2004 1:48 am Post subject: |
|
|
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 |
|
|
damicatz n00b
Joined: 20 Nov 2004 Posts: 22
|
Posted: Sun Nov 21, 2004 4:08 pm Post subject: |
|
|
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 |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Sun Nov 21, 2004 4:33 pm Post subject: |
|
|
can't you just
emerge kde-3.2.3 unmerge ?? |
|
Back to top |
|
|
brjames n00b
Joined: 30 Sep 2003 Posts: 52
|
Posted: Sun Nov 21, 2004 5:13 pm Post subject: |
|
|
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:
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 |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Sun Nov 21, 2004 6:15 pm Post subject: |
|
|
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 |
|
|
|