Re: [gentoo-user] Migrating gentoo to a new machine
On 2/3/07, Michal 'vorner' Vaner [EMAIL PROTECTED] 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
Re: [gentoo-user] Migrating gentoo to a new machine
On Sunday 04 February 2007 15:49:59 Ryan Sims wrote: Perhaps emerge -va `cat /var/lib/portage/world | xargs`? I have found that bash worries about newlines in the middle of arguments There's no need for xargs since putting it in ` ` does put it on one line. --noreplace, however, might be useful. This works too... :) # emerge -va --noreplace $( /var/lib/portage/world ) -- Bo Andresen pgp8UQXm5AHrG.pgp Description: PGP signature
Re: [gentoo-user] Migrating gentoo to a new machine
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` -- chown -R us $BASE Michal 'vorner' Vaner pgp9YEsmXT8GQ.pgp Description: PGP signature