On Sun, Apr 16, 2006 at 02:05:20PM -0400, Justin Pryzby wrote:
> Package: amd64-libs
> Version: 1.4
> Severity: important
> 
> I'm testing upgrades of packages from sarge, and amd64-libs fails to
> upgrade with: 
> 
> dpkg-divert: rename involves overwriting `/usr/bin/ldd' with
>   different file `/usr/bin/ldd.i386', not allowed
> 
> 
> BTW, I think the postinstall script should test -z "$2" before using
> it.

I'm not sure I entirely follow what's going on when this happens. 
We're in the postinst which means files from older amd64-libs packages
have been removed.  If removing the diversion would cause a conflict,
then you must have both ldd and ldd.i386; ldd.i386 is presumably the
standard version from libc6, after diversion; what's providing
/usr/bin/ldd?

You're probably right about test -z "$2".  I've got that in my working
directory, if another upload of this package is needed.

-- 
Daniel Jacobowitz
CodeSourcery


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to