View previous topic :: View next topic |
Author |
Message |
Paradigmbreak n00b
Joined: 02 Sep 2003 Posts: 64
|
Posted: Mon Oct 20, 2003 1:55 am Post subject: Can you use world as a mass installer? |
|
|
I am in the process of rebuilding a system and was curious whether you could populate /usr/cache/edb/world with all the packages you wanted and then run emerge world --emptytree? From reading the documentation it would seem you could, but I just wanted to confirm it before I leave my computer alone for a couple of days to get it done.
Thanks |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Oct 20, 2003 2:02 am Post subject: |
|
|
Yes, that would work. You don't need to use --emptytree unless you want it to also recompile packages that are already installed. "emerge world" should do the trick. |
|
Back to top |
|
|
Paradigmbreak n00b
Joined: 02 Sep 2003 Posts: 64
|
Posted: Mon Oct 20, 2003 2:21 am Post subject: |
|
|
I tried that but emerge spits back that none of the packages in world are installed and stops. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Oct 20, 2003 2:52 am Post subject: |
|
|
How early in the installation are you trying to do this ?
I think you would need to be at least up to a stage3 installation before it would work.
EDIT: Try "emerge -u world" and see if it works better. |
|
Back to top |
|
|
Paradigmbreak n00b
Joined: 02 Sep 2003 Posts: 64
|
Posted: Mon Oct 20, 2003 2:58 am Post subject: |
|
|
I am already through my first reboot. emerge -up gets me nothing at all to be upgaded.
Perhaps i should just shoot the moon and go for it?
emerge -eu world here i come? |
|
Back to top |
|
|
ben_h Tux's lil' helper
Joined: 26 Nov 2002 Posts: 118 Location: Australia
|
Posted: Mon Oct 20, 2003 3:01 am Post subject: |
|
|
Just a bit of a brainstorm, but it might be better to put the names of the packages in a text file, then make a little bash script to emerge them all normally.
Code: | cat ebuild-list | while read f; do
emerge $f
done |
Any use? |
|
Back to top |
|
|
Paradigmbreak n00b
Joined: 02 Sep 2003 Posts: 64
|
Posted: Mon Oct 20, 2003 3:09 am Post subject: |
|
|
Cool idea. The script is running.
Let you know in a day or so (thankfully it is a dual xeon).
Incidentally, i like this approach as it won't bother with all the system stuff (like portage).
Thanks. |
|
Back to top |
|
|
Paradigmbreak n00b
Joined: 02 Sep 2003 Posts: 64
|
Posted: Sun Nov 23, 2003 7:12 pm Post subject: |
|
|
Almost forgot to followup. Works like a charm.
Thanks. |
|
Back to top |
|
|
|