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

Bug#2654: libc5 predependancy on ld.so1.7.14-2



Urgh, what a rats nest.

Matt Linden writes ("Bug#2654: libc5 predependancy on ld.so1.7.14-2"):
> 	When I install libc5-5.2.18-2.deb I get the following errors
> [root@aneurysm:/home/mdl]# dpkg --install libc5-5.2.18-2.deb
> dpkg: regarding libc5-5.2.18-2.deb containing libc5, pre-dependency problem:
>  libc5 pre-depends on ldso (>=1.7.14-2)
>   ldso is installed, but is version 1.7.14-2.
> dpkg: error processing libc5-5.2.18-2.deb (--install):
>  pre-dependency problem - not installing libc5

I've seen this kind of thing before.  I thought it was because people
were using a dpkg which didn't support the new >= syntax, and
interpreted it as > `=1.7.14-2'.  However, >= predates
predependencies, so that can't be it.

What version of dpkg were you using ?  If you can reproduce this
problem with dpkg -D7777 to get copious debugging output I'd be very
interested to see it.

...
> [root@aneurysm:/home/mdl]# dpkg --install ld.so-1.7.14-2.deb
> (Reading database ... 7603 files and directories currently installed.)
> Preparing to replace ldso (using ld.so-1.7.14-2.deb) ...
> Unpacking replacement ldso ...
> dpkg: error processing ld.so-1.7.14-2.deb (--install):
>  trying to overwrite `/usr/include/dlfcn.h', which is also in package libc

This is a bug in ld.so.  Surely it should not include a header file ?!

> Expect some cache has wrong version warnings if upgrading
> to version 1.7.x for the first time.
> mv: `ld.so.1.7.10' and `ld.so' are the same file
> mv: `ld-linux.so.1.7.10' and `ld-linux.so.1' are the same file

These messages are the result of a bug in ld.so, but aren't the
proximate cause of your problems.

> Errors were encountered while processing:
>  ld.so-1.7.14-2.deb

I shall report both the ld.so bugs separately.

> please mail a solution to mdl@garion.it.com.au

You can fudge up the installation of ld.so using --force-overwrite,
which will probably DTRT in this case.

Ian.



Reply to: