On Fri, Jan 20, 2012 at 3:09 PM, Grant <emailgr...@gmail.com> wrote:
>>> I have an old Gentoo system that hasn't been updated or used at all in
>>> at least 2 years.  It's remote but I have SSH access.  I've updated
>>> portage but I thought I should check with you guys before I plow ahead
>>> with emerge -DuN world.  It won't be used for anything until I bring
>>> it up to speed and someone can physically log in and issue commands a
>>> couple times per week so an outage isn't the end of the world.  Any
>>> advice?
>>
>> Take small steps. emerge -pv @system first and be prepared to emerge
>> packages a few at a time.
>
> Weird, it looks like portage didn't update to the latest version.
> emerging it again seems to want to update it again.  I get this:
>
> # emerge -pv portage
> [snip]
> [ebuild  NS   ] dev-lang/python-2.7.2-r3 [2.5.2-r7] USE="gdbm ncurses
> readline ssl threads (wide-unicode) xml -berkdb -build -doc -examples
> -ipv6 -sqlite -tk -wininst" 11,494 kB
> [ebuild     U ] sys-apps/portage-2.1.10.41 [2.1.6.13] USE="(ipc%*)
> -build -doc -epydoc -python2% -python3% (-selinux) (-less%*)"
> LINGUAS="-pl" 899 kB
> [blocks B     ] dev-lang/python:2.7 ("dev-lang/python:2.7" is blocking
> sys-apps/portage-2.1.6.13)
> [blocks B     ] <sys-apps/portage-2.1.9 ("<sys-apps/portage-2.1.9" is
> blocking dev-lang/python-2.7.2-r3)
>
> I think I'll be able to resolve most stuff myself but this one is
> tricking me.  I don't want to mess around unmerging python or portage.
>
> - Grant
>

OK, so the install is old and portage has dependencies, right?

emerge -pvDuN portage

will get you closer. However this is probably best covered using
Neil's suggestion of

emerge -pvDuN @system

which would, if successful, update portage as well as everything else
that's required to get the machine up and running.

If that does work then don't forget all the eselect python &
gcc-config type stuff that you'll need to do to tell the system about
the new environment.

One little area you might want to be careful about here is grub. Best
IMO if you do not update grub until you have the machine actually
booting the updated environment, assuming we get that far.

HTH,
Mark

Reply via email to