1 |
On Thu, 2008-01-03 at 13:16 -0800, BRM wrote: |
2 |
|
3 |
[snip] |
4 |
|
5 |
> However, that is not a solution I can use as I might not be the long |
6 |
> term maintainer, and I'd like an easier solution as it requires a lot |
7 |
> of work to download stuff. I'd like a solution similar to the |
8 |
> following: |
9 |
> |
10 |
> # tar xvjf /portage-sources-<data>.tar.bz2 -C /my-portage-sources |
11 |
> # tar xvjf /portage-<date>.tar.bz2 -C /my-portage |
12 |
> # emerge --sync --portage-source /my-portage |
13 |
> # emerge world -vuD --sources /my-portage-sources |
14 |
|
15 |
This has come up before, so I know some people here have a bit of |
16 |
experience with doing it. Essentially it's possible. I think the steps |
17 |
required are: |
18 |
|
19 |
- download a portage snapshot as you would in an initial install, or |
20 |
create your own from another gentoo machine (more info here: |
21 |
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=5#installing_portage) |
22 |
- you may need to run `emerge --metadata` after unpacking it, or |
23 |
something like that - someone else can comment here :) |
24 |
- then follow your manual download instructions: `emerge -ufpDN world` |
25 |
and download all these packages on another box |
26 |
- transfer the packages to /usr/portage/distfiles, and check you got |
27 |
them all with `emerge -ufDN world`. You should have no fetch errors. |
28 |
- then go! `emerge -uvaDN world` |
29 |
|
30 |
Notes: |
31 |
- when creating your own snapshot, |
32 |
exclude /usr/portage/distfiles, /usr/portage/packages, (and others?) |
33 |
- I would recommend -N as you might see some new features since you |
34 |
haven't updated in a while |
35 |
|
36 |
Hopefully someone will fix any holes I left, otherwise this should work! |
37 |
-- |
38 |
Iain Buchanan <iaindb at netspace dot net dot au> |
39 |
|
40 |
There's a lot to be said for not saying a lot. |
41 |
|
42 |
-- |
43 |
gentoo-user@l.g.o mailing list |