Bug#685093: Postinstall script fatal error while upgrading
tag 685093 + moreinfo
thanks
On Thu, Aug 16, 2012 at 01:41:09PM -0430, Olaf Reitmaier Veracierta wrote:
> 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.
>
Why /etc/ld.so.conf is a directory on your system? It should clearly not
be a directory, though /etc/ld.so.conf.d should be.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
Reply to: