* [gentoo-user] cloning + upgrade howto?
@ 2009-07-23 6:54 Helmut Jarausch
2009-07-23 7:09 ` Neil Bothwick
0 siblings, 1 reply; 10+ messages in thread
From: Helmut Jarausch @ 2009-07-23 6:54 UTC (permalink / raw
To: gentoo-user
Hi,
I'd like to transfer a GenToo installation from old hardware to a new
machine (adm64).
I've a running Gentoo system which has exactly the same hardware as
these new machines but this system has much fewer packages installed.
Is it possible to clone this running Gentoo system, essentially
overwrite
/var/lib/portage/world
with the larger version of the old hardware except some 64bit related
packages and then run
emerge --keep-going -j4 -1 --ask --update --newuse --deep @system @world
on the new machine.
Or are the any snags?
Many thanks for sharing your experience,
Helmut.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] cloning + upgrade howto?
2009-07-23 6:54 [gentoo-user] cloning + upgrade howto? Helmut Jarausch
@ 2009-07-23 7:09 ` Neil Bothwick
2009-07-23 13:35 ` Nevynxxx
0 siblings, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2009-07-23 7:09 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 713 bytes --]
On Thu, 23 Jul 2009 08:54:19 +0200 (CEST), Helmut Jarausch wrote:
> Is it possible to clone this running Gentoo system, essentially
> overwrite
> /var/lib/portage/world
> with the larger version of the old hardware except some 64bit related
> packages and then run
> emerge --keep-going -j4 -1 --ask --update --newuse --deep @system @world
> on the new machine.
>
> Or are the any snags?
Only one, portage will barf when you have a world file containing
uninstalled packages. Copy the world file from the other machine
somewhere other than /var/lib/portage and run
emerge -n $(cat /path/to/otherworld)
--
Neil Bothwick
Those are my principles. If you don't like them I have others.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] cloning + upgrade howto?
2009-07-23 7:09 ` Neil Bothwick
@ 2009-07-23 13:35 ` Nevynxxx
2009-07-23 14:36 ` Neil Bothwick
0 siblings, 1 reply; 10+ messages in thread
From: Nevynxxx @ 2009-07-23 13:35 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 804 bytes --]
Neil Bothwick wrote:
> uninstalled packages. Copy the world file from the other machine
> somewhere other than /var/lib/portage and run
>
> emerge -n $(cat /path/to/otherworld)
>
>
>
> Only one, portage will barf when you have a world file containing
I've never seen that, and yes, I've been known to add a package atom to
the end of the world file when I wanted to update world, and add a
package at the same time (xfce4 was the last time I think, a month or
so ago), and didn't want to do it in two commands.....
In that cases I was adding a whole DE, so was also changing lots of USE
flags, so wanted an emerge -uDavN world to just update all the use flags
at once.... echo "xfce-base/xfce4" >> /var/lib/portage/world followed by
emerge -uDavN world worked a treat.....
[-- Attachment #1.2: Type: text/html, Size: 1187 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] cloning + upgrade howto?
2009-07-23 13:35 ` Nevynxxx
@ 2009-07-23 14:36 ` Neil Bothwick
2009-07-27 8:33 ` Nevynxxx
0 siblings, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2009-07-23 14:36 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 986 bytes --]
On Thu, 23 Jul 2009 14:35:37 +0100, Nevynxxx wrote:
> > Only one, portage will barf when you have a world file containing
>
> I've never seen that, and yes, I've been known to add a package atom to
> the end of the world file when I wanted to update world, and add a
> package at the same time (xfce4 was the last time I think, a month or
> so ago), and didn't want to do it in two commands.....
OK, that's changed then. The last time I transferred an installation,
Portage really didn't like having non-installed packages in world.
> In that cases I was adding a whole DE, so was also changing lots of USE
> flags, so wanted an emerge -uDavN world to just update all the use flags
> at once.... echo "xfce-base/xfce4" >> /var/lib/portage/world followed by
> emerge -uDavN world worked a treat.....
That's still two commands :) You can do it in one with
emerge -uavDN @world xfce4
--
Neil Bothwick
"" " """ " "" " """ <-- random quotes
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] cloning + upgrade howto?
2009-07-23 14:36 ` Neil Bothwick
@ 2009-07-27 8:33 ` Nevynxxx
2009-07-27 9:05 ` Neil Bothwick
0 siblings, 1 reply; 10+ messages in thread
From: Nevynxxx @ 2009-07-27 8:33 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 203 bytes --]
Neil Bothwick wrote:
>
>
> That's still two commands :) You can do it in one with
>
> emerge -uavDN @world xfce4
>
>
>
Only if your portage supports @world, not sure if mine does yet :)
[-- Attachment #1.2: Type: text/html, Size: 572 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] cloning + upgrade howto?
2009-07-27 8:33 ` Nevynxxx
@ 2009-07-27 9:05 ` Neil Bothwick
2009-07-27 21:39 ` [gentoo-user] " ABCD
0 siblings, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2009-07-27 9:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 295 bytes --]
On Mon, 27 Jul 2009 09:33:37 +0100, Nevynxxx wrote:
> > emerge -uavDN @world xfce4
> Only if your portage supports @world, not sure if mine does yet :)
It should, unless you are woefully out of date.
--
Neil Bothwick
Mr. bullfrog says: "time's fun when you're having flies."
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-user] Re: cloning + upgrade howto?
2009-07-27 9:05 ` Neil Bothwick
@ 2009-07-27 21:39 ` ABCD
2009-07-27 21:46 ` Neil Bothwick
0 siblings, 1 reply; 10+ messages in thread
From: ABCD @ 2009-07-27 21:39 UTC (permalink / raw
To: gentoo-user
Neil Bothwick wrote:
> On Mon, 27 Jul 2009 09:33:37 +0100, Nevynxxx wrote:
>
>> > emerge -uavDN @world xfce4
>
>> Only if your portage supports @world, not sure if mine does yet :)
>
> It should, unless you are woefully out of date.
>
>
Not true: the versions of portage that support sets (including @world) are
all hardmasked currently.
--
ABCD
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Re: cloning + upgrade howto?
2009-07-27 21:39 ` [gentoo-user] " ABCD
@ 2009-07-27 21:46 ` Neil Bothwick
2009-07-27 21:51 ` [gentoo-user] " ABCD
0 siblings, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2009-07-27 21:46 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 481 bytes --]
On Mon, 27 Jul 2009 17:39:27 -0400, ABCD wrote:
> > It should, unless you are woefully out of date.
> Not true: the versions of portage that support sets (including @world)
> are all hardmasked currently.
Still? I unmasked them ages ago, but though that had all been sorted out
by now. But yes, sets are about the only recent portage feature not
supported by the stable version, my bad.
--
Neil Bothwick
Where do forest rangers go to "get away from it all?"
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-user] Re: Re: cloning + upgrade howto?
2009-07-27 21:46 ` Neil Bothwick
@ 2009-07-27 21:51 ` ABCD
2009-07-28 8:55 ` Helmut Jarausch
0 siblings, 1 reply; 10+ messages in thread
From: ABCD @ 2009-07-27 21:51 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Neil Bothwick wrote:
> On Mon, 27 Jul 2009 17:39:27 -0400, ABCD wrote:
>
>> > It should, unless you are woefully out of date.
>
>> Not true: the versions of portage that support sets (including @world)
>> are all hardmasked currently.
>
> Still? I unmasked them ages ago, but though that had all been sorted out
> by now. But yes, sets are about the only recent portage feature not
> supported by the stable version, my bad.
>
I believe the mask is still in place because of a couple issues with sets,
as well as issues with FEATURES=preserve-libs.
- --
ABCD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
iEYEARECAAYFAkpuIVYACgkQOypDUo0oQOpGUQCfWsKt5U5eTEVP4d7jFyGJovYS
+SoAmgM1wW3lDgsgagNezODCSfcR/GiA
=/dA2
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Re: Re: cloning + upgrade howto?
2009-07-27 21:51 ` [gentoo-user] " ABCD
@ 2009-07-28 8:55 ` Helmut Jarausch
0 siblings, 0 replies; 10+ messages in thread
From: Helmut Jarausch @ 2009-07-28 8:55 UTC (permalink / raw
To: gentoo-user; +Cc: ABCD
On 27 Jul, ABCD wrote:
> I believe the mask is still in place because of a couple issues with sets,
> as well as issues with FEATURES=preserve-libs.
I don't think so.
I'm using the bleeding egde portage since several months now without any
problems. These have been mask for 'political' reasons - see an urlier
thread of mine. We - the user - should be forced to test the previous
version. I think this is a shame and several people on this list
seemed to agree.
Helmut.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-07-28 8:55 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-23 6:54 [gentoo-user] cloning + upgrade howto? Helmut Jarausch
2009-07-23 7:09 ` Neil Bothwick
2009-07-23 13:35 ` Nevynxxx
2009-07-23 14:36 ` Neil Bothwick
2009-07-27 8:33 ` Nevynxxx
2009-07-27 9:05 ` Neil Bothwick
2009-07-27 21:39 ` [gentoo-user] " ABCD
2009-07-27 21:46 ` Neil Bothwick
2009-07-27 21:51 ` [gentoo-user] " ABCD
2009-07-28 8:55 ` Helmut Jarausch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox