Package: libc6
Version: 2.13-8
Severity: normal

Hi,

attempting to (c)deboostrap sid with with 2.13-8 fails with the following:

O: Unpacking libc6 (from .../libc6_2.13-8_amd64.deb) ...
P: Unpacking package libc6
O: 
O: A copy of the C library was found in an unexpected directory:
O:   '/lib/x86_64-linux-gnu/libc-2.13.so'
O: It is not safe to upgrade the C library in this situation;
O: please remove that copy of the C library or get it out of
O: '/lib/x86_64-linux-gnu' and try again.
O: 
O: dpkg: error processing /var/cache/bootstrap/libc6_2.13-8_amd64.deb 
(--unpack):
O:  subprocess new pre-installation script returned error exit status 1

I believe the problem is that libc6 is extracted and then the preinst is run,
so when the preinst runs libc6 own files are in place but as libc6 hasn't been
installed:

libcfiles=$(dpkg-query -L libc6 2>/dev/null)

leaves libcfiles empty.   This means then that check_dir thinks it has found a
copy of the C library when it has found the one it is meant to be installing.

    if echo $libcfiles | grep -q "[ ^]$lib[ $]" ; then 
        continue
    fi

Sorry, but I'm really not sure how this should be fixed so I haven't even
attempted to include a patch.

Thanks,

Niall

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-1.slh.4-aptosid-amd64 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_IE.utf8, LC_CTYPE=en_IE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6 depends on:
ii  libc-bin                      2.13-8     Embedded GNU C Library: Binaries
ii  libgcc1                       1:4.6.1-1  GCC support library

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]         1.5.40     Debian configuration management sy
pn  glibc-doc                     <none>     (no description available)
ii  locales                       2.13-8     Embedded GNU C Library: National L

-- debconf information:
  glibc/upgrade: true
  glibc/disable-screensaver:
  glibc/restart-failed:
  glibc/restart-services:



-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110630135814.4551.48731.reportbug@localhost

Reply via email to