Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can you use world as a mass installer?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Paradigmbreak
n00b
n00b


Joined: 02 Sep 2003
Posts: 64

PostPosted: Mon Oct 20, 2003 1:55 am    Post subject: Can you use world as a mass installer? Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Mon Oct 20, 2003 2:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Paradigmbreak
n00b
n00b


Joined: 02 Sep 2003
Posts: 64

PostPosted: Mon Oct 20, 2003 2:21 am    Post subject: Reply with quote

I tried that but emerge spits back that none of the packages in world are installed and stops.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Mon Oct 20, 2003 2:52 am    Post subject: Reply with quote

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
View user's profile Send private message
Paradigmbreak
n00b
n00b


Joined: 02 Sep 2003
Posts: 64

PostPosted: Mon Oct 20, 2003 2:58 am    Post subject: Reply with quote

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
View user's profile Send private message
ben_h
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2002
Posts: 118
Location: Australia

PostPosted: Mon Oct 20, 2003 3:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Paradigmbreak
n00b
n00b


Joined: 02 Sep 2003
Posts: 64

PostPosted: Mon Oct 20, 2003 3:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Paradigmbreak
n00b
n00b


Joined: 02 Sep 2003
Posts: 64

PostPosted: Sun Nov 23, 2003 7:12 pm    Post subject: Reply with quote

Almost forgot to followup. Works like a charm.

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum