Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
possibly a very silly question
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
lf21
n00b
n00b


Joined: 16 Sep 2003
Posts: 14

PostPosted: Mon Sep 29, 2003 10:01 pm    Post subject: possibly a very silly question Reply with quote

If I wanted to reinstall everything from scratch (GRP), would it help to copy my entire existing Portage directory (emerge sync'ed) temporarily and replace it when asked for the portage snapshot during install? Would it save me the trouble of downloading the packages all over again?
Would Portage know of newly downloaded distfiles and use them form a fresh install

thanks
Back to top
View user's profile Send private message
Ionflux
n00b
n00b


Joined: 28 Sep 2003
Posts: 29

PostPosted: Mon Sep 29, 2003 11:53 pm    Post subject: Reply with quote

I'm not sure whether I understood your question correctly, but i think portage will use any suitable packages in /usr/portage/distfiles. So if you want to save the trouble of downloading them again for a second install, just copying them back should work fine.
_________________
"The Multiverse doesn't make sense, and it ain't supposed to."
Back to top
View user's profile Send private message
IvD
n00b
n00b


Joined: 29 Sep 2003
Posts: 17
Location: Haarlem, The Netherlands

PostPosted: Tue Sep 30, 2003 10:44 am    Post subject: Reply with quote

This would indeed save time. portage checks the contents of /usr/portage/distfiles, so when no newer package is available online it would use the one already downloaded.
I *think* That saving the entire /usr/portage directory would save even more time when the emerge sync command is given. (He only needs to update the tree and not to download everything anymore.) But like I said I'm not sure about that one.
Back to top
View user's profile Send private message
moshiach
n00b
n00b


Joined: 19 Sep 2003
Posts: 68

PostPosted: Tue Sep 30, 2003 3:49 pm    Post subject: Reply with quote

It definitely works and saved me about 5 hours the last time I installed. I keep my portage distfiles and bin packages on a seperate partition just for this purpose. If your packages are compiled correctly you can then do a emerge -K packagename and not have to go through the recompile time. Works wonders. If you just do a emerge packagename it will find the distfile and compile it.

Check your /etc/make.conf for the locations of DISTDIR and PKGDIR and modify them accordingly.
_________________
Linux: More fun than porn.
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