Re: [gentoo-user] Want same ol' gentoo on new box
On Wednesday 06 July 2005 17:44, Mike Markowski wrote: I'll be changing jobs Monday and want to be sure I bring along enough to easily rebuild the sort of gentoo set up I currently enjoy. After installing, will it be enough to use my current /var/lib/portage/world and /etc/make.conf followed by 'emerge -uDf world', etc., to get me going? Or am I overlooking other important system files? (I'll remember to remove hardware dependent world entries like graphics card drivers.) Thanks! Mike Did a similar same thing about two weeks ago. but found it better to copy the world file, make.conf and /etc/portage/package.keywords (if you have it) file, and the entire /etc dir to some other place, then install from stage three, put package.keywords and make.conf in place and do cat /someplace/world | xargs emerge -avD then get a beer, chips and a movie (unless you have some insane SMP system). after that copy over everything you need from your old /etc. and there you are. worked like a charm. greets benny -- gentoo-user@gentoo.org mailing list
[gentoo-user] Want same ol' gentoo on new box
I'll be changing jobs Monday and want to be sure I bring along enough to easily rebuild the sort of gentoo set up I currently enjoy. After installing, will it be enough to use my current /var/lib/portage/world and /etc/make.conf followed by 'emerge -uDf world', etc., to get me going? Or am I overlooking other important system files? (I'll remember to remove hardware dependent world entries like graphics card drivers.) Thanks! Mike -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Want same ol' gentoo on new box
On 11:44 Wed 06 Jul , Mike Markowski wrote: I'll be changing jobs Monday and want to be sure I bring along enough to easily rebuild the sort of gentoo set up I currently enjoy. After installing, will it be enough to use my current /var/lib/portage/world and /etc/make.conf followed by 'emerge -uDf world', etc., to get me going? Or am I overlooking other important system files? (I'll remember to remove hardware dependent world entries like graphics card drivers.) Thanks! Mike Not exactly - you can't just copy /var/lib/portage/world, since portage will complain about packages in the world file not being installed (at least, that was the behaviour not long ago and I don't imagine it's changed). You can however copy /var/lib/portage/world to some other location on your new computer, and do something like emerge `cat oldworld`. You might want to copy things other than just /etc/make.conf from your current install - if you've edited any config files (say /etc/vim/vimrc, for example). I can't think of anything you'll definitely want to copy across when changing computers, just stuff that you know you've edited a lot and don't want to loose. (Oh, and I assume you know that you might need to have a different make.conf to before depending on how different the 2 computers are). Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Want same ol' gentoo on new box
Actually, you can replace your world file provided you use emerge --emptytree --deep --newuse world, and portage won't complain that packages aren't installed as the emptytree tells portage to (rightly in this case) assume nothing is installed yet, including portage itself. On 7/6/05, David Morgan [EMAIL PROTECTED] wrote: On 11:44 Wed 06 Jul , Mike Markowski wrote: I'll be changing jobs Monday and want to be sure I bring along enough to easily rebuild the sort of gentoo set up I currently enjoy. After installing, will it be enough to use my current /var/lib/portage/world and /etc/make.conf followed by 'emerge -uDf world', etc., to get me going? Or am I overlooking other important system files? (I'll remember to remove hardware dependent world entries like graphics card drivers.) Thanks! Mike Not exactly - you can't just copy /var/lib/portage/world, since portage will complain about packages in the world file not being installed (at least, that was the behaviour not long ago and I don't imagine it's changed). You can however copy /var/lib/portage/world to some other location on your new computer, and do something like emerge `cat oldworld`. You might want to copy things other than just /etc/make.conf from your current install - if you've edited any config files (say /etc/vim/vimrc, for example). I can't think of anything you'll definitely want to copy across when changing computers, just stuff that you know you've edited a lot and don't want to loose. (Oh, and I assume you know that you might need to have a different make.conf to before depending on how different the 2 computers are). Dave -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Want same ol' gentoo on new box
On 09:52 Wed 06 Jul , Wade Brown wrote: Actually, you can replace your world file provided you use emerge --emptytree --deep --newuse world, and portage won't complain that packages aren't installed as the emptytree tells portage to (rightly in this case) assume nothing is installed yet, including portage itself. Oddly enough, I just added a package that I don't have installed to my world file, and did emerge -uvD world and it didn't complain (or remove it from my world file). I know this hadn't used to be the case though. So yeh, I guess you can just copy the old world file across and do emerge -e world. Dave -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Want same ol' gentoo on new box
Actually, you can replace your world file provided you use emerge --emptytree --deep --newuse world, and portage won't complain that packages aren't installed as the emptytree tells portage to (rightly in this case) assume nothing is installed yet, including portage itself. Oddly enough, I just added a package that I don't have installed to my world file, and did emerge -uvD world and it didn't complain (or remove it from my world file). I know this hadn't used to be the case though. So yeh, I guess you can just copy the old world file across and do emerge -e world. I think that there may be problems with adding a package that had dependencies that you don't already have installed. Adding a package, as you did, that has all dependencies already satisfied on your system probably would work. But I'd still be worried that adding a package that does not have dependencies satisfied to the world file would not be a good thing (unless of course you are using the emptytree option). Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Want same ol' gentoo on new box
On Wed, 06 Jul 2005 13:31:03 -0400, Dave Nebinger wrote: But I'd still be worried that adding a package that does not have dependencies satisfied to the world file would not be a good thing (unless of course you are using the emptytree option). I don't see why it should cause a problem. Portage is quite capable of calculating the dependencies and installing them. The situation is no different from uninstalling a dependency of an installed package. The next emerge --deep world will reinstall it. -- Neil Bothwick Daddy? What's this little red button for? pgpAH1Z2cf4Fy.pgp Description: PGP signature
Re: [gentoo-user] Want same ol' gentoo on new box
On 19:04 Wed 06 Jul , Neil Bothwick wrote: On Wed, 06 Jul 2005 13:31:03 -0400, Dave Nebinger wrote: But I'd still be worried that adding a package that does not have dependencies satisfied to the world file would not be a good thing (unless of course you are using the emptytree option). I don't see why it should cause a problem. Portage is quite capable of calculating the dependencies and installing them. The situation is no different from uninstalling a dependency of an installed package. The next emerge --deep world will reinstall it. Well, I only did it to see what would happen. I also tried moving /var/db/pkg to somewhere else and did emerge -uavD world, which had the same affect as doing emerge -ae world normally. So, my original advice was wrong it seems (well, more out of date than wrong, since I tried to do what the OP wanted to do a while ago, and portage complained about things not being installed). That said, it would still be one way of doing it, just not the simplest way. Dave -- gentoo-user@gentoo.org mailing list