On 2005-07-15 00:46:45 +0100 (Fri, Jul), Edward Catmur wrote: > On Thu, 2005-07-14 at 17:58 -0500, Qv6 wrote: > > I am currently running kde-3.3, and do not want to have both 3.3 and 3.4 > > on the box. How can I update kde or any other app and not have the old > > version still installed. > > Update kde as usual, then > > # emerge -av --depclean > > Make sure that portage doesn't offer to remove packages you want to keep > installed! Also a good idea to run revdep-rebuild afterwards.
As this version of kde is slotted I believe that after your compilation finishes, and you find the new KDE in working state, you should: emerge prune kde emerge -va prune arts and then run emerge -av --depclean After depclean there will be a few leftovers from kde if I recall well. You may find them looking at /usr/kde/3.3/ and finding packages that own files left there. qpkg -f /usr/kde/3.3/some-file emerge -va prune the-package-found-if-it-is-part-of-kde Some files will not belong to any package, you may delete them, some packages will have to be rebuild to use the new KDE version and leave the old - dev-db/knoda in my case... Surely you may cook a nice script that will find and clear the KDE leftovers in more hackish way, but it was very hot the day I was doing this and my brain cooling system was not working properly... :-) Remember to run revdep-rebuild -p after you remove some packages. It may help you to find ones that need to be unmerged, and it is anyway a good habit to run it. HTH. -- No virus found in this outgoing message. Checked by 'grep -i virus $MESSAGE' Trust me.
pgpkV0Qwr8Owi.pgp
Description: PGP signature