GLIBC upgrade

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

GLIBC upgrade

Osho GG
Hi,

Has anyone ever dared to upgraded GLIBC using rpm/apt? How does the
process go? What to do if something goes wrong?

The issue I am having is that the glibc version in my SuSE 9.1 install
seems to support only linuxthreads and not NPTL. Based on some google
searches, this could be because I may have i586 version of glibc
installed instead of i686. So, how do I go about upgrading from i586
glibc version to i686 glibc version?

Suse downloads page at novell.com showed me that there was the
following glibc upgrade for SuSE 9.1:


Recommended update for glibc 01/10/05

Name Size
glibc-2.3.3-98.38.i586.rpm 1.3 MB (1461996)
glibc-2.3.3-98.38.i686.rpm 2.6 MB (2806815)
glibc-devel-2.3.3-98.38.i586.rpm 6.4 MB (6805783)
glibc-devel-2.3.3-98.38.i686.rpm 9.9 MB (10481311)

rpm query about glibc does not tell me which version of glibc (i586 or
i686), do I have?

% rpm -q glibc
glibc-2.3.3-98

% rpm -qi glibc
Name        : glibc                        Relocations: (not relocatable)
Version     : 2.3.3                             Vendor: SuSE Linux AG,
Nuernberg, Germany
Release     : 98                            Build Date: Mon 05 Apr
2004 05:26:15 PM PDT
Install date: Wed 13 Oct 2004 10:35:03 AM PDT      Build Host: frobenius.suse.de
Group       : System/Libraries              Source RPM: glibc-2.3.3-98.src.rpm
Size        : 3496068                          License: GPL, LGPL
Signature   : DSA/SHA1, Mon 05 Apr 2004 05:32:16 PM PDT, Key ID a84edae89c800aca
Packager    : http://www.suse.de/feedback
URL         : http://www.gnu.org/software/libc/libc.html
Summary     : The standard shared libraries (from the GNU C Library)
Description :
The GNU C Library provides the most important standard libraries used
by nearly all programs: the stndard C library, the standard math
library and the POSIX thread library. Without these libraries, the
system is not functional.
Distribution: SuSE Linux 9.1 (i586)


Also, getconf seems to indicate that I have linuxthreads.

% getconf GNU_LIBPTHREAD_VERSION
linuxthreads-0.10

Also libc.so.6 shows it has linuxthreads and not NPTL.

% /lib/libc.so.6
GNU C Library stable release version 2.3.3 (20040325), by Roland McGrath et al.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Configured for i586-suse-linux.
Compiled by GNU CC version 3.3.3 (SuSE Linux).
Compiled on a Linux 2.6.4 system on 2004-04-05.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        linuxthreads-0.10 by Xavier Leroy
        GNU Libidn by Simon Josefsson
        NoVersion patch for broken glibc 2.0 binaries
        BIND-8.2.3-T5B
        libthread_db work sponsored by Alpha Processor Inc
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Report bugs using the `glibcbug' script to <[hidden email]>.


Any help would be greatly appreciated.

thanks a lot,
Osho
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: GLIBC upgrade

Osho GG
I see on ftp.suse.com that they have the following rpms for glibc and
glibc-devel for SuSe 9.1:

glibc-2.3.3-93.i686.rpm
glibc-devel-2.3.3-97.i686.rpm
glibc-2.3.3-98.i586.rpm
glibc-devel-2.3.3-98.i586.rpm

I downloaded them all and looked at the file contents of each. I
definitely have installed the i586 versions of glibc installed on my
machine. So, can I just do

rpm -Uvh glibc-2.3.3-93.i686.rpm glibc-devel-2.3.3-97.i686.rpm

Will this work? I am worried about screwing up the system beyond repair...

Osho

On 11/10/06, Osho GG <[hidden email]> wrote:

> Hi,
>
> Has anyone ever dared to upgraded GLIBC using rpm/apt? How does the
> process go? What to do if something goes wrong?
>
> The issue I am having is that the glibc version in my SuSE 9.1 install
> seems to support only linuxthreads and not NPTL. Based on some google
> searches, this could be because I may have i586 version of glibc
> installed instead of i686. So, how do I go about upgrading from i586
> glibc version to i686 glibc version?
>
> Suse downloads page at novell.com showed me that there was the
> following glibc upgrade for SuSE 9.1:
>
>
> Recommended update for glibc 01/10/05
>
> Name    Size
> glibc-2.3.3-98.38.i586.rpm      1.3 MB (1461996)
> glibc-2.3.3-98.38.i686.rpm      2.6 MB (2806815)
> glibc-devel-2.3.3-98.38.i586.rpm        6.4 MB (6805783)
> glibc-devel-2.3.3-98.38.i686.rpm        9.9 MB (10481311)
>
> rpm query about glibc does not tell me which version of glibc (i586 or
> i686), do I have?
>
> % rpm -q glibc
> glibc-2.3.3-98
>
> % rpm -qi glibc
> Name        : glibc                        Relocations: (not relocatable)
> Version     : 2.3.3                             Vendor: SuSE Linux AG,
> Nuernberg, Germany
> Release     : 98                            Build Date: Mon 05 Apr
> 2004 05:26:15 PM PDT
> Install date: Wed 13 Oct 2004 10:35:03 AM PDT      Build Host: frobenius.suse.de
> Group       : System/Libraries              Source RPM: glibc-2.3.3-98.src.rpm
> Size        : 3496068                          License: GPL, LGPL
> Signature   : DSA/SHA1, Mon 05 Apr 2004 05:32:16 PM PDT, Key ID a84edae89c800aca
> Packager    : http://www.suse.de/feedback
> URL         : http://www.gnu.org/software/libc/libc.html
> Summary     : The standard shared libraries (from the GNU C Library)
> Description :
> The GNU C Library provides the most important standard libraries used
> by nearly all programs: the stndard C library, the standard math
> library and the POSIX thread library. Without these libraries, the
> system is not functional.
> Distribution: SuSE Linux 9.1 (i586)
>
>
> Also, getconf seems to indicate that I have linuxthreads.
>
> % getconf GNU_LIBPTHREAD_VERSION
> linuxthreads-0.10
>
> Also libc.so.6 shows it has linuxthreads and not NPTL.
>
> % /lib/libc.so.6
> GNU C Library stable release version 2.3.3 (20040325), by Roland McGrath et al.
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> Configured for i586-suse-linux.
> Compiled by GNU CC version 3.3.3 (SuSE Linux).
> Compiled on a Linux 2.6.4 system on 2004-04-05.
> Available extensions:
>         GNU libio by Per Bothner
>         crypt add-on version 2.1 by Michael Glad and others
>         linuxthreads-0.10 by Xavier Leroy
>         GNU Libidn by Simon Josefsson
>         NoVersion patch for broken glibc 2.0 binaries
>         BIND-8.2.3-T5B
>         libthread_db work sponsored by Alpha Processor Inc
>         NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
> Report bugs using the `glibcbug' script to <[hidden email]>.
>
>
> Any help would be greatly appreciated.
>
> thanks a lot,
> Osho
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: GLIBC upgrade

Carlos E. R.-2
In reply to this post by Osho GG
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Friday 2006-11-10 at 15:50 -0800, Osho GG wrote:

> Has anyone ever dared to upgraded GLIBC using rpm/apt? How does the
> process go? What to do if something goes wrong?

Reinstall from backup using a rescue disk. Notice that everything on the
system uses that library, so that you break everything...


Look up these threads in the archive:

Date: Tue, 15 Apr 2003 01:27:15 +0100
From: Philipp Thomas
To:  <[hidden email]>
Subject: Re: [SLE] libc.so.6(GLIBC_2.3) and SuSE 8.1



Date: Wed, 30 Apr 2003 06:48:40 +0200
From: Thorsten Kukuk
To: suse <[hidden email]>
Subject: Re: [SLE] Upgrading glibc


Date: Wed, 29 Oct 2003 16:46:29 -0800
From: Tony Alfrey
To:  <[hidden email]>
Subject: Re: [SLE] Problem getting a new glibc to compile


Date: Fri, 25 Feb 2005 13:50:53 +0100
From: Philipp Thomas
To:  <[hidden email]>
Subject: Re: [SLE] Recompiling glibc



- --
Cheers,
       Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFFVSLrtTMYHG2NR9URAomFAJ9rsduiJhLIuXWZuDC12DqTK2VnLgCdGo7y
eRj2GDEgrzT5mpB+Xu//yGw=
=ZP9x
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Re: GLIBC upgrade

Carlos E. R.-2
In reply to this post by Osho GG
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Friday 2006-11-10 at 16:39 -0800, Osho GG wrote:

> I see on ftp.suse.com that they have the following rpms for glibc and
> glibc-devel for SuSe 9.1:
>
> glibc-2.3.3-93.i686.rpm
> glibc-devel-2.3.3-97.i686.rpm
> glibc-2.3.3-98.i586.rpm
> glibc-devel-2.3.3-98.i586.rpm
>
> I downloaded them all and looked at the file contents of each. I
> definitely have installed the i586 versions of glibc installed on my
> machine. So, can I just do
>
> rpm -Uvh glibc-2.3.3-93.i686.rpm glibc-devel-2.3.3-97.i686.rpm
>
> Will this work? I am worried about screwing up the system beyond repair...

It should work if they were prepared at the time for 9.1. I think I
remember such a thing, but I can't remember. You could check the mail
archive of SLE for info.


Ah! You mean installing the i686 version instead? That's different...

I don't remember now, but...


Search the archive for the period when 9.1 was alive.

- --
Cheers,
       Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFFVTImtTMYHG2NR9URAgedAJ4r9IEoQrqRQwuEuoAeXqp8LLOspgCfQddW
FoQwoxkag84N2d5goD4ofDk=
=glUk
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: GLIBC upgrade

Jan Engelhardt
In reply to this post by Carlos E. R.-2
>
>> Has anyone ever dared to upgraded GLIBC using rpm/apt? How does the
>> process go? What to do if something goes wrong?
>
>Reinstall from backup using a rescue disk. Notice that everything on the
>system uses that library, so that you break everything...

Nothing should break, if you update glibc first, because glibc has to
provide some backward compatibility at least.


        -`J'
--
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: GLIBC upgrade

Carlos E. R.-2
In reply to this post by Osho GG
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Friday 2006-11-10 at 15:50 -0800, Osho GG wrote:

...

> rpm query about glibc does not tell me which version of glibc (i586 or
> i686), do I have?
>
> % rpm -q glibc
> glibc-2.3.3-98

Try this (it worked for 8.1):

 rpm -qa --qf %{DISTRIBUTION}\\\ %{NAME}\\\n |  egrep '\<(glibc|db)(-devel)?$'

- --
Cheers,
       Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFFVmzGtTMYHG2NR9URAtlYAJwK3Fkix2V/bfiq+uFWBiNa47D6FACeIfky
l0AqZplxtW7//DDyk3b8qT8=
=vcAd
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: GLIBC upgrade

Osho GG
I bit the bullet and upgraded to i686 versions of glibc and it
worked!!! And, my wine problems have gone too.

thanks,
Osho

On 11/11/06, Carlos E. R. <[hidden email]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> The Friday 2006-11-10 at 15:50 -0800, Osho GG wrote:
>
> ...
>
> > rpm query about glibc does not tell me which version of glibc (i586 or
> > i686), do I have?
> >
> > % rpm -q glibc
> > glibc-2.3.3-98
>
> Try this (it worked for 8.1):
>
>  rpm -qa --qf %{DISTRIBUTION}\\\ %{NAME}\\\n |  egrep '\<(glibc|db)(-devel)?$'
>
> - --
> Cheers,
>        Carlos E. R.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Made with pgp4pine 1.76
>
> iD8DBQFFVmzGtTMYHG2NR9URAtlYAJwK3Fkix2V/bfiq+uFWBiNa47D6FACeIfky
> l0AqZplxtW7//DDyk3b8qT8=
> =vcAd
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: GLIBC upgrade

Tony Alfrey
Osho GG wrote:
> I bit the bullet and upgraded to i686 versions of glibc and it
> worked!!! And, my wine problems have gone too.
>
> thanks,
> Osho

Tell us again which rpm's you used?
Thanks.



--
Tony Alfrey
[hidden email]
"I'd Rather Be Sailing"
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: GLIBC upgrade

Osho GG
On 11/13/06, Tony Alfrey <[hidden email]> wrote:
> Osho GG wrote:
> > I bit the bullet and upgraded to i686 versions of glibc and it
> > worked!!! And, my wine problems have gone too.
> >
> > thanks,
> > Osho
> \
> Tell us again which rpm's you used?

I used

2802630 2006-11-10 16:08 glibc-2.3.3-93.i686.rpm
10355373 2006-11-10 16:13 glibc-devel-2.3.3-97.i686.rpm

I downloaded them from ftp.suse.com

Osho

> Thanks.
>
>
>
> --
> Tony Alfrey
> [hidden email]
> "I'd Rather Be Sailing"
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: GLIBC upgrade

Tony Alfrey
On Tuesday 14 November 2006 02:34 pm, Osho GG wrote:
> On 11/13/06, Tony Alfrey <[hidden email]> wrote:

> > Tell us again which rpm's you used?
>
> I used
>
> 2802630 2006-11-10 16:08 glibc-2.3.3-93.i686.rpm
> 10355373 2006-11-10 16:13 glibc-devel-2.3.3-97.i686.rpm
>
> I downloaded them from ftp.suse.com
>
> Osho

Thank you!


--
Tony Alfrey
[hidden email]
"I'd Rather Be Sailing"
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]