Gentoo Archives: gentoo-user

From: Per-Erik Westerberg <per-erik.westerberg@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to update portage offline with minimal impact?
Date: Tue, 08 Jan 2008 21:48:13
Message-Id: 1199828858.18850.2.camel@calvin.bredband.net
In Reply to: [gentoo-user] How to update portage offline with minimal impact? by BRM
1 tor 2008-01-03 klockan 13:16 -0800 skrev BRM:
2 > I have a couple Sparc systems. One has been running Gentoo for a long
3 > time - installed using Gentoo 2006, not updated since due to the issue
4 > I'm about the discuss - and the other is a near identical system that
5 > might get Gentoo 2007 installed. Both are on two separate networks and
6 > have no communication between them.
7 >
8 > The first system does have some Internet access through a firewall, but
9 > it doesn't really work, at least for this purpose; so it's just as good
10 > as not having any access at all for this purpose.
11 >
12 > The second system may or may not have Internet access, so for now let's
13 > just assume it doesn't. It's really this second system that I want to
14 > figure the problem out for.
15 >
16 > In either case, I can't update portage using the normal method of
17 > 'emerge --sync'. So, I'm trying to figure out a solution that would
18 > enable me to update the systems. Under Slackware, I'd just point
19 > pkgtool to the CD media and install from that, just like during
20 > installation. Is there a similar approach for Gentoo? How do I overcome
21 > the source mirror issue too so that the systems don't try to download
22 > stuff from the web?
23 >
24 > I could probably host an rsync server on the local systems to host
25 > portage, but how would I keep it up to date? Would I simply be able to
26 > extract a tarball into the directory rsync is serving up?
27 >
28 > I can get large tarballs or ISOs from other systems to these systems;
29 > but they won't be able to download them themselves.
30 >
31 > I noticed the Manual Download info in the FAQ:
32 > http://www.gentoo.org/doc/en/faq.xml#manualdownload
33 >
34 > However, that is not a solution I can use as I might not be the long
35 > term maintainer, and I'd like an easier solution as it requires a lot
36 > of work to download stuff. I'd like a solution similar to the
37 > following:
38 >
39 > # tar xvjf /portage-sources-<data>.tar.bz2 -C /my-portage-sources
40 > # tar xvjf /portage-<date>.tar.bz2 -C /my-portage
41 > # emerge --sync --portage-source /my-portage
42 > # emerge world -vuD --sources /my-portage-sources
43 >
44 > If there isn't a solution, I might look into how to make a solution
45 > (not sure).
46 >
47 > TIA,
48 >
49 > Ben
50
51 Hi,
52
53 Have you tried to use a proxy (adjust accordingly)?
54
55 export http_proxy=http://proxy.company.com:8080
56 export ftp_proxy=http://proxy.company.com:8080
57 export RSYNC_PROXY=proxy.company.com:8080
58
59 BR / P-E
60
61 --
62 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] How to update portage offline with minimal impact? BRM <bm_witness@×××××.com>