public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: Denis Bondar <bondario@gmail.com>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] Old Gentoo server - portage outdated - how to upgrade in-place
Date: Wed, 29 Jun 2011 14:07:42 +0400	[thread overview]
Message-ID: <BANLkTimu32dnVPqHQgX0Ew=bgjL8CM2c_A@mail.gmail.com> (raw)
In-Reply-To: <4E0AEF89.6040705@iil.ie>

[-- Attachment #1: Type: text/plain, Size: 1364 bytes --]

Try this:

> Get the post 2.6 python source and compile:

emerge --fetchonly =dev-lang/python-2.7.1-r1
cd
tar xjf /usr/portage/distfiles/Python-2.7.1.tar.bz2
cd Python-2.7.1/
./configure --with-fpectl --infodir=/usr/share/info/
--mandir=/usr/share/man
make
make install prefix=/usr
rm /usr/bin/python 2>/dev/null
ln -s /usr/bin/python2.7 /usr/bin/python

> get portage bin, copy then compile on your own, just to be safe

wget -P /usr/portage/distfiles
http://distfiles.gentoo.org/distfiles/portage-2.1.9.42.tar.bz2
cd /root
mkdir portage-recover
cd portage-recover
tar xfj /usr/portage/distfiles/portage-2.1.9.42.tar.bz2
cd /root/portage-recover/portage-2.1.9.42
rm -rf /usr/lib/portage/*
cp -R pym bin /usr/lib/portage/
emerge sys-apps/portage

> emerge python 2.7.1 just to be safe
eselect python list
eselect python set 3
emerge =dev-lang/python-2.7.1-r1

> Run Python Updater now that you have the new python set as the master
python on your system
python-updater

> Then update any configs
etc-update


2011/6/29 Todd Hebert <todd@iil.ie>

> Does anyone know of a howto etc.. for dropping a new portage version into a
> system where you can't BUILD a new portage version due to license
> restrictions. (Portage doesn't understand the EAPI 2 license scheme, and
> there are items that require it in order to build.)
>
>
>
>
>


-- 
Kind regards,
Denis Bondar

[-- Attachment #2: Type: text/html, Size: 2169 bytes --]

  reply	other threads:[~2011-06-29 11:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-29  2:00 [gentoo-server] Extract usernames from Active Directory Pandu Poluan
2011-06-29  4:05 ` Brian Kroth
2011-06-29  9:25   ` [gentoo-server] Old Gentoo server - portage outdated - how to upgrade in-place Todd Hebert
2011-06-29 10:07     ` Denis Bondar [this message]
2011-06-29 11:17       ` Todd Hebert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTimu32dnVPqHQgX0Ew=bgjL8CM2c_A@mail.gmail.com' \
    --to=bondario@gmail.com \
    --cc=gentoo-server@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox