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

Bug#170869: dpkg: Leaves files around after failed install



Package: dpkg
Version: 1.10.9
Severity: normal

I was experimenting with libc6-i686 (a disabled part of the glibc
build), and tried installing the package.  dpkg didn't install the
package, since it has a file that conflicts with libc6 (good).
However, it left files around afterward. (bad)

dpkg output:

condor:~/debian/glibc$ sudo dpkg -i libc6-i686_2.3.1-5_i386.deb 
(Reading database ... 105947 files and directories currently installed.)
Unpacking libc6-i686 (from libc6-i686_2.3.1-5_i386.deb) ...
dpkg: error processing libc6-i686_2.3.1-5_i386.deb (--install):
 trying to overwrite `/lib/ld-linux.so.2', which is also in package libc6
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 libc6-i686_2.3.1-5_i386.deb

condor:~/debian/glibc$ ls -l /lib/i686/   
total 1808
-rw-r--r--    1 root     root         3480 Nov 26 15:44
libBrokenLocale-2.3.1.so
-rw-r--r--    1 root     root        19181 Nov 26 15:44 libSegFault.so
-rw-r--r--    1 root     root         9224 Nov 26 15:44 libanl-2.3.1.so
-rwxr-xr-x    1 root     root      1327840 Nov 26 15:44 libc-2.3.1.so
-rw-r--r--    1 root     root        18932 Nov 26 15:44
libcrypt-2.3.1.so
-rw-r--r--    1 root     root         8776 Nov 26 15:44 libdl-2.3.1.so
-rw-r--r--    1 root     root       149768 Nov 26 15:44 libm-2.3.1.so
-rw-r--r--    1 root     root        78436 Nov 26 15:44 libnsl-2.3.1.so
-rw-r--r--    1 root     root        71236 Nov 26 15:44
libpthread-0.10.so
-rw-r--r--    1 root     root        65292 Nov 26 15:44
libresolv-2.3.1.so
-rw-r--r--    1 root     root        27180 Nov 26 15:44 librt-2.3.1.so
-rw-r--r--    1 root     root        18844 Nov 26 15:44
libthread_db-1.0.so
-rw-r--r--    1 root     root         7648 Nov 26 15:44 libutil-2.3.1.so

condor:~/debian/g:ibc$ dpkg -S /lib/i686/libc-2.3.1.so 
dpkg: /lib/i686/libc-2.3.1.so not found.

condor:~/debian/glibc$ dpkg-deb -c libc6-i686_2.3.1-5_i386.deb
drwxr-xr-x root/root         0 2002-11-26 15:44:27 ./
drwxr-xr-x root/root         0 2002-11-26 15:44:27 ./lib/
drwxr-xr-x root/root         0 2002-11-26 15:44:27 ./lib/i686/
-rw-r--r-- root/root      3480 2002-11-26 15:44:27 ./lib/i686/libBrokenLocale-2.3.1.so
-rw-r--r-- root/root      9224 2002-11-26 15:44:27 ./lib/i686/libanl-2.3.1.so
-rwxr-xr-x root/root   1327840 2002-11-26 15:44:27 ./lib/i686/libc-2.3.1.so
-rw-r--r-- root/root     18932 2002-11-26 15:44:27 ./lib/i686/libcrypt-2.3.1.so
-rw-r--r-- root/root      8776 2002-11-26 15:44:27 ./lib/i686/libdl-2.3.1.so
-rw-r--r-- root/root    149768 2002-11-26 15:44:27 ./lib/i686/libm-2.3.1.so
-rw-r--r-- root/root     78436 2002-11-26 15:44:27 ./lib/i686/libnsl-2.3.1.so
-rw-r--r-- root/root     65292 2002-11-26 15:44:27 ./lib/i686/libresolv-2.3.1.so
-rw-r--r-- root/root     27180 2002-11-26 15:44:27 ./lib/i686/librt-2.3.1.so
-rw-r--r-- root/root      7648 2002-11-26 15:44:27 ./lib/i686/libutil-2.3.1.so
-rw-r--r-- root/root     19181 2002-11-26 15:44:27 ./lib/i686/libSegFault.so
-rw-r--r-- root/root     71236 2002-11-26 15:44:27 ./lib/i686/libpthread-0.10.so
-rw-r--r-- root/root     18844 2002-11-26 15:44:27 ./lib/i686/libthread_db-1.0.so
-rwxr-xr-x root/root    100602 2002-11-26 15:44:27 ./lib/ld-linux.so.2
drwxr-xr-x root/root         0 2002-11-26 15:44:27 ./usr/
drwxr-xr-x root/root         0 2002-11-26 15:44:27 ./usr/share/
drwxr-xr-x root/root         0 2002-11-26 15:44:27 ./usr/share/doc/
lrwxrwxrwx root/root         0 2002-11-26 15:44:27 ./lib/i686/libc.so.6 -> libc-2.3.1.so
lrwxrwxrwx root/root         0 2002-11-26 15:44:27 ./lib/i686/libBrokenLocale.so.1 -> libBrokenLocale-2.3.1.so
lrwxrwxrwx root/root         0 2002-11-26 15:44:27 ./lib/i686/libm.so.6 -> libm-2.3.1.so
lrwxrwxrwx root/root         0 2002-11-26 15:44:27 ./lib/i686/libdl.so.2 -> libdl-2.3.1.so
lrwxrwxrwx root/root         0 2002-11-26 15:44:27 ./lib/i686/libcrypt.so.1 -> libcrypt-2.3.1.so
lrwxrwxrwx root/root         0 2002-11-26 15:44:27 ./lib/i686/libpthread.so.0 -> libpthread-0.10.so
lrwxrwxrwx root/root         0 2002-11-26 15:44:27 ./lib/i686/libresolv.so.2 -> libresolv-2.3.1.so
lrwxrwxrwx root/root         0 2002-11-26 15:44:27 ./lib/i686/libanl.so.1 -> libanl-2.3.1.so
lrwxrwxrwx root/root         0 2002-11-26 15:44:27 ./lib/i686/librt.so.1 -> librt-2.3.1.so
lrwxrwxrwx root/root         0 2002-11-26 15:44:27 ./lib/i686/libthread_db.so.1 -> libthread_db-1.0.so
lrwxrwxrwx root/root         0 2002-11-26 15:44:27 ./lib/i686/libnsl.so.1 -> libnsl-2.3.1.so
lrwxrwxrwx root/root         0 2002-11-26 15:44:27 ./lib/i686/libutil.so.1 -> libutil-2.3.1.so
lrwxrwxrwx root/root         0 2002-11-26 15:44:27 ./usr/share/doc/libc6-i686 -> libc6



-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux condor 2.4.19-condor #1 SMP Die Sep 24 16:42:01 PDT 2002 i686
Locale: LANG=de_DE, LC_CTYPE=de_DE

Versions of packages dpkg depends on:
-i  dselect                       1.10.9     a user tool to manage Debian packa
-i  libc6                         2.3.1-5    GNU C Library: Shared libraries an

-- no debconf information




Reply to: