Bug#406619: libc6 [2.5-0exp3] dies on upgrade

2007-04-13 Thread Soeren Sonnenburg
reopen 406619
severity 406619 grave
thanks

I am now seeing this on the libc update to unstable (version 2.5-1) now
on kernel version 2.6.21-rc6. This time I managed to copy the output I
received on upgrade:

Unpacking replacement libc6 ...
dpkg: warning - unable to delete old directory `/lib/tls': Directory not empty
Setting up libc6 (2.5-1) ...
Installing new version of config file /etc/init.d/glibc.sh ...
dpkg: relocation error: /lib/tls/i686/cmov/libc.so.6: symbol _dl_out_of_memory, 
version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference
iconvconfig: relocation error: /lib/tls/i686/cmov/libc.so.6: symbol 
_dl_out_of_memory, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with 
link time reference
/usr/bin/perl: relocation error: /lib/tls/i686/cmov/libc.so.6: symbol 
_dl_out_of_memory, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with 
link time reference
dpkg: error processing libc6 (--configure):
 subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
 libc6
sh: relocation error: /lib/tls/i686/cmov/libc.so.6: symbol _dl_out_of_memory, 
version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference
E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/bin/debsums ]; 
then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi'
E: Sub-process returned an error code
E: Sub-process /usr/bin/dpkg returned an error code (1)

Booting off a different system I renamed /lib/tls to /lib/tlsold and
then everything works smoothly. So I guess either rm -rf /lib/tls is in
order or a rename and a message asking the user whether the content
should be rm -rf'd ?

FYI:
ll /lib/tlsold/i686/cmov/
total 936K
-rw-r--r-- 1 root root 5.4K Aug 24  2006 libBrokenLocale-2.3.6.so
lrwxrwxrwx 1 root root   24 Jan  9 20:07 libBrokenLocale.so.1 - 
libBrokenLocale-2.3.6.so
-rw-r--r-- 1 root root  14K Aug 24  2006 libSegFault.so
-rw-r--r-- 1 root root 9.6K Aug 24  2006 libanl-2.3.6.so
lrwxrwxrwx 1 root root   15 Jan  9 20:07 libanl.so.1 - libanl-2.3.6.so
-rw-r--r-- 1 root root 182K Aug 24  2006 libcidn-2.3.6.so
lrwxrwxrwx 1 root root   16 Jan  9 20:07 libcidn.so.1 - libcidn-2.3.6.so
-rw-r--r-- 1 root root  22K Aug 24  2006 libcrypt-2.3.6.so
lrwxrwxrwx 1 root root   17 Jan  9 20:07 libcrypt.so.1 - libcrypt-2.3.6.so
-rw-r--r-- 1 root root 9.4K Aug 24  2006 libdl-2.3.6.so
lrwxrwxrwx 1 root root   14 Jan  9 20:07 libdl.so.2 - libdl-2.3.6.so
-rw-r--r-- 1 root root 142K Aug 24  2006 libm-2.3.6.so
lrwxrwxrwx 1 root root   13 Jan  9 20:07 libm.so.6 - libm-2.3.6.so
-rw-r--r-- 1 root root  14K Aug 24  2006 libmemusage.so
-rw-r--r-- 1 root root  75K Aug 24  2006 libnsl-2.3.6.so
lrwxrwxrwx 1 root root   15 Jan  9 20:07 libnsl.so.1 - libnsl-2.3.6.so
-rw-r--r-- 1 root root  30K Aug 24  2006 libnss_compat-2.3.6.so
lrwxrwxrwx 1 root root   22 Jan  9 20:07 libnss_compat.so.2 - 
libnss_compat-2.3.6.so
-rw-r--r-- 1 root root  18K Aug 24  2006 libnss_dns-2.3.6.so
lrwxrwxrwx 1 root root   19 Jan  9 20:07 libnss_dns.so.2 - libnss_dns-2.3.6.so
-rw-r--r-- 1 root root  38K Aug 24  2006 libnss_files-2.3.6.so
lrwxrwxrwx 1 root root   21 Jan  9 20:07 libnss_files.so.2 - 
libnss_files-2.3.6.so
-rw-r--r-- 1 root root  18K Aug 24  2006 libnss_hesiod-2.3.6.so
lrwxrwxrwx 1 root root   22 Jan  9 20:07 libnss_hesiod.so.2 - 
libnss_hesiod-2.3.6.so
-rw-r--r-- 1 root root  34K Aug 24  2006 libnss_nis-2.3.6.so
lrwxrwxrwx 1 root root   19 Jan  9 20:07 libnss_nis.so.2 - libnss_nis-2.3.6.so
-rw-r--r-- 1 root root  38K Aug 24  2006 libnss_nisplus-2.3.6.so
lrwxrwxrwx 1 root root   23 Jan  9 20:07 libnss_nisplus.so.2 - 
libnss_nisplus-2.3.6.so
-rw-r--r-- 1 root root 5.3K Aug 24  2006 libpcprofile.so
-rwxr-xr-x 1 root root  88K Aug 24  2006 libpthread-2.3.6.so
lrwxrwxrwx 1 root root   19 Jan  9 20:07 libpthread.so.0 - libpthread-2.3.6.so
-rw-r--r-- 1 root root  66K Aug 24  2006 libresolv-2.3.6.so
lrwxrwxrwx 1 root root   18 Jan  9 20:07 libresolv.so.2 - libresolv-2.3.6.so
-rw-r--r-- 1 root root  30K Aug 24  2006 librt-2.3.6.so
lrwxrwxrwx 1 root root   14 Jan  9 20:07 librt.so.1 - librt-2.3.6.so
-rw-r--r-- 1 root root  26K Aug 24  2006 libthread_db-1.0.so
lrwxrwxrwx 1 root root   19 Jan  9 20:07 libthread_db.so.1 - 
libthread_db-1.0.so
-rw-r--r-- 1 root root 9.5K Aug 24  2006 libutil-2.3.6.so
lrwxrwxrwx 1 root root   16 Jan  9 20:07 libutil.so.1 - libutil-2.3.6.so

Soeren

So for some
On Fri, 2007-01-12 at 19:49 +0100, Aurelien Jarno wrote:
 not-found 406619 2.3.6.ds1-10
 found 406619 2.5-0exp3
 severity 406619 important
 tag 406619 + unreproducible
 thanks
 
 
 
 Soeren Sonnenburg a écrit :
  On Fri, 2007-01-12 at 13:44 +0100, Aurelien Jarno wrote:
  Soeren Sonnenburg a écrit :
  Package: libc6
  Version: 2.3.6.ds1-10
  Severity: grave
 
  First of all the libc6 upgrade fails segfaulting on every command. This
  can be fixed (if one still has a root shell) using :
 
  LD_LIBRARY_PATH=/lib/tls/i686/cmov /lib/tls/i686/cmov/ld-linux.so.2 \
  

Bug#406619: libc6 [2.5-0exp3] dies on upgrade

2007-04-13 Thread Aurelien Jarno
Soeren Sonnenburg a écrit :
 reopen 406619
 severity 406619 grave
 thanks
 
 I am now seeing this on the libc update to unstable (version 2.5-1) now
 on kernel version 2.6.21-rc6. This time I managed to copy the output I
 received on upgrade:
 
 Unpacking replacement libc6 ...
 dpkg: warning - unable to delete old directory `/lib/tls': Directory not empty
 Setting up libc6 (2.5-1) ...
 Installing new version of config file /etc/init.d/glibc.sh ...
 dpkg: relocation error: /lib/tls/i686/cmov/libc.so.6: symbol 
 _dl_out_of_memory, version GLIBC_PRIVATE not defined in file ld-linux.so.2 
 with link time reference
 iconvconfig: relocation error: /lib/tls/i686/cmov/libc.so.6: symbol 
 _dl_out_of_memory, version GLIBC_PRIVATE not defined in file ld-linux.so.2 
 with link time reference
 /usr/bin/perl: relocation error: /lib/tls/i686/cmov/libc.so.6: symbol 
 _dl_out_of_memory, version GLIBC_PRIVATE not defined in file ld-linux.so.2 
 with link time reference
 dpkg: error processing libc6 (--configure):
  subprocess post-installation script returned error exit status 127
 Errors were encountered while processing:
  libc6
 sh: relocation error: /lib/tls/i686/cmov/libc.so.6: symbol _dl_out_of_memory, 
 version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time 
 reference
 E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/bin/debsums ]; 
 then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi'
 E: Sub-process returned an error code
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 Booting off a different system I renamed /lib/tls to /lib/tlsold and
 then everything works smoothly. So I guess either rm -rf /lib/tls is in
 order or a rename and a message asking the user whether the content
 should be rm -rf'd ?

No those file should not be removed as they are useful. It's the
optimized version of the libc6 for i686. This should be handled by the
packaging system and the user should not have to take such a decision.

libc6 is supposed to disable hwcap before the upgrade, and to re-enable
it after libc6-i686 has been upgraded. This does not seems to work on
your system.

Could you please give me the output of:
- dpkg -l libc6*
- cat /etc/ld.so.hwcappkgs
- cat /etc/ld.so.nohwcap

This will help us to find the problem.

Thanks,
Aurelien


-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#406619: libc6 [2.5-0exp3] dies on upgrade

2007-04-13 Thread Soeren Sonnenburg
On Fri, 2007-04-13 at 09:55 +0200, Aurelien Jarno wrote:

 No those file should not be removed as they are useful. It's the
 optimized version of the libc6 for i686. This should be handled by the
 packaging system and the user should not have to take such a decision.
 
 libc6 is supposed to disable hwcap before the upgrade, and to re-enable
 it after libc6-i686 has been upgraded. This does not seems to work on
 your system.
 
 Could you please give me the output of:
 - dpkg -l libc6*

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version
  Description
+++---
ii  libc62.5-1  
  GNU C Library: Shared libraries
un  libc6-binnone 
  (no description available)
ii  libc6-dbg2.5-1  
  GNU C Library: Libraries with debugging symbols
ii  libc6-dev2.5-1  
  GNU C Library: Development Libraries and Header Files
un  libc6-dev-amd64  none 
  (no description available)
in  libc6-dev-i386-cross none 
  (no description available)
un  libc6-docnone 
  (no description available)
in  libc6-i386-cross none 
  (no description available)
un  libc6-i686   none 
  (no description available)
un  libc6-prof   none 
  (no description available)
un  libc6.1  none 
  (no description available)
un  libc6.1-dev  none 
  (no description available)

 - cat /etc/ld.so.hwcappkgs

libc6 2.5-1
 2.5-1

 - cat /etc/ld.so.nohwcap

does not exist.

 This will help us to find the problem.

hmmhh, I don't understand why libc6-i686 is not installed ?!

Soeren


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#406619: libc6 [2.5-0exp3] dies on upgrade

2007-01-12 Thread Soeren Sonnenburg
Package: libc6
Version: 2.3.6.ds1-10
Severity: grave

First of all the libc6 upgrade fails segfaulting on every command. This
can be fixed (if one still has a root shell) using :

LD_LIBRARY_PATH=/lib/tls/i686/cmov /lib/tls/i686/cmov/ld-linux.so.2 \
/usr/bin/sudo /bin/cp /lib/tls/i686/cmov/ld-linux.so.2 /lib/

Then however locale generation pretends to work but languages are not
available.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19-mactel-sonne
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libc6 depends on:
ii  tzdata2006p-1Time Zone and Daylight Saving Time

libc6 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#406619: libc6 [2.5-0exp3] dies on upgrade

2007-01-12 Thread Aurelien Jarno
Soeren Sonnenburg a écrit :
 Package: libc6
 Version: 2.3.6.ds1-10
 Severity: grave
 
 First of all the libc6 upgrade fails segfaulting on every command. This
 can be fixed (if one still has a root shell) using :
 
 LD_LIBRARY_PATH=/lib/tls/i686/cmov /lib/tls/i686/cmov/ld-linux.so.2 \
 /usr/bin/sudo /bin/cp /lib/tls/i686/cmov/ld-linux.so.2 /lib/
 

Could you please send me a log of the installation?

Also could you please send me the version of your kernel and the version
you tried (they seems to be wrong in the bug report)?

-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#406619: libc6 [2.5-0exp3] dies on upgrade

2007-01-12 Thread Aurelien Jarno
not-found 406619 2.3.6.ds1-10
found 406619 2.5-0exp3
severity 406619 important
tag 406619 + unreproducible
thanks



Soeren Sonnenburg a écrit :
 On Fri, 2007-01-12 at 13:44 +0100, Aurelien Jarno wrote:
 Soeren Sonnenburg a écrit :
 Package: libc6
 Version: 2.3.6.ds1-10
 Severity: grave

 First of all the libc6 upgrade fails segfaulting on every command. This
 can be fixed (if one still has a root shell) using :

 LD_LIBRARY_PATH=/lib/tls/i686/cmov /lib/tls/i686/cmov/ld-linux.so.2 \
 /usr/bin/sudo /bin/cp /lib/tls/i686/cmov/ld-linux.so.2 /lib/

 Could you please send me a log of the installation?
 
 That's not so easy... it died somewhere in the process when treying to
 install gcc-4.2 (upgrade from unstable).

Unfortunately without much information, I am not able to debug the
problem. The libc6 2.5-0exp3 works here on at least two machines. I am
therefore downgrading the severity of this bug to important.

 Also could you please send me the version of your kernel and the version
 you tried (they seems to be wrong in the bug report)?
 
 I tried libc6 version 2.5-0exp3 (but could only file this report on
 2.3*). Kernel version is 2.6.19-something.

Ok, fixing the version in the bug report then.

-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]