* [gentoo-user] Want same ol' gentoo on new box
@ 2005-07-06 15:44 Mike Markowski
2005-07-06 16:30 ` David Morgan
2005-07-07 7:01 ` Benjamin Fritzsche
0 siblings, 2 replies; 8+ messages in thread
From: Mike Markowski @ 2005-07-06 15:44 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Want same ol' gentoo on new box
2005-07-06 15:44 [gentoo-user] Want same ol' gentoo on new box Mike Markowski
@ 2005-07-06 16:30 ` David Morgan
2005-07-06 16:52 ` Wade Brown
2005-07-07 7:01 ` Benjamin Fritzsche
1 sibling, 1 reply; 8+ messages in thread
From: David Morgan @ 2005-07-06 16:30 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Want same ol' gentoo on new box
2005-07-06 16:30 ` David Morgan
@ 2005-07-06 16:52 ` Wade Brown
2005-07-06 17:13 ` David Morgan
0 siblings, 1 reply; 8+ messages in thread
From: Wade Brown @ 2005-07-06 16:52 UTC (permalink / raw
To: gentoo-user
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 <david.morgan@wadham.oxford.ac.uk> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Want same ol' gentoo on new box
2005-07-06 16:52 ` Wade Brown
@ 2005-07-06 17:13 ` David Morgan
2005-07-06 17:31 ` Dave Nebinger
0 siblings, 1 reply; 8+ messages in thread
From: David Morgan @ 2005-07-06 17:13 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [gentoo-user] Want same ol' gentoo on new box
2005-07-06 17:13 ` David Morgan
@ 2005-07-06 17:31 ` Dave Nebinger
2005-07-06 18:04 ` Neil Bothwick
0 siblings, 1 reply; 8+ messages in thread
From: Dave Nebinger @ 2005-07-06 17:31 UTC (permalink / raw
To: gentoo-user
> > 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Want same ol' gentoo on new box
2005-07-06 17:31 ` Dave Nebinger
@ 2005-07-06 18:04 ` Neil Bothwick
2005-07-06 19:38 ` David Morgan
0 siblings, 1 reply; 8+ messages in thread
From: Neil Bothwick @ 2005-07-06 18:04 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 587 bytes --]
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?
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Want same ol' gentoo on new box
2005-07-06 18:04 ` Neil Bothwick
@ 2005-07-06 19:38 ` David Morgan
0 siblings, 0 replies; 8+ messages in thread
From: David Morgan @ 2005-07-06 19:38 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Want same ol' gentoo on new box
2005-07-06 15:44 [gentoo-user] Want same ol' gentoo on new box Mike Markowski
2005-07-06 16:30 ` David Morgan
@ 2005-07-07 7:01 ` Benjamin Fritzsche
1 sibling, 0 replies; 8+ messages in thread
From: Benjamin Fritzsche @ 2005-07-07 7:01 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-07-07 7:08 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-06 15:44 [gentoo-user] Want same ol' gentoo on new box Mike Markowski
2005-07-06 16:30 ` David Morgan
2005-07-06 16:52 ` Wade Brown
2005-07-06 17:13 ` David Morgan
2005-07-06 17:31 ` Dave Nebinger
2005-07-06 18:04 ` Neil Bothwick
2005-07-06 19:38 ` David Morgan
2005-07-07 7:01 ` Benjamin Fritzsche
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox