[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#685093: marked as done (Postinstall script fatal error while upgrading)



Your message dated Mon, 3 Sep 2012 09:26:59 +0200
with message-id <20120903072658.GA27722@volta.aurel32.net>
and subject line Re: Bug#685093: Postinstall script fatal error while upgrading
has caused the Debian Bug report #685093,
regarding Postinstall script fatal error while upgrading
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
685093: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685093
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message --- 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
----------------------------------------------------------------

--- End Message ---
--- Begin Message ---
On Thu, Aug 16, 2012 at 08:21:38PM +0200, Aurelien Jarno wrote:
> 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.

No answer from the submitter, closing the bug.

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

--- End Message ---

Reply to: