Bug#768206: love-doc: fails to upgrade from 'wheezy' - trying to overwrite /usr/share/doc/love/demos/lovalanche.love

2014-11-05 Thread Andreas Beckmann
Package: love-doc
Version: 0.9.1-2
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'wheezy'.
It installed fine in 'wheezy', then the upgrade to 'jessie' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package love-doc.
  Unpacking love-doc (from .../love-doc_0.9.1-2_all.deb) ...
  dpkg: error processing /var/cache/apt/archives/love-doc_0.9.1-2_all.deb 
(--unpack):
   trying to overwrite '/usr/share/doc/love/demos/lovalanche.love', which is 
also in package love 0.8.0-1+deb7u1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/love-doc_0.9.1-2_all.deb


cheers,

Andreas


love=0.8.0-1+deb7u1_love-doc=0.9.1-2.log.gz
Description: application/gzip


Bug#768206: love-doc: fails to upgrade from 'wheezy' - trying to overwrite /usr/share/doc/love/demos/lovalanche.love

2014-11-10 Thread Juhani Numminen
Control: tags -1 + patch

Hi,

This seems to be caused by moving files between packages without adding
the needed Breaks and Replaces. I made a patch (svn diff) for the
package with the help of Debian wiki page[1].

[1] https://wiki.debian.org/PackageTransition   (please see case #9)

Cheers,
Juhani


Index: debian/control
===
--- debian/control  (revision 15316)
+++ debian/control  (working copy)
@@ -19,6 +19,7 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: binfmt-support
+Breaks: love-doc (<< 0.9.1-2)
 Description: 2D game development framework based on Lua and OpenGL
  LÖVE was created to be a user-friendly engine in which simple (or
  complicated) games could be made without having extensive knowledge
@@ -55,6 +56,8 @@
 Architecture: all
 Depends: ${misc:Depends}
 Suggests: love
+Breaks: love (<< 0.9.1-2)
+Replaces: love (<< 0.9.1-2)
 Description: 2D game development framework - documentation
  LÖVE was created to be a user-friendly engine in which simple (or
  complicated) games could be made without having extensive knowledge


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#768206: love-doc: fails to upgrade from 'wheezy' - trying to overwrite /usr/share/doc/love/demos/lovalanche.love

2014-11-13 Thread Vincent Cheng
Control: tag -1 + pending

On Mon, Nov 10, 2014 at 8:51 AM, Juhani Numminen
 wrote:
> Control: tags -1 + patch
>
> Hi,
>
> This seems to be caused by moving files between packages without adding
> the needed Breaks and Replaces. I made a patch (svn diff) for the
> package with the help of Debian wiki page[1].

Thanks for the patch! Will upload soon. (Note that it's unnecessary
for love to declare a breaks relation against love-doc.)

Regards,
Vincent


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org