Jorge Almeida schreef: > I don't do much emerge world, I usually just "-p"-it and then emerge > each package, that's why I didn't think of that.
That seems like a waste of effort -- and 'corrupts' your world file, as well, since everything you emerge explicitly will be entered into your world file, and that will then include dependencies, which should by rights *not* be in your world file, nothing said about dependencies of dependencies, also known as 'deep dependencies'. You're really making a mess doing that; you'll screw up emerge --depclean, for one thing, since I have no idea what it would do if a dependency of an uninstalled package in your world file (which would normally make the package a valid target for depclean) is also in your world file, given that dependencies are not meant to be in your world file (thereby invalidating the now-useless package as a depclean target): man emerge --depclean Determines all packages installed on the system that have no explicit reason for being there. emerge generates a list of packages which it expects to be installed by checking the system package list and the world file. It then compares that list to the list of packages which are actually installed; the differences are listed as unnecessary packages and then unmerged after a short timeout. WARNING: Removing some packages may cause packages which link to the removed package to stop working and complain about missing libraries. Re-emerge the complaining package to fix this issue. Note that changes in USE flags can drastically affect the output of --depclean. But if a dependency of an uninstalled package is in your world file (which in your situation it could be), then it *does* have a reason for being there (because it's in the world file), so would not be cleaned, which is just not the way Portage is set up to work. You might consider changing -p to -a when doing an emerge world (--pretend to --ask), so that you can see what's being emerged and not have to go to all the effort of typing the emerge command again (or, heaven forfend, individual commands the way you do now) You might also consider adding -u (--update), -D (--deep), -t (--tree) and -v (--verbose) to 1) catch updated direct dependencies; 2) catch updated indirect (deep) dependencies, 3) see which packages are requiring that a dependency or deep dependency be updated; and 4) see what the USE flag status is for all requested-to-emerge packages. I don't offhand know how to 'fix' your world file, but I'm pretty sure that one of ecatmur's utilities, posted on the forums, is likely designed to solve this issue. I remember a thread called 'Clean out your World file'... can't find it, but there is this: Portage utilities not in Portage: http://forums.gentoo.org/viewtopic.php?t=67849 which ought to have something of use. Hope this helps, Holly -- gentoo-user@gentoo.org mailing list