public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: BRM <bm_witness@yahoo.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to update portage offline with minimal impact?
Date: Tue, 8 Jan 2008 13:25:20 -0800 (PST)	[thread overview]
Message-ID: <270559.72868.qm@web60019.mail.yahoo.com> (raw)
In-Reply-To: <1199667511.10209.26.camel@orpheus>

--- Iain Buchanan <iaindb@netspace.net.au> wrote:
> 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!

Thanks. I'll have to see about giving it a try; not sure how well it'll
work on the one system; and I'll have to run it past my other admins
for the other system. Any how...

Thanks.

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



  reply	other threads:[~2008-01-08 21:26 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
2008-01-08 21:25   ` BRM [this message]
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=270559.72868.qm@web60019.mail.yahoo.com \
    --to=bm_witness@yahoo.com \
    --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