What is the best way to clean up the world file?
I have inherited a system where someone did individual emerges to update
packages when there was a single package that had a problem. So, now
all the packages that emerge wanted to update have been added to the
world file.
I'd like to clean up world file so that it's back to just the original
packages and allow emerge to manage the dependencies. More
specifically, I'd like the standard emerge --depclean to remove
no-longer-needed dependencies after removing the things that depended on
them.
I can derive a list of the extra dependencies from the
/var/log/emerge.log file by looking for clusters of individual installs
really close to each other.