Talk:Upgrading Gentoo

Upgrading old gentoo
I'm not actually using this to upgrade an old gentoo, but rather i've borked perl quite badly and am looking to correct it. (I've searched for days and asked in the gentoo irc channels for help and even they are stumped so this is very much an idea of my own.) My idea is that with a working stage3 install in the build directory i can use that as the base and emerge -e world to hopefully recomplile everything properly, right now @inc points to perl in every place it isn't (adding the new places didn't help as it is looking for 5.18 (which is hardmasked) and not 5.16 (moral of my story here is don't use cpan to try and install 5.18 when it asks without checking why its not been updated via portage yet), i went for a symlink style approach but the version mismatch caused it to bail.

Anyway root # tar -xf -C /mnt/build /path/to/stage3-somearch-somedate.tar.bz2

That moans about there being no such file or directory, i've obviously changed the "somearch-somedate" part, i even went and used the handbook approach of "stage3-*.tar.bz2" and /mnt/build does exist. Even redoing via: rmdir /mnt/build and then mkdir /mnt/build and still had the same issue.

Eventually i just went with the handbook style of doing an initial install.

mkdir /mnt/build cd /mnt/build

wget http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3/stage3-amd64-20131226.tar.bz2 (Change that for whatever host you want to use and the current stage3 etc.) tar xvjpf stage3-*.tar.bz2 and you're done. Not sure why the -C wouldn't function but i am just popping this here incase someone finds the same thing and wonders how to get around it. - Killerc (talk) 00:48, 13 January 2014 (UTC)