Efficiency of emerge depclean
Wednesday, October 15th, 2008 | Technology
So, I spent the weekend emerging all sorts of unfortunate things onto my laptop trying out all sort of music management software. These things included weird gtk, gnome, kde, mono and other stuff libraries. It was a mess everywhere and left me with an uneasy feeling in my stomach; I didn’t know what was on my system. Fortunately, emerge has it’s depclean feature which removes all unused dependencies and extraneous files from your machine. But I’ve always wondered how well it works…
It turns out that it works quite well.
I used a combination of qlist, find, cat, sort and uniq to determine which files were orphans on my system.
For all files which are supposed to be there: qlist -IC | xargs -n 1 qlist
Apart from some cache files, tmp files, a few configuration files and some portage related stuff, nothing was out of place.
So it’s a very clean management system. Hooray.
No comments yet.