On Fri, 2014-04-25 at 16:39 +0800, Yunqiang Su wrote:
[...]
> On mips64el system:
> 
> libc6-mips32 make /lib/ld.so.1 link to /lib/ld-2.18.so
>          (yes, quite strange, mips system asks for use /lib as o32
> multilib path)
> 
> libc6:mipsel make /lib/ld.so.1 link to /lib/mipsel-linux-gnu/ld-2.18.so
> 
> When try to install these 2 packages both, dpkg will be unhappy:
> 
> dpkg: error processing archive libc6_2.18-4_mipsel.deb (--install):
>  trying to overwrite '/lib/ld.so.1', which is also in package
> libc6-mips32 2.18-4
> Errors were encountered while processing:
[...]
> Is it a problem of dpkg or eglibc?

Current biarch packages like libc6-i386 do *not* install a symlink for
ld.so so there is no conflict.

However, the maintainer scripts for the various x86 libc packages are
doing a lot of conditional changes to symlinks and directories to make
coinstallation and upgrades work properly.  You should ask the glibc
maintainers <debian-gl...@lists.debian.org> how this works for x86 and
how it could translate to mips.

Ben.

-- 
Ben Hutchings
Beware of programmers who carry screwdrivers. - Leonard Brandwein

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to