User:Sam/Portage help/Migrating to new repository data locations

About
This page gives a set of instructions for how to migrate from the old repository/data locations to the new locations used in e.g. stage3s going forward.

Instructions
Originally written by kurly from #gentoo.


 * 1) Remove (or comment out) any PORTDIR, DISTDIR , PKGDIR entries in
 * 2) Note the output of  for later
 * 3) If  does not exist, create it:


 * 1) Move  to
 * 2) Move  to
 * 3) Move  to
 * 4) Edit the location entry  (or equivalent) to
 * 5) Use  with the profile noted earlier
 * 6) Reinstall portage:

Additional steps:
 * 1) If you run a local rsync mirror, edit the path entry in  to point to
 * 2) If you share your distfiles, remember to update whatever symlink or config file you need for that