Bug#685093: Postinstall script fatal error while upgrading
Package: libc6
Version: 2.11.3-3
Severity: serious
Tags: squeeze
While issuing "dist-upgrade" appears the following fatal error:
***
Preparing to replace libc6 2.11.2-10 (using .../libc6_2.11.3-3_amd64.deb) ...
cat: /etc/ld.so.conf: Is a directory
Unpacking replacement libc6 ...
Setting up libc6 (2.11.3-3) ...
tail: error reading `/etc/ld.so.conf': Is a directory
/var/lib/dpkg/info/libc6.postinst: line 76: /etc/ld.so.conf: Is a directory
dpkg: error processing libc6 (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
libc6
E: Sub-process /usr/bin/dpkg returned an error code (1)
**
After the error appear I commented the line 76 in /var/lib/dpkg/info/libc6.postinst:
if ! grep -q '^include /etc/ld.so.conf.d/.*\.conf$' /etc/ld.so.conf ; then
echo # 'include /etc/ld.so.conf.d/*.conf' >> /etc/ld.so.conf
fi
Then apt-get install -f the packages installs but throws warnings
about "tail -f" over the directory "/etc/ld.so.conf" fails
and certainly is a directory.
-- System Information:
Debian Release: 6.0.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libc6 depends on:
ii libc-bin 2.11.3-3 Embedded GNU C Library: Binaries
ii libgcc1 1:4.4.5-8 GCC support library
libc6 recommends no packages.
Versions of packages libc6 suggests:
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy
pn glibc-doc <none> (no description available)
ii locales 2.11.3-3 Embedded GNU C Library: National L
-- debconf information excluded
--
"You don't know where your shadow will fall",
Somebody.-
----------------------------------------------------------------
Olaf Reitmaier Veracierta <olafrv at gmail.com>
----------------------------------------------------------------
http://www.olafrv.com
----------------------------------------------------------------
Reply to: