On 07/02/2015 06:57 AM, Ritesh Prajapati wrote:
I have followed your instruction to resolve previous error which
works. Now, I am getting following new error while building package.
Preparing to unpack .../g/glibc/libc6_2.19-18_sh4.deb ...
Unpacking libc6:sh4 (2.19-18) ...
dpkg: error processing archive
/tmp/repo/pool/main/g/glibc/libc6_2.19-18_sh4.deb (--unpack):
trying to overwrite shared '/lib/ld-linux.so.2', which is
different from other instances of package libc6:sh4
Preparing to unpack .../libc6-dev_2.19-18_sh4.deb ...
Unpacking libc6-dev:sh4 (2.19-18) over (2.19-18) ...
Errors were encountered while processing:
/tmp/repo/pool/main/g/glibc/libc6_2.19-18_sh4.deb
One minute of Google yields this:
https://raphaelhertzog.com/2011/08/01/understanding-dpkgs-file-overwrite-error/
Adrian