Howdy Gentoo developers, When I made the transition from Gentoo rc6 to 1.0 I couldn't see a clear way to sync my /var/cache/edb/world file. Thus I developed the attached python code to populate my world file. First backup your current /var/cache/edb/world. After downloading the attachment, save it and give it execute permissions (chmod +x worldsync). As root execute /path/to/worldsync >/tmp/world (worldsync needs to be run as root, becuase it calls emerge). Then "less /tmp/world" and check that it looks sane. If it does then, mv /tmp/world /var/cache/edb/world Test with, emerge --update world --pretend Regards, Matthew
Created attachment 494 [details] worldsync * python code to generate a new world file for users who have made the rc6 to 1.0 migration. * no special deps, just python, portage and gentoolkit
I think this is more appropriate for the mail lists. We aren't going to incorporate a special world update tool into Portage itself, although many users may like to use it.
For those interested in using this, note that it requires gentoolkit because it uses qpkg.
Note that it can have duplicates in the output. Works great when piped like this: ./worldsync | sort | uniq > /var/cache/edb/world Thanks for creating this!
Note, recently the location on qpkg changed from /usr/sbin/qpkg to /usr/bin/qpkg. You need to edit worldsync to reflect that.