View previous topic :: View next topic |
Author |
Message |
chronophobic Apprentice
Joined: 07 Mar 2005 Posts: 237 Location: Sofia, Bulgaria
|
Posted: Mon Aug 22, 2005 12:39 pm Post subject: KDE 3.3 leftover files? |
|
|
Since I have my Gentoo on a (relatively humble) 5 Gig partition, and since I've been installing anything that I can think of recently (from Open Office through Gimp to Wesnoth), I'm slowly but surely beginning to run out of disk space. In the process of house cleaning, I have noticed a few directories like
/usr/kde/3.3
/root/.kde3.3
which take up over 100 megs altogether. I'm wondering why those are still there, since I'm using kde 3.4.1. So why are those files there? Do I need them at all? (so is it safe to delete?). Anywhere else that I should hunt for leftovers that I can get rid of (except for the usual portage temp dirs)? _________________ Confutatis maledictis, flammis acribus addictis! |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Mon Aug 22, 2005 2:49 pm Post subject: |
|
|
Make sure you've emerged the gentoolkit package via Code: | emerge app-portage/gentoolkit | then run equery on the directories to see what package owns the files in there: Code: | equery belongs /usr/kde/3.3 | If no package claims to own those files, they're probably safe to get rid of. If a package appears to own one or more of the files in there, you may want to re-emerge that package so it compiles against the new KDE. This should cause emerge to remove that package's files from /usr/kde/3.3 and place them in /usr/kde/3.4, where they belong.
The /root/.kde3.3 directory however most certainly doesn't belong to any package - it's the settings directory for the old KDE installation (3.3). Take a peek around there to make sure there aren't any of your own documents lying around. You can safely delete it then. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
chronophobic Apprentice
Joined: 07 Mar 2005 Posts: 237 Location: Sofia, Bulgaria
|
Posted: Mon Aug 22, 2005 5:30 pm Post subject: |
|
|
Code: | chronophobia ~ # equery belongs /usr/kde/3.3
[ Searching for file(s) /usr/kde/3.3 in *... ]
kde-base/kdebase-3.3.2-r3 (/usr/kde/3.3)
kde-base/arts-1.3.2-r1 (/usr/kde/3.3)
kde-base/kdelibs-3.3.2-r9 (/usr/kde/3.3)
|
So far so good. I should really learn that equery is the tool to use in this kind of situations...
What comes next confuses me a bit...
Code: |
chronophobia ~ # emerge -s kdelibs kdebase arts
* kde-base/kdelibs
Latest version available: 3.4.1-r1
Latest version installed: 3.4.1-r1
Size of downloaded files: 16,458 kB
Homepage: http://www.kde.org/
Description: KDE libraries needed by all kde programs
License: GPL-2 LGPL-2
* kde-base/kdebase
Latest version available: 3.4.1-r1
Latest version installed: 3.4.1-r1
Size of downloaded files: 21,907 kB
Homepage: http://www.kde.org/
Description: KDE base packages: the desktop, panel, window manager, konqueror...
License: GPL-2
* kde-base/arts
Latest version available: 3.4.1-r2
Latest version installed: 3.4.1-r2
Size of downloaded files: 952 kB
Homepage: http://multimedia.kde.org/
Description: aRts, the KDE sound (and all-around multimedia) server/output manager
License: GPL-2 LGPL-2
|
I have all these packages (that the files belong to) but they're all a different version and I do NOT have version 3.3 installed. I ran a find to get an impression of how many "thingies" (files, dirs, whatever) contain *kde*3.3* and I get the impression it's quite a lot (even if I ignore all the ones in /usr/portage etc...
So what am I supposed to do now? Seems like at some point some removal prcedure messed up and left me with a bunch of kde 3.3 legacy files... Safe to delete? And can is there any way in hell I can check if this has happened to other stuff?
Edit: strike that as stupid... emerge -s only shows _latest_ verison... I do have 3.3.2 something or other installed, actually. How can I see what depends on it so badly?
Code: | chronophobia ~ # equery depends kde-base/kdebase-3.3.2-r3
[ Searching for packages depending on kde-base/kdebase-3.3.2-r3... ] |
man equery states that depends is not yet implemented. It seemed to "think" quite a bit before it gave me no reply, so I'm not so sure... Other suggestions? _________________ Confutatis maledictis, flammis acribus addictis! |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Mon Aug 22, 2005 6:00 pm Post subject: |
|
|
You have multiple versions of kdelibs, kdebase, and arts because these ebuilds are slotted - the ones from KDE 3.3 installed into the "3.3" slot, and the ones from 3.4 into the "3.4" slot.
Try to check whether emerge --depclean would remove them: Code: | emerge -pv --depclean | (note the -pv, that'll prevent depclean from doing anything, since we just want to see what'd happen). If depclean wants to remove them, they're clearly not needed and you can remove them via Code: | emerge --unmerge =kde-base/kdebase-3.3.2-r3 =kde-base/arts-1.3.2-r1 =kde-base/kdelibs-3.3.2-r9 |
_________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
chronophobic Apprentice
Joined: 07 Mar 2005 Posts: 237 Location: Sofia, Bulgaria
|
Posted: Mon Aug 22, 2005 6:53 pm Post subject: |
|
|
I tried emerge --depclean -p already and it didn't show anything (I run it fairly regularly to clean unwanted stuff). It has zero results. I have a "unclepine" script and I did try to use it to find out if anything will break by unmerging the old kde version (no success). _________________ Confutatis maledictis, flammis acribus addictis! |
|
Back to top |
|
|
chronophobic Apprentice
Joined: 07 Mar 2005 Posts: 237 Location: Sofia, Bulgaria
|
Posted: Mon Aug 22, 2005 7:50 pm Post subject: |
|
|
Okay, I unmerged all the old things and ran a --depclean to make sure nothing else was unneeded. Also used unclepine to get rid of 1-2 things I no longer need. I'm not sure why it slotted the KDE in the first place, but I think I'll leave it at that and add one to the "no idea what happened, don't care tho if it doesn't break anything" cathegory. _________________ Confutatis maledictis, flammis acribus addictis! |
|
Back to top |
|
|
FishB8 l33t
Joined: 17 Mar 2003 Posts: 820
|
Posted: Mon Aug 22, 2005 11:52 pm Post subject: |
|
|
You might want to try
Code: | emerge --prune kdebase arts kdelibs |
followed by a
_________________ "...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin |
|
Back to top |
|
|
linux_girl Apprentice
Joined: 12 Sep 2003 Posts: 287
|
Posted: Tue Aug 23, 2005 12:35 am Post subject: |
|
|
FishB8 wrote: | You might want to try
Code: | emerge --prune kdebase arts kdelibs |
followed by a
|
hell yeah work for me like a charm:lol: got more free space _________________ |
|
Back to top |
|
|
|