Grant Taylor wrote: > On 6/5/19 9:18 PM, Dale wrote: >> I would start by removing anything that has libs in it. Generally, >> those should be pulled in as deps. After that, I'd go through the >> list and remove anything that you don't directly use. > > ACK > > Can I just edit /var/lib/portage/world? Or do I need to do something > else?
It's a plain text file and I've edited it in the past with no problems. I've done that cleanup before and it can take some time to accomplish depending on how bad it is. I went through this when I first started using Gentoo and didn't know any better. I'd do small chunks and keep a versioned back up file just in case. I've also used the script once. It does fairly well. It may miss a couple here and there and may have a few false positives as well. Still it can do some heavy lifting for you. I'd copy the world file to a safe place and try the script. I'd try it once with the old world file in place and once without a world file at all. Then see which one works best. If that fails, do it manually. Good luck. I hope one or the other works. Dale :-) :-)

