Bug#362870: planetpenguin-racer: failed upgrade: overwrite of image file from -data

Eddy Petrişor eddy.petrisor at gmail.com
Mon Apr 17 13:34:29 UTC 2006


tag 362870 patch
thanks


On 4/16/06, Rudy Godoy <rudy at kernel-panik.org> wrote:
> Package: planetpenguin-racer
> Version: 0.3.1-5
> Severity: important
>
> While upgrading to latest version I got the following message:
> Preparing to replace planetpenguin-racer 0.3.1-5 (using .../planetpenguin-racer_0.3.1-6_i386.deb) ...
> Unpacking replacement planetpenguin-racer ...
> dpkg: error processing /var/cache/apt/archives/planetpenguin-racer_0.3.1-6_i386.deb (--unpack):
>  trying to overwrite `/usr/share/pixmaps/ppracer-16x16.png', which is also in package planetpenguin-racer-data
>
> which makes this package unable to upgrade.
>

I think this patch should fix it:

Index: debian/rules
===================================================================
--- debian/rules        (revision 526)
+++ debian/rules        (working copy)
@@ -113,7 +113,7 @@
        dh_installman -s ppracer.6 ppracer.de.6
        dh_installdocs -s AUTHORS
        # now let's install all the icons...
-       dh_install -s --exclude=.uu debian/icons/* /usr/share/pixmaps
+       dh_install -pplanetpenguin-racer-data -s --exclude=.uu
debian/icons/* /usr/share/pixmaps


 binary-common:


--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein


More information about the Pkg-games-devel mailing list