From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JBgEZ-00063g-53 for garchives@archives.gentoo.org; Mon, 07 Jan 2008 00:52:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5153E04C4; Mon, 7 Jan 2008 00:52:34 +0000 (UTC) Received: from mail.netspace.net.au (mail-out5.netspace.net.au [203.10.110.92]) by pigeon.gentoo.org (Postfix) with ESMTP id DC1D9E04C2 for ; Mon, 7 Jan 2008 00:52:33 +0000 (UTC) Received: from [172.16.0.52] (ppp246-231.static.internode.on.net [203.122.246.231]) by mail.netspace.net.au (Postfix) with ESMTP id 779161708FB for ; Mon, 7 Jan 2008 11:52:30 +1100 (EST) Subject: Re: [gentoo-user] How to update portage offline with minimal impact? From: Iain Buchanan To: gentoo-user@lists.gentoo.org In-Reply-To: <254100.90879.qm@web60021.mail.yahoo.com> References: <254100.90879.qm@web60021.mail.yahoo.com> Content-Type: text/plain Date: Mon, 07 Jan 2008 10:28:31 +0930 Message-Id: <1199667511.10209.26.camel@orpheus> 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 X-Mailer: Evolution 2.12.2 Content-Transfer-Encoding: 7bit X-Archives-Salt: 73207bca-47ac-4091-a595-744a9622f3a1 X-Archives-Hash: 70117e67729a7a59eca90d0cbde5b8c5 On Thu, 2008-01-03 at 13:16 -0800, BRM wrote: [snip] > However, that is not a solution I can use as I might not be the long > term maintainer, and I'd like an easier solution as it requires a lot > of work to download stuff. I'd like a solution similar to the > following: > > # tar xvjf /portage-sources-.tar.bz2 -C /my-portage-sources > # tar xvjf /portage-.tar.bz2 -C /my-portage > # emerge --sync --portage-source /my-portage > # emerge world -vuD --sources /my-portage-sources This has come up before, so I know some people here have a bit of experience with doing it. Essentially it's possible. I think the steps required are: - download a portage snapshot as you would in an initial install, or create your own from another gentoo machine (more info here: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=5#installing_portage) - you may need to run `emerge --metadata` after unpacking it, or something like that - someone else can comment here :) - then follow your manual download instructions: `emerge -ufpDN world` and download all these packages on another box - transfer the packages to /usr/portage/distfiles, and check you got them all with `emerge -ufDN world`. You should have no fetch errors. - then go! `emerge -uvaDN world` Notes: - when creating your own snapshot, exclude /usr/portage/distfiles, /usr/portage/packages, (and others?) - I would recommend -N as you might see some new features since you haven't updated in a while Hopefully someone will fix any holes I left, otherwise this should work! -- Iain Buchanan There's a lot to be said for not saying a lot. -- gentoo-user@lists.gentoo.org mailing list