From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.62)
	(envelope-from <gentoo-user+bounces-59492-garchives=archives.gentoo.org@gentoo.org>)
	id 1HDinv-0000Xa-0e
	for garchives@archives.gentoo.org; Sun, 04 Feb 2007 14:57:19 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l14EuCcK013973;
	Sun, 4 Feb 2007 14:56:12 GMT
Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.234])
	by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l14Enx7I005906
	for <gentoo-user@lists.gentoo.org>; Sun, 4 Feb 2007 14:50:00 GMT
Received: by hu-out-0506.google.com with SMTP id 24so637255hud
        for <gentoo-user@lists.gentoo.org>; Sun, 04 Feb 2007 06:49:59 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=beta;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=OVSyI+epqTzg1F3/E16Hpec14UgwbkVrpbiMNeXO14ZKqTjuroxCOvZbtwZwUVOc89oIIoWez5g6LA4j7PXXs2GfnxX/PjAKia/J1NIZ06+QL5PuSSzuXZ3J1I3s1mrIEapyRIzAkmeFMqE6tAOLKHOcndJCfY4bTTZhnhws5n0=
Received: by 10.78.106.3 with SMTP id e3mr989921huc.1170600599042;
        Sun, 04 Feb 2007 06:49:59 -0800 (PST)
Received: by 10.78.83.10 with HTTP; Sun, 4 Feb 2007 06:49:59 -0800 (PST)
Message-ID: <64e8d2f20702040649x6de8887ak872bc2976c0e3a65@mail.gmail.com>
Date: Sun, 4 Feb 2007 09:49:59 -0500
From: "Ryan Sims" <rwsims@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Migrating gentoo to a new machine
In-Reply-To: <20070203102913.GA13124@tarantula>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <20070203080841.GA15356@cisco.com>
	 <20070203102913.GA13124@tarantula>
X-Archives-Salt: 7addf47d-4127-4888-a372-08d98be908cf
X-Archives-Hash: d00f8d6f95d7174cca56d0d8317b1f8e

On 2/3/07, Michal 'vorner' Vaner <michal.vaner@kdemail.net> wrote:
> Hello,
>
> On Sat, Feb 03, 2007 at 04:08:41PM +0800, Seo Boon, NG wrote:
> > Throught the years I've build-up a good collection of gentoo packages that I'm
> > currently running on my notebook. Now that I need to move to a new notebook, I
> > build another gentoo system where everything were smooth and I did a emerge
> > world/systems to get everything update. Now the question is - how do get gentoo
> > to emerge the exact same number of package like my old notebook? I've attempted
> > to move /var/lib/portage/world(which contain all the packages that I need) to
> > the new notebook and start a emerge world. I got an error and ask me to "emaint
> > -c" that I follow diligently which didn't quite help. I follow up with a "emaint
> > -f" and somehow it just get rid of all the packages that I need :(
>
> I would try (since the file looks quite friendly) emerge -va `cat
> /var/lib/portage/world`

Perhaps emerge -va `cat /var/lib/portage/world | xargs`?
I have found that bash worries about newlines in the middle of arguments


-- 
Ryan W Sims
-- 
gentoo-user@gentoo.org mailing list