public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] /lib32/* missing after system upgrade
@ 2007-01-09 15:12 "Einar S. Idsø"
  2007-01-09 15:27 ` "Einar S. Idsø"
  0 siblings, 1 reply; 10+ messages in thread
From: "Einar S. Idsø" @ 2007-01-09 15:12 UTC (permalink / raw
  To: gentoo-amd64

Hi,

After performing a long-overdue upgrade of my Opteron system today,
almost the entire contents of the /lib32 folder is gone. This is very
nasty since I rely heavily on at least the file
/lib/ld-linux,so.2->/lib32/ld-linux.so.2->/lib32/ld-2.4.so. According to
equery, this file belongs to glibc, which was updated from 2.4-r3 to
2.4-r4. gcc was also upgraded from 3.4.5 to 4.1.1.

On a similar Opteron-system which is still running gcc 4.1.1 and glibc
2.4-r3, the contents of the /lib32 dir are intact. I therefore suspect
the problem to be related to the glibc upgrade, even though it's just a
very minor revision. Unfortunately I am not allowed to downgrade glibc
to the previous version.

Can anyone help me get my /lib32 directory back?

Cheers,
Einar S. Idsø
-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] /lib32/* missing after system upgrade
  2007-01-09 15:12 [gentoo-amd64] /lib32/* missing after system upgrade "Einar S. Idsø"
@ 2007-01-09 15:27 ` "Einar S. Idsø"
  2007-01-09 16:13   ` Piotr Jaroszyński
  2007-01-09 17:07   ` [gentoo-amd64] " Simon Stelling
  0 siblings, 2 replies; 10+ messages in thread
From: "Einar S. Idsø" @ 2007-01-09 15:27 UTC (permalink / raw
  To: gentoo-amd64

Some further info: I just remembered that I also changed the symlink for
/etc/make.profile. For some reason I changed it to point to
/usr/portage/profiles/default-linux/x86/2006.0, which doesn't seem
right... I suppose I should rather have used
/usr/portage/profiles/default-linux/amd64/2006.1/(desktop|server)?

Did I just stupidly break my system?

Cheers,
Einar
-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] /lib32/* missing after system upgrade
  2007-01-09 15:27 ` "Einar S. Idsø"
@ 2007-01-09 16:13   ` Piotr Jaroszyński
  2007-01-09 16:20     ` Ryan Sims
  2007-01-09 17:07   ` [gentoo-amd64] " Simon Stelling
  1 sibling, 1 reply; 10+ messages in thread
From: Piotr Jaroszyński @ 2007-01-09 16:13 UTC (permalink / raw
  To: gentoo-amd64

On Tuesday 09 January 2007 16:27, Einar S. Idsø wrote:
> Some further info: I just remembered that I also changed the symlink for
> /etc/make.profile. For some reason I changed it to point to
> /usr/portage/profiles/default-linux/x86/2006.0, which doesn't seem
> right... I suppose I should rather have used
> /usr/portage/profiles/default-linux/amd64/2006.1/(desktop|server)?
>
> Did I just stupidly break my system?
You have switched to non-multilib profile... Switch it back asap and reemerge 
whatever you emerged on invalid profile.

-- 
Best Regards,
Piotr Jaroszyński

-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] /lib32/* missing after system upgrade
  2007-01-09 16:13   ` Piotr Jaroszyński
@ 2007-01-09 16:20     ` Ryan Sims
  2007-01-09 20:41       ` [gentoo-amd64] " Harm Geerts
  0 siblings, 1 reply; 10+ messages in thread
From: Ryan Sims @ 2007-01-09 16:20 UTC (permalink / raw
  To: gentoo-amd64

On 1/9/07, Piotr Jaroszyński <peper@gentoo.org> wrote:
> On Tuesday 09 January 2007 16:27, Einar S. Idsø wrote:
> > Some further info: I just remembered that I also changed the symlink for
> > /etc/make.profile. For some reason I changed it to point to
> > /usr/portage/profiles/default-linux/x86/2006.0, which doesn't seem
> > right... I suppose I should rather have used
> > /usr/portage/profiles/default-linux/amd64/2006.1/(desktop|server)?
> >
> > Did I just stupidly break my system?
> You have switched to non-multilib profile... Switch it back asap and reemerge
> whatever you emerged on invalid profile.

Is that possible?

from http://www.gentoo.org/doc/en/gentoo-amd64-faq.xml#multilib :
"Currently you cannot switch from a no-multilib to a multilib-enabled
profile, so think over your decision twice before you use the
no-multilib profile."

-- 
Ryan W Sims

-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] /lib32/* missing after system upgrade
  2007-01-09 15:27 ` "Einar S. Idsø"
  2007-01-09 16:13   ` Piotr Jaroszyński
@ 2007-01-09 17:07   ` Simon Stelling
  2007-01-09 18:42     ` "Einar S. Idsø"
  1 sibling, 1 reply; 10+ messages in thread
From: Simon Stelling @ 2007-01-09 17:07 UTC (permalink / raw
  To: gentoo-amd64

Einar S. Idsø wrote:
> Some further info: I just remembered that I also changed the symlink for
> /etc/make.profile. For some reason I changed it to point to
> /usr/portage/profiles/default-linux/x86/2006.0, which doesn't seem
> right... I suppose I should rather have used
> /usr/portage/profiles/default-linux/amd64/2006.1/(desktop|server)?
> 
> Did I just stupidly break my system?

Yep. Depending on what packages you merged with it you're more or less 
screwed up. Given that gcc and glibc are amongst them, I'd do a reinstall.

-- 
Kind Regards,

Simon Stelling
Gentoo/AMD64 Developer
-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] /lib32/* missing after system upgrade
  2007-01-09 17:07   ` [gentoo-amd64] " Simon Stelling
@ 2007-01-09 18:42     ` "Einar S. Idsø"
  2007-01-10 10:15       ` "Einar S. Idsø"
  0 siblings, 1 reply; 10+ messages in thread
From: "Einar S. Idsø" @ 2007-01-09 18:42 UTC (permalink / raw
  To: gentoo-amd64

Simon Stelling wrote:
> Yep. Depending on what packages you merged with it you're more or less
> screwed up. Given that gcc and glibc are amongst them, I'd do a reinstall.
> 

*sigh*, stupid me :(

Oh well, it won't be that much of a hassle since I should be able to
just do a tarpipe over ssh from another similar machine on the same
network. That has worked wonders before, and will most likely do so again. x

Thanks for all your replies, most appreciated! :)

Cheers,
Einar
-- 
gentoo-amd64@gentoo.org mailing list



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

* [gentoo-amd64] Re: /lib32/* missing after system upgrade
  2007-01-09 16:20     ` Ryan Sims
@ 2007-01-09 20:41       ` Harm Geerts
  2007-01-09 23:15         ` Ryan Sims
  0 siblings, 1 reply; 10+ messages in thread
From: Harm Geerts @ 2007-01-09 20:41 UTC (permalink / raw
  To: gentoo-amd64

On Tuesday 09 January 2007 17:20, Ryan Sims wrote:
> On 1/9/07, Piotr Jaroszyński <peper@gentoo.org> wrote:
> > On Tuesday 09 January 2007 16:27, Einar S. Idsø wrote:
> > > Some further info: I just remembered that I also changed the symlink
> > > for /etc/make.profile. For some reason I changed it to point to
> > > /usr/portage/profiles/default-linux/x86/2006.0, which doesn't seem
> > > right... I suppose I should rather have used
> > > /usr/portage/profiles/default-linux/amd64/2006.1/(desktop|server)?
> > >
> > > Did I just stupidly break my system?
> >
> > You have switched to non-multilib profile... Switch it back asap and
> > reemerge whatever you emerged on invalid profile.
>
> Is that possible?
>
> from http://www.gentoo.org/doc/en/gentoo-amd64-faq.xml#multilib :
> "Currently you cannot switch from a no-multilib to a multilib-enabled
> profile, so think over your decision twice before you use the
> no-multilib profile."

The reason it's not possible is because it breaks the system.
portage does not prevent you from changing to an incompatible profile.

-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] Re: /lib32/* missing after system upgrade
  2007-01-09 20:41       ` [gentoo-amd64] " Harm Geerts
@ 2007-01-09 23:15         ` Ryan Sims
  2007-01-11  9:19           ` Duncan
  0 siblings, 1 reply; 10+ messages in thread
From: Ryan Sims @ 2007-01-09 23:15 UTC (permalink / raw
  To: gentoo-amd64

On 1/9/07, Harm Geerts <harmgeerts@home.nl> wrote:
> On Tuesday 09 January 2007 17:20, Ryan Sims wrote:
> > On 1/9/07, Piotr Jaroszyński <peper@gentoo.org> wrote:
> > > On Tuesday 09 January 2007 16:27, Einar S. Idsø wrote:
> > > > Some further info: I just remembered that I also changed the symlink
> > > > for /etc/make.profile. For some reason I changed it to point to
> > > > /usr/portage/profiles/default-linux/x86/2006.0, which doesn't seem
> > > > right... I suppose I should rather have used
> > > > /usr/portage/profiles/default-linux/amd64/2006.1/(desktop|server)?
> > > >
> > > > Did I just stupidly break my system?
> > >
> > > You have switched to non-multilib profile... Switch it back asap and
> > > reemerge whatever you emerged on invalid profile.
> >
> > Is that possible?
> >
> > from http://www.gentoo.org/doc/en/gentoo-amd64-faq.xml#multilib :
> > "Currently you cannot switch from a no-multilib to a multilib-enabled
> > profile, so think over your decision twice before you use the
> > no-multilib profile."
>
> The reason it's not possible is because it breaks the system.
> portage does not prevent you from changing to an incompatible profile.

Understood, I was thinking of "Switch it back asap and reemerge" as
impossible.  I have a deep respect for portage, but I absolutely do
not expect it to protect me from myself ;)

-- 
Ryan W Sims

-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] /lib32/* missing after system upgrade
  2007-01-09 18:42     ` "Einar S. Idsø"
@ 2007-01-10 10:15       ` "Einar S. Idsø"
  0 siblings, 0 replies; 10+ messages in thread
From: "Einar S. Idsø" @ 2007-01-10 10:15 UTC (permalink / raw
  To: gentoo-amd64

- Tar-piped install finished
- System fully upgraded with the proper 2006.1 profile
- All in working order :D
- Lesson learned!

Cheers,
Einar
-- 
gentoo-amd64@gentoo.org mailing list



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

* [gentoo-amd64]  Re: /lib32/* missing after system upgrade
  2007-01-09 23:15         ` Ryan Sims
@ 2007-01-11  9:19           ` Duncan
  0 siblings, 0 replies; 10+ messages in thread
From: Duncan @ 2007-01-11  9:19 UTC (permalink / raw
  To: gentoo-amd64

"Ryan Sims" <rwsims@gmail.com> posted
64e8d2f20701091515i6fc1b696o6ae8ad6140593b9f@mail.gmail.com, excerpted
below, on  Tue, 09 Jan 2007 18:15:50 -0500:

> On 1/9/07, Harm Geerts <harmgeerts@home.nl> wrote:
>> On Tuesday 09 January 2007 17:20, Ryan Sims wrote:
>> > On 1/9/07, Piotr Jaroszyński <peper@gentoo.org> wrote:
>> > > On Tuesday 09 January 2007 16:27, Einar S. Idsø wrote:
>> > > > Some further info: I just remembered that I also changed the
>> > > > symlink for /etc/make.profile. For some reason I changed it to
>> > > > point to /usr/portage/profiles/default-linux/x86/2006.0, which
>> > > > doesn't seem right... I suppose I should rather have used
>> > > > /usr/portage/profiles/default-linux/amd64/2006.1/(desktop|server)?
>> > > >
>> > > > Did I just stupidly break my system?
>> > >
>> > > You have switched to non-multilib profile... Switch it back asap and
>> > > reemerge whatever you emerged on invalid profile.
>> >
>> > Is that possible?
>> >
>> > from http://www.gentoo.org/doc/en/gentoo-amd64-faq.xml#multilib :
>> > "Currently you cannot switch from a no-multilib to a multilib-enabled
>> > profile, so think over your decision twice before you use the
>> > no-multilib profile."
>>
>> The reason it's not possible is because it breaks the system. portage
>> does not prevent you from changing to an incompatible profile.
> 
> Understood, I was thinking of "Switch it back asap and reemerge" as
> impossible.  I have a deep respect for portage, but I absolutely do not
> expect it to protect me from myself ;)

In theory, the only big damage is likely to be the toolchain,
glibc/gcc/binutils/sandbox.  Of course, with those damaged, getting stuff
working again is going to be "interesting" to say the least.  However, one
should be able to recover by resetting the profile correctly, then using
quickpkg on the toolchain packages out of an amd64 stage-X install, and
merging those binary packages directly over the fubar-ed system.  That
should recover a working toolchain, after which one would of course emerge
--emptytree --deep --update world, to finish the recovery.

If you've been running FEATURES=buildpkg for some time before the screwup,
and caught the problem early enough (or you can use another amd64 machine
as here), you can remerge anything that wasn't merged on the bad profile
(thus overwriting the last good binpkgs) from the binpkgs.

-- 
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] 10+ messages in thread

end of thread, other threads:[~2007-01-11  9:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-09 15:12 [gentoo-amd64] /lib32/* missing after system upgrade "Einar S. Idsø"
2007-01-09 15:27 ` "Einar S. Idsø"
2007-01-09 16:13   ` Piotr Jaroszyński
2007-01-09 16:20     ` Ryan Sims
2007-01-09 20:41       ` [gentoo-amd64] " Harm Geerts
2007-01-09 23:15         ` Ryan Sims
2007-01-11  9:19           ` Duncan
2007-01-09 17:07   ` [gentoo-amd64] " Simon Stelling
2007-01-09 18:42     ` "Einar S. Idsø"
2007-01-10 10:15       ` "Einar S. Idsø"

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