From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1M3HaE-000314-L1 for garchives@archives.gentoo.org; Sun, 10 May 2009 22:33:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B287EE035B; Sun, 10 May 2009 22:33:21 +0000 (UTC) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by pigeon.gentoo.org (Postfix) with ESMTP id 76790E035B for ; Sun, 10 May 2009 22:33:21 +0000 (UTC) Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) by fire-doxen-postvirus (Postfix) with ESMTP id DB5E7328014 for ; Sun, 10 May 2009 15:33:20 -0700 (PDT) X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new Received: from [131.215.168.112] (DHCP-168-112.caltech.edu [131.215.168.112]) (Authenticated sender: nfortino) by fire-doxen-ssl (Postfix) with ESMTP id A0B91328001 for ; Sun, 10 May 2009 15:33:17 -0700 (PDT) Message-ID: <4A0755BB.8040006@gmail.com> Date: Sun, 10 May 2009 15:31:23 -0700 From: Nick Fortino User-Agent: Thunderbird 2.0.0.21 (X11/20090429) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] how to recover a portage that wasn't in use for very long time References: <1430318F-36A1-4095-B8DE-014A1915AC67@gmail.com> In-Reply-To: <1430318F-36A1-4095-B8DE-014A1915AC67@gmail.com> Content-Type: multipart/mixed; boundary="------------080906030001010300000401" X-Archives-Salt: 05eca0ea-89a7-4647-b7ef-dcb143e3b62b X-Archives-Hash: b7987967d26e48f250a66b0a3c1fce40 This is a multi-part message in MIME format. --------------080906030001010300000401 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Alexey Luchko wrote: > Hi! > > I have a gentoo installed, but I wasn't updating it since late 2007, I > suppose. > Today I've run emerge --sync. It worked! It's great ;) > > But then I've got the following collision. Obviously, a portage update > is required. But it is confused by dependencies: > colinux ~ # emerge portage --pretend --tree > > These are the packages that would be merged, in reverse order: > > Calculating dependencies... done! > [nomerge ] sys-apps/portage-2.1.6.11 [2.1.2.2] > [ebuild U ] app-shells/bash-3.2_p39 [3.1_p17] USE="-examples% > -plugins%" > [ebuild U ] sys-apps/portage-2.1.6.11 [2.1.2.2] > [ebuild U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5] > [ebuild U ] sys-apps/sandbox-1.6-r2 [1.2.17] > [ebuild N ] app-arch/lzma-utils-4.32.7 USE="-nocxx" > [ebuild N ] app-admin/eselect-news-20080320 > [ebuild U ] app-admin/eselect-1.0.11-r1 [1.0.7] USE="-vim-syntax%" > [ebuild U ] app-misc/pax-utils-0.1.19 [0.1.15] > [blocks B ] app-shells/bash-3.2_p39) > colinux ~ # > > > How to get it out? > > > Regards, > Alexey. > > > > I worked on this a couple months back to make it possible. The key is to download binary packages of portage and a few dependencies to break the block. Once portage is upgraded, it's smart enough to figure things out now. An original script an discussion can be found at http://blog.jolexa.net/2009/03/25/gentoo-tips-to-upgrade-your-really-old-installation/ A slightly modified version is here inline. I would recommend against running it as a script, but rather do the steps individually (also, if you aren't running amd64, be sure to change the architecture of the binaries you are downloading). Read this line as typical warnings of your mileage may very etc. Nick --------------080906030001010300000401 Content-Type: text/plain; name="upgrade_guide.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="upgrade_guide.txt" #Version 0.2, written by Nick Fortino #April 03, 2009 #This is known to work on systems younger than 2006.1, and suspected to fail #on anything older due to