public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] Switching form non-multilib to mulitilib profile?
@ 2006-12-22  1:05 Jakob
  2006-12-22  7:06 ` Mike Doty
  0 siblings, 1 reply; 7+ messages in thread
From: Jakob @ 2006-12-22  1:05 UTC (permalink / raw
  To: gentoo-amd64

Hi all,

I've just finished my gentoo 64bit installation.
While installing I've choosen a non-multilib profile, but now I think
it will be better to run am multilib system. is it possible to change
afterwards or is it better to install again.

I thought maybe its just changing the profile to a multilib and then
do an emerge -avuD world?
will that work?

thanks

Jakob
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-amd64] Switching form non-multilib to mulitilib profile?
  2006-12-22  1:05 [gentoo-amd64] Switching form non-multilib to mulitilib profile? Jakob
@ 2006-12-22  7:06 ` Mike Doty
  2006-12-22 14:57   ` Boyd Stephen Smith Jr.
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Doty @ 2006-12-22  7:06 UTC (permalink / raw
  To: gentoo-amd64

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jakob wrote:
> Hi all,
> 
> I've just finished my gentoo 64bit installation.
> While installing I've choosen a non-multilib profile, but now I think
> it will be better to run am multilib system. is it possible to change
> afterwards or is it better to install again.
> 
> I thought maybe its just changing the profile to a multilib and then
> do an emerge -avuD world?
> will that work?
> 
> thanks
> 
> Jakob
No easy way to do it short of reinstalling.

- --
=======================================================
Mike Doty                      kingtaco -at- gentoo.org
Gentoo/AMD64 Strategic Lead
Gentoo Council
Gentoo Developer Relations
Gentoo Recruitment Lead
Gentoo Infrastructure
GPG: E1A5 1C9C 93FE F430 C1D6  F2AF 806B A2E4 19F4 AE05
=======================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iQCVAwUBRYuEDYBrouQZ9K4FAQJtzAQAug+vl5K2c2eM5ml6sAGoOpGLQ/N8FbqU
X0AmR7JK2wwKMr4N5wqNFuwK33vlLA8W/OCIWipcg/9JPJGjZv/9gpSQQO8hkctw
6BAY9TU3XgvlCzr0owzSMvE49lY+eHuuJa0smiz5cu5Etn6AcIyQVdi7av10W6fk
4IVMnmqn6HE=
=PmNl
-----END PGP SIGNATURE-----
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-amd64] Switching form non-multilib to mulitilib profile?
  2006-12-22  7:06 ` Mike Doty
@ 2006-12-22 14:57   ` Boyd Stephen Smith Jr.
  2006-12-22 18:05     ` Jakob
  0 siblings, 1 reply; 7+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-12-22 14:57 UTC (permalink / raw
  To: gentoo-amd64

[-- Attachment #1: Type: text/plain, Size: 846 bytes --]

On Friday 22 December 2006 01:06, Mike Doty <kingtaco@gentoo.org> wrote 
about 'Re: [gentoo-amd64] Switching form non-multilib to mulitilib 
profile?':
> Jakob wrote:
> > I've just finished my gentoo 64bit installation.
> > While installing I've choosen a non-multilib profile, but now I think
> > it will be better to run am multilib system. is it possible to change
> > afterwards or is it better to install again.
> No easy way to do it short of reinstalling.

Well, Mike's probably a better source than me, but I thought the multilib 
<-> no-multilib switch could be done with a simple emerge -e world.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-amd64] Switching form non-multilib to mulitilib profile?
  2006-12-22 14:57   ` Boyd Stephen Smith Jr.
@ 2006-12-22 18:05     ` Jakob
  2006-12-22 21:47       ` [gentoo-amd64] " Duncan
  2006-12-23  1:57       ` [gentoo-amd64] " sfullenwider
  0 siblings, 2 replies; 7+ messages in thread
From: Jakob @ 2006-12-22 18:05 UTC (permalink / raw
  To: gentoo-amd64

On 12/22/06, Boyd Stephen Smith Jr. <bss03@volumehost.net> wrote:
> On Friday 22 December 2006 01:06, Mike Doty <kingtaco@gentoo.org> wrote
> about 'Re: [gentoo-amd64] Switching form non-multilib to mulitilib
> profile?':
> Well, Mike's probably a better source than me, but I thought the multilib
> <-> no-multilib switch could be done with a simple emerge -e world.
>
I think I just try that and if it doesn't work no problem because I
have to reinstall anyway.
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-amd64]  Re: Switching form non-multilib to mulitilib profile?
  2006-12-22 18:05     ` Jakob
@ 2006-12-22 21:47       ` Duncan
  2006-12-23  1:57       ` [gentoo-amd64] " sfullenwider
  1 sibling, 0 replies; 7+ messages in thread
From: Duncan @ 2006-12-22 21:47 UTC (permalink / raw
  To: gentoo-amd64

Jakob <jak.gentoo@googlemail.com> posted
a23345650612221005y6c0cd6c9iebeebf15edfec863@mail.gmail.com, excerpted
below, on  Fri, 22 Dec 2006 19:05:26 +0100:

> On 12/22/06, Boyd Stephen Smith Jr. <bss03@volumehost.net> wrote:
>> On Friday 22 December 2006 01:06, Mike Doty <kingtaco@gentoo.org> wrote
>> about 'Re: [gentoo-amd64] Switching form non-multilib to mulitilib
>> profile?':
>> Well, Mike's probably a better source than me, but I thought the multilib
>> <-> no-multilib switch could be done with a simple emerge -e world.
>>
> I think I just try that and if it doesn't work no problem because I
> have to reinstall anyway.

The problem is that after you've emerged glibc and gcc using the
non-multilib profile, you no longer have a 32-bit capable compiler and
libc as no-multilib only compiles the 64-bit side.  Without a 32-bit
compiler and glibc, you can't (easily) compile the 32-bit compiler and
glibc necessary for multilib.

Thus, one can go multilib -> no-multilb simply by switching profiles and
remerging at minimum the toolchain, but it's a one-way switch.  Once you
are 64-bit only, you don't have the 32-bit stuff necessary to bootstrap
/further/ 32-bit stuff.  You therefore can't (easily) go the other way,
no-multilib -> multilib.

There are of course a number of ways around the problem, but the easiest,
because it's documented, is to simply reinstall from stage-3 using the
multilb profile.  Anything else, you'd better know what you are doing
(which it's safe to say you don't if you are asking the question), as you
are on your own, at least in terms of official Gentoo/amd64 documentation.

However, most packages will be 64-bit only anyway, thus the same in both
cases (unless one requires a different version for some reason or other),
and of course any 32-bit binary packages (like the emul* packages) aren't
difficult to merge once on multilib, if needed.  Thus, the only ones you
really need to worry about are the toolchain, basically glibc, gcc,
binutils, and portage's sandbox (which has both 32-bit and 64-bit
libraries in multilib mode).

Thus, the quick method would be to quickpkg those packages (glibc, gcc,
binutils, sandbox) off of a stage-3, change the profile, and merge the
quickpkg-ed binpkgs over the 64-bit-only versions.  After that, it
/should/ be possible to remerge just those packages, instead of having to
remerge the entire system, to get full multilib.  (It's likely you have to
switch the profile and merge the four binpkgs in a specific order,
however, which I might not have correct, above, and it's possible there's
a multilib package or two I missed, but I don't think so.) If anything goes
wrong, as you said, you'd just have to do the reinstall that was the other
option anyway, so nothing lost.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-amd64] Switching form non-multilib to mulitilib profile?
  2006-12-22 18:05     ` Jakob
  2006-12-22 21:47       ` [gentoo-amd64] " Duncan
@ 2006-12-23  1:57       ` sfullenwider
  2006-12-23 14:40         ` Jakob
  1 sibling, 1 reply; 7+ messages in thread
From: sfullenwider @ 2006-12-23  1:57 UTC (permalink / raw
  To: gentoo-amd64

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jakob wrote:
> On 12/22/06, Boyd Stephen Smith Jr. <bss03@volumehost.net> wrote:
>> On Friday 22 December 2006 01:06, Mike Doty <kingtaco@gentoo.org> wrote
>> about 'Re: [gentoo-amd64] Switching form non-multilib to mulitilib
>> profile?':
>> Well, Mike's probably a better source than me, but I thought the multilib
>> <-> no-multilib switch could be done with a simple emerge -e world.
>>
> I think I just try that and if it doesn't work no problem because I
> have to reinstall anyway.

I found myself in a similar situation and I tried that and it did work,
but only mostly.  A got a lot of weird dependency problems in strange
places, some things that used to work refused to.  I trudged through
most of it, but after awhile it just got too annoying so I just reinstalled.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFjI0fqc6ZeSK6KLkRAv4sAKCJrLgcMNEPErhI6Fgu6WmadfEtKwCfQHQG
q1g3nQu3PFaZZ658edTAgw8=
=cZfc
-----END PGP SIGNATURE-----
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-amd64] Switching form non-multilib to mulitilib profile?
  2006-12-23  1:57       ` [gentoo-amd64] " sfullenwider
@ 2006-12-23 14:40         ` Jakob
  0 siblings, 0 replies; 7+ messages in thread
From: Jakob @ 2006-12-23 14:40 UTC (permalink / raw
  To: gentoo-amd64

thanks for your detailed answer duncan,  and for your experiences sfullenwider.
I think I do a reinstall again because the other way will cost too
much time with no garantie to work, and I haven't configured to much
to the system so installing again sounds the best solution for me now.

thakns and merry xmas.

Jakob
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-12-23 14:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-22  1:05 [gentoo-amd64] Switching form non-multilib to mulitilib profile? Jakob
2006-12-22  7:06 ` Mike Doty
2006-12-22 14:57   ` Boyd Stephen Smith Jr.
2006-12-22 18:05     ` Jakob
2006-12-22 21:47       ` [gentoo-amd64] " Duncan
2006-12-23  1:57       ` [gentoo-amd64] " sfullenwider
2006-12-23 14:40         ` Jakob

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox