Gentoo Archives: gentoo-user

From: Ryan Sims <rwsims@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Migrating gentoo to a new machine
Date: Sun, 04 Feb 2007 14:57:19
Message-Id: 64e8d2f20702040649x6de8887ak872bc2976c0e3a65@mail.gmail.com
In Reply to: Re: [gentoo-user] Migrating gentoo to a new machine by Michal 'vorner' Vaner
1 On 2/3/07, Michal 'vorner' Vaner <michal.vaner@×××××××.net> wrote:
2 > Hello,
3 >
4 > On Sat, Feb 03, 2007 at 04:08:41PM +0800, Seo Boon, NG wrote:
5 > > Throught the years I've build-up a good collection of gentoo packages that I'm
6 > > currently running on my notebook. Now that I need to move to a new notebook, I
7 > > build another gentoo system where everything were smooth and I did a emerge
8 > > world/systems to get everything update. Now the question is - how do get gentoo
9 > > to emerge the exact same number of package like my old notebook? I've attempted
10 > > to move /var/lib/portage/world(which contain all the packages that I need) to
11 > > the new notebook and start a emerge world. I got an error and ask me to "emaint
12 > > -c" that I follow diligently which didn't quite help. I follow up with a "emaint
13 > > -f" and somehow it just get rid of all the packages that I need :(
14 >
15 > I would try (since the file looks quite friendly) emerge -va `cat
16 > /var/lib/portage/world`
17
18 Perhaps emerge -va `cat /var/lib/portage/world | xargs`?
19 I have found that bash worries about newlines in the middle of arguments
20
21
22 --
23 Ryan W Sims
24 --
25 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Migrating gentoo to a new machine "Bo Ørsted Andresen" <bo.andresen@××××.dk>