severity 356283 serious
tags 356283 patch
thanks

On Fri, Mar 10, 2006 at 10:25:06PM +0100, Michael Klein wrote:
> Package: xarchon
> Version: 0.50-9
> Severity: normal

>   dpkg: error processing /var/cache/apt/archives/xarchon_0.50-9_powerpc.deb 
> (--unpack):
>    trying to overwrite 
> `/usr/share/games/xarchon/archon/actors/light/archer/move.right.0.xpm', which 
> is also in package xarchon-theme-default
 
> Looking at the package contents on 
> http://packages.debian.org/testing/games/xarchon/ it looks like the 
> xarchon packages contains all the files from xarchon-theme-default as 
> well, except for the i386 architecture

Hi,

this is clearly an RC issue. I'm upgrading the severity.

The attached patch should help. It calls 'dh_movefiles -i'
in the binary-arch target too, moving the architecture-independent
files out of the way.

Cheers,
-- 
Niko Tyni       [EMAIL PROTECTED]
--- xarchon-0.50/debian/rules   2006-10-01 15:44:23.000000000 +0300
+++ xarchon-0.50-fixed/debian/rules     2006-10-01 15:45:22.988560656 +0300
@@ -57,7 +57,8 @@
        dh_installmenu -a
        dh_installmanpages -a xarchon.6
        dh_installchangelogs -a ChangeLog
-       dh_movefiles -a --sourcedir debian/xarchon
+       # move the arch-indep files out of the way
+       dh_movefiles -i --sourcedir debian/xarchon
        # Get rid of Evil Empty Directories[tm]
        -find debian/xarchon -type d | xargs rmdir --ignore-fail-on-non-empty -p
        dh_strip -a

Reply via email to