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

Bug#390950: missing conflict with libpthread2



Joey Hess a écrit :
Package: libc6
Version: 2.3.6.ds1-4
Severity: normal

Preparing to replace libc6 2.3.6.ds1-4 (using .../libc6_2.3.6.ds1-5_i386.deb) ...
Matching libraries: /usr/lib/libpthread.so.20

A copy of glibc was found in an unexpected directory.
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library and try again.
dpkg: error processing /var/cache/apt/archives/libc6_2.3.6.ds1-5_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.3.6.ds1-5_i386.deb

Too bad, and the problem probably exists probably for a long time, but it only appears now, during freeze.

Removing libpthread2, which I had installed, fixes this.

You suggest conflicting with libpthread2, but that basically means it would render the package uninstallable.

(BTW, isn't suggesting that the user remove a "copy of the C library" a really
bad idea? :-)

Well the goal is really to detect other copies of the C library which can be very harmfull (basically render a system unusable). This happens when users are keeping old version of the libc, or libc from another system.

My guess is that we have to improve the heuristic, but I don't know how.

Bye,
Aurelien

--
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: