public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Iain Buchanan <iaindb@netspace.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to update portage offline with minimal impact?
Date: Mon, 07 Jan 2008 10:28:31 +0930	[thread overview]
Message-ID: <1199667511.10209.26.camel@orpheus> (raw)
In-Reply-To: <254100.90879.qm@web60021.mail.yahoo.com>


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-<data>.tar.bz2 -C /my-portage-sources
> # tar xvjf /portage-<date>.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 <iaindb at netspace dot net dot au>

There's a lot to be said for not saying a lot.

-- 
gentoo-user@lists.gentoo.org mailing list



  reply	other threads:[~2008-01-07  0:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-03 21:16 [gentoo-user] How to update portage offline with minimal impact? BRM
2008-01-07  0:58 ` Iain Buchanan [this message]
2008-01-08 21:25   ` BRM
2008-01-08 21:47 ` Per-Erik Westerberg
2008-01-08 22:13   ` BRM
2008-01-09  4:19     ` Daniel da Veiga
2008-01-09  4:49       ` BRM

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=1199667511.10209.26.camel@orpheus \
    --to=iaindb@netspace.net.au \
    --cc=gentoo-user@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