Bug#606098: [very long] Only libc6 update crash

2010-12-08 Thread Thomas Clavier
Hello,

First, sory for this very long mail. I have test that :

vi /etc/apt/source.list
:%s/lenny/squeeze/g
:wq
apt-get update
apt-get install linux-modules-2.6-xen-686 udev
apt-get install libc6-i686

and this last command crash with that output :

vm01:~# apt-get install libc6-i686
Reading package lists... Done
Building dependency tree  
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  portmap
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libc-bin libc6 libc6-xen locales nscd
Suggested packages:
  glibc-doc
The following NEW packages will be installed:
  libc-bin libc6-i686
The following packages will be upgraded:
  libc6 libc6-xen locales nscd
4 upgraded, 2 newly installed, 0 to remove and 225 not upgraded.
Need to get 0B/11.9MB of archives.
After this operation, 3744kB of additional disk space will be used.
Do you want to continue [Y/n]?
Reading changelogs... Done
glibc (2.9-8) unstable; urgency=low

  Starting with version 2.9-8, unified IPv4/IPv6 lookup have been enabled
  in the glibc's resolver. This is faster, fixes numerous of bugs, but is
  problematic on some broken DNS servers and/or wrongly configured
  firewalls.
 
  If such a DNS server is detected, the resolver switches (permanently
  for that process) to a mode where the second request is sent only when
  the first answer has been received. This means the first request will
  be timeout, but subsequent requests should be fast again. This
  behaviour can be enabled permanently by adding 'options single-request'
  to /etc/resolv.conf. 

 -- Aurelien Jarno aure...@debian.org  Thu, 23 Apr 2009 21:14:32 +0200

apt-listchanges: Mailing root: apt-listchanges: news for vm01
Preconfiguring packages ...
(Reading database ... 26865 files and directories currently installed.)
Preparing to replace locales 2.7-18lenny4 (using
.../locales_2.11.2-7_all.deb) ...
Unpacking replacement locales ...
Preparing to replace nscd 2.7-18lenny4 (using
.../nscd_2.11.2-7_i386.deb) ...
Stopping Name Service Cache Daemon: nscd.
Unpacking replacement nscd ...
Selecting previously deselected package libc-bin.
dpkg: considering deconfiguration of libc6, which would be broken by
installation of libc-bin ...
dpkg: yes, will deconfigure libc6 (broken by libc-bin).
Unpacking libc-bin (from .../libc-bin_2.11.2-7_i386.deb) ...
De-configuring libc6 ...
Replacing files in old package libc6 ...
Processing triggers for man-db ...
Setting up libc-bin (2.11.2-7) ...
Installing new version of config file /etc/bindresvport.blacklist ...
Installing new version of config file /etc/gai.conf ...
(Reading database ... 26894 files and directories currently installed.)
Preparing to replace libc6 2.7-18lenny4 (using
.../libc6_2.11.2-7_i386.deb) ...
Removing obsolete conffile /etc/init.d/glibc.sh ...
Checking for services that may need to be restarted...
Checking init scripts...
Unpacking replacement libc6 ...
Processing triggers for man-db ...
Setting up libc6 (2.11.2-7) ...
Checking for services that may need to be restarted...
Checking init scripts...

Restarting services possibly affected by the upgrade:
  openbsd-inetd: restarting...done.
  exim4: restarting...done.
  cron: restarting...done.
  courier-authdaemon: restarting...done.

Services restarted successfully.
(Reading database ... 26889 files and directories currently installed.)
Preparing to replace libc6-xen 2.7-18lenny4 (using
.../libc6-xen_2.11.2-7_i386.deb) ...
Unpacking replacement libc6-xen ...
Selecting previously deselected package libc6-i686.
Unpacking libc6-i686 (from .../libc6-i686_2.11.2-7_i386.deb) ...
Setting up locales (2.11.2-7) ...
Installing new version of config file /etc/locale.alias ...
Generating locales (this might take a while)...
  fr_FR.UTF-8... done
  en_US.UTF-8... done
Generation complete.
Setting up nscd (2.11.2-7) ...
Installing new version of config file /etc/nscd.conf ...
Installing new version of config file /etc/init.d/nscd ...
Starting Name Service Cache Daemon: nscd.
Setting up libc6-xen (2.11.2-7) ...
Setting up libc6-i686 (2.11.2-7) ...
dpkg: error processing libc6-i686 (--configure):
 subprocess post-installation script killed by signal (Segmentation fault)
Errors were encountered while processing:
 libc6-i686
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
Thomas Clavier http://www.tcweb.org
Jabber/XMPP/MSN/Gtalk :t...@jabber.tcweb.org
+33 (0)6 20 81 81 30   +33 (0)950 783 783




signature.asc
Description: OpenPGP digital signature


Bug#606098: [very long] Only libc6 update crash

2010-12-08 Thread Aurelien Jarno
reassign 606098 libc6
thanks

On Wed, Dec 08, 2010 at 12:07:11PM +0100, Thomas Clavier wrote:
 Hello,

Hi,

 First, sory for this very long mail. I have test that :
 
 vi /etc/apt/source.list
 :%s/lenny/squeeze/g
 :wq
 apt-get update
 apt-get install linux-modules-2.6-xen-686 udev
 apt-get install libc6-i686
 
 and this last command crash with that output :
 
 vm01:~# apt-get install libc6-i686

First of all libc6-i686 is not used on a xen system, the libc6-xen
library is already optimized for i686. Anyway that's not the issue here.

Your system seems to work with libc6 2.11, but problems start when both
libc6-xen and libc6-i686 are configured, that is when the optimized
libraries are enabled, by removing /etc/ld.so.nohwcap. You can probably
recover your system by doing as root 'touch /etc/ld.so.nohwcap' (when
your system is screwed, you may use busybox-static for that).

Your problem is probably related to an old version of the libc6
installed somewhere in a subdirectory of /lib. Could you please send me
the output of 'find /lib /usr/local/lib . -name libc*so* | xargs ls -l'
?

Aurelien

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org