On 07/06/2012 09:00 AM, Bill Kenworthy wrote: > On Fri, 2012-07-06 at 08:41 +0530, Nilesh Govindrajan wrote: >> Hi, >> I yesterday got a ssd to replace my kaput hdd which had no data but >> os. >> Apparently something went wrong while migration, and now everything >> disappeared in portage's world list. >> >> So whenever I run depclean it tries to remove all packages. How to fix >> this? >> >> I don't have data on original hdd now, zeroed it. >> > > troll ~ # regenworld --help > This script regenerates the portage world file by checking the portage > logfile for all actions that you've done in the past. It ignores any > arguments except --help. It is recommended that you make a backup of > your existing world file (/var/lib/portage/world) before using this > tool. > troll ~ # > > > >
This fixed the problem. It generated some extra packages, but I fixed them. @everyone, thanks for your replies. For some reason the this reply wasn't sent earlier and got saved as draft. -- Nilesh Govindrajan http://nileshgr.com