Aurelien Jarno <aurelien@aurel32.net> writes:
> On Thu, Aug 28, 2014 at 10:07:57AM +0400, Dmitrii Kashin wrote:
>> Package: libc-bin
>> Version: 2.19-9
>> Severity: grave
>> File: /sbin/ldconfig
>>
>> Dear Maintainer,
>>
>> I had an upgrade of libc6 and libc-bin packages up to the version
>> 2.19-9 from 2.19-4 while executing `apt-get upgrade'. In the begin it
>> seemed as a usual upgrade but after a while (supposedly after these two
>> packages) an upgrade was interrupted showing numerous "segmentation
>> fault" errors.
>>
>> Then almost for every command in shell I got "segmentation fault". I was
>> surprised. I tried to log into another tty, but failed. Then I tried to
>> reboot... And got a kernel panic after 2 seconds of system bootstrap.
>>
>> I took a livecd. I failed to chroot (got the same "segfault problem"). I
>> supposed that I had some problems with libc6, so I took a package
>> libc6_2.19-9_amd64.deb from /var/cache/apt/archives and unpacked it into
>> the root mount point via `dpkg-deb -x <pkg>'. After that I managed to
>> chroot into the system.
>>
>> I tried to finish an upgrade process, but I got the same faults.
>> I put here inline the first lines of `apt-get upgrade' output:
>> --------------------
>> # apt-get upgrade
>> Reading package lists...
>> Building dependency tree...
>> Reading state information...
>> The following packages were automatically installed and are no longer required:
>> alsa-base libabw-0.0-0 libcdr-0.0-0 libe-book-0.0-0 libetonyek-0.0-0
>> libfreehand-0.0-0 libgeoclue0 libmspub-0.0-0 libmwaw-0.2-2 libodfgen-0.0-0
>> liborcus-0.6-0 libvisio-0.0-0 libwpd-0.9-9 libwpg-0.2-2 libwps-0.2-2
>> Use 'apt-get autoremove' to remove them.
>> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
>> 108 not fully installed or removed.
>> After this operation, 0 B of additional disk space will be used.
>> Setting up liblcms2-2:i386 (2.6-3) ...
>> Setting up libmbim-glib0:amd64 (1.8.0-1) ...
>> dpkg: error processing package libmbim-glib0:amd64 (--configure):
>> subprocess installed post-installation script was killed by signal (Segmentation fault)
>> Setting up libmm-glib0:amd64 (1.2.0-1) ...
>> dpkg: error processing package libmm-glib0:amd64 (--configure):
>> subprocess installed post-installation script was killed by signal (Segmentation fault)
>> Setting up libmng1:i386 (1.0.10+dfsg-3.1) ...
>> ...
>> --------------------
>>
>> After it I had to unpack libc6 package again.
>>
>> Then I looked intently at the first package with problems
>> (libmbim-glib0). I unpacked it and saw in the postinst script the
>> command `ldconfig'.
>>
>> After a while I realized that "segfaults" happen after and only after
>> execution of `ldconfig'.
>>
>> I managed with the problem by downgrading libc6 and libc-bin (amd64 and
>> i386 versions both, because I'm using multiarch) back to the version
>> 2.19-4 from the apt cache.
>>
>
> For me it looks like the ld.so symlink is overriden when running
> ldconfig, a bug which is supposed to be fixed months ago. Can you please
> give me the list of libc packages installed on your system by running
> the "dpkg -l libc*" command? Also what is the output of "which
> ldconfig"?
Sorry for being a little bit late. I had a great pile of work.
This information could be useful:
--------------------
freehck@nb-mita3:~% apt-mark showhold
libc-bin
libc6
libc6-i686:i386
libc6:i386
--------------------
freehck@nb-mita3:~% apt-cache policy libc6 libc-bin
libc6:
Installed: 2.19-4
Candidate: 2.19-9
Version table:
2.19-9 0
500 http://mirror.yandex.ru/debian/ jessie/main amd64 Packages
*** 2.19-4 0
100 /var/lib/dpkg/status
2.13-38+deb7u2 0
1 http://mirror.yandex.ru/debian/ wheezy/main amd64 Packages
2.11.3-4 0
1 http://mirror.yandex.ru/debian/ squeeze/main amd64 Packages
libc-bin:
Installed: 2.19-4
Candidate: 2.19-9
Version table:
2.19-9 0
500 http://mirror.yandex.ru/debian/ jessie/main amd64 Packages
*** 2.19-4 0
100 /var/lib/dpkg/status
2.13-38+deb7u2 0
1 http://mirror.yandex.ru/debian/ wheezy/main amd64 Packages
2.11.3-4 0
1 http://mirror.yandex.ru/debian/ squeeze/main amd64 Packages
--------------------
# I understand it's more then you need, but you have asked to grep by
# `libc*' pattern. =/
freehck@nb-mita3:~% dpkg -l libc\* | grep ^ii
ii libcaca0:amd64 0.99.beta19-2 amd64 colour ASCII art library
ii libcairo-gobject2:amd64 1.12.16-2 amd64 The Cairo 2D vector graphics library (GObject library)
ii libcairo2:amd64 1.12.16-2 amd64 The Cairo 2D vector graphics library
ii libcanberra0:amd64 0.30-2 amd64 simple abstract interface for playing event sounds
ii libcap-ng0:amd64 0.7.4-2 amd64 An alternate POSIX capabilities library
ii libcap2:amd64 1:2.24-4 amd64 POSIX 1003.1e capabilities (library)
ii libcap2:i386 1:2.24-4 i386 POSIX 1003.1e capabilities (library)
ii libcap2-bin 1:2.24-4 amd64 POSIX 1003.1e capabilities (utilities)
ii libcdio-cdda1 0.83-4.1 amd64 library to read and control digital audio CDs
ii libcdio-paranoia1 0.83-4.1 amd64 library to read digital audio CDs with error correction
ii libcdio13 0.83-4.1 amd64 library to read and control CD-ROM
ii libcdparanoia0:amd64 3.10.2+debian-11 amd64 audio extraction tool for sampling CDs (library)
ii libcdr-0.0-0 0.0.16-1 amd64 library for reading and converting Corel DRAW files
ii libcdr-0.1-1 0.1.0-3 amd64 library for reading and converting Corel DRAW files
ii libcgi-pm-perl 3.65-1 all module for Common Gateway Interface applications
ii libck-connector0:amd64 0.4.6-4 amd64 ConsoleKit libraries
ii libclass-c3-perl 0.26-1 all pragma for using the C3 method resolution order
ii libclass-c3-xs-perl 0.13-2+b1 amd64 Perl module to accelerate Class::C3
ii libcloog-isl4:amd64 0.18.2-1 amd64 Chunky Loop Generator (runtime library)
ii libclucene-contribs1:amd64 2.3.3.4-4 amd64 language specific text analyzers (runtime)
ii libclucene-core1:amd64 2.3.3.4-4 amd64 core library for full-featured text search engine (runtime)
ii libcmis-0.4-4 0.4.1-7 amd64 CMIS protocol client library
ii libcolamd2.8.0:amd64 1:4.2.1-3 amd64 column approximate minimum degree ordering library for sparse matrices
ii libcolord2:amd64 1.2.1-1 amd64 system service to manage device colour profiles -- runtime
ii libcomerr2:amd64 1.42.11-2 amd64 common error description library
ii libcomerr2:i386 1.42.11-2 i386 common error description library
ii libcommon-sense-perl 3.73-1+b1 amd64 module that implements some sane defaults for Perl programs
ii libconfig-file-perl 1.50-2 all Parses simple configuration files
ii libconfuse-common 2.7-5 all Common files for libConfuse
ii libconfuse0:amd64 2.7-5 amd64 Library for parsing configuration files
ii libcroco3:amd64 0.6.8-3 amd64 Cascading Style Sheet (CSS) parsing and manipulation toolkit
ii libcups2:amd64 1.7.5-1 amd64 Common UNIX Printing System(tm) - Core library
ii libcups2:i386 1.7.5-1 i386 Common UNIX Printing System(tm) - Core library
ii libcupsfilters1:amd64 1.0.58-1 amd64 OpenPrinting CUPS Filters - Shared library
ii libcupsimage2:amd64 1.7.5-1 amd64 Common UNIX Printing System(tm) - Raster image library
ii libcurl3:amd64 7.37.1-1 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
ii libcurl3-gnutls:amd64 7.37.1-1 amd64 easy-to-use client-side URL transfer library (GnuTLS flavour)
ii libcurses-perl 1.31-1+b1 amd64 Curses interface for Perl
ii libcurses-ui-perl 0.9609-1 all curses-based OO user interface framework for Perl
ii libcwidget3:amd64 0.5.17-1 amd64 high-level terminal interface library for C++ (runtime files)
freehck@nb-mita3:~% dpkg -l libc\* | grep ^ii
ii libcaca0:amd64 0.99.beta19-2 amd64 colour ASCII art library
ii libcairo-gobject2:amd64 1.12.16-2 amd64 The Cairo 2D vector graphics library (GObject library)
ii libcairo2:amd64 1.12.16-2 amd64 The Cairo 2D vector graphics library
ii libcanberra0:amd64 0.30-2 amd64 simple abstract interface for playing event sounds
ii libcap-ng0:amd64 0.7.4-2 amd64 An alternate POSIX capabilities library
ii libcap2:amd64 1:2.24-4 amd64 POSIX 1003.1e capabilities (library)
ii libcap2:i386 1:2.24-4 i386 POSIX 1003.1e capabilities (library)
ii libcap2-bin 1:2.24-4 amd64 POSIX 1003.1e capabilities (utilities)
ii libcdio-cdda1 0.83-4.1 amd64 library to read and control digital audio CDs
ii libcdio-paranoia1 0.83-4.1 amd64 library to read digital audio CDs with error correction
ii libcdio13 0.83-4.1 amd64 library to read and control CD-ROM
ii libcdparanoia0:amd64 3.10.2+debian-11 amd64 audio extraction tool for sampling CDs (library)
ii libcdr-0.0-0 0.0.16-1 amd64 library for reading and converting Corel DRAW files
ii libcdr-0.1-1 0.1.0-3 amd64 library for reading and converting Corel DRAW files
ii libcgi-pm-perl 3.65-1 all module for Common Gateway Interface applications
ii libck-connector0:amd64 0.4.6-4 amd64 ConsoleKit libraries
ii libclass-c3-perl 0.26-1 all pragma for using the C3 method resolution order
ii libclass-c3-xs-perl 0.13-2+b1 amd64 Perl module to accelerate Class::C3
ii libcloog-isl4:amd64 0.18.2-1 amd64 Chunky Loop Generator (runtime library)
ii libclucene-contribs1:amd64 2.3.3.4-4 amd64 language specific text analyzers (runtime)
ii libclucene-core1:amd64 2.3.3.4-4 amd64 core library for full-featured text search engine (runtime)
ii libcmis-0.4-4 0.4.1-7 amd64 CMIS protocol client library
ii libcolamd2.8.0:amd64 1:4.2.1-3 amd64 column approximate minimum degree ordering library for sparse matrices
ii libcolord2:amd64 1.2.1-1 amd64 system service to manage device colour profiles -- runtime
ii libcomerr2:amd64 1.42.11-2 amd64 common error description library
ii libcomerr2:i386 1.42.11-2 i386 common error description library
ii libcommon-sense-perl 3.73-1+b1 amd64 module that implements some sane defaults for Perl programs
ii libconfig-file-perl 1.50-2 all Parses simple configuration files
ii libconfuse-common 2.7-5 all Common files for libConfuse
ii libconfuse0:amd64 2.7-5 amd64 Library for parsing configuration files
ii libcroco3:amd64 0.6.8-3 amd64 Cascading Style Sheet (CSS) parsing and manipulation toolkit
ii libcups2:amd64 1.7.5-1 amd64 Common UNIX Printing System(tm) - Core library
ii libcups2:i386 1.7.5-1 i386 Common UNIX Printing System(tm) - Core library
ii libcupsfilters1:amd64 1.0.58-1 amd64 OpenPrinting CUPS Filters - Shared library
ii libcupsimage2:amd64 1.7.5-1 amd64 Common UNIX Printing System(tm) - Raster image library
ii libcurl3:amd64 7.37.1-1 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
ii libcurl3-gnutls:amd64 7.37.1-1 amd64 easy-to-use client-side URL transfer library (GnuTLS flavour)
ii libcurses-perl 1.31-1+b1 amd64 Curses interface for Perl
ii libcurses-ui-perl 0.9609-1 all curses-based OO user interface framework for Perl
ii libcwidget3:amd64 0.5.17-1 amd64 high-level terminal interface library for C++ (runtime files)
--------------------
freehck@nb-mita3:~% which ldconfig
/sbin/ldconfig
freehck@nb-mita3:~% ll `!!`
ll `which ldconfig`
-rwxr-xr-x 1 root root 387 Jun 24 01:31 /sbin/ldconfig
--------------------
If I can help more, ask. I'm ready to provide you for more information.
Attachment:
pgpIFkKT7EwQN.pgp
Description: PGP signature