Bug#1034433: libsdl3-doc: missing Breaks+Replaces: libsdl1.2-dev (<< 3)

Andreas Beckmann anbe at debian.org
Sat Apr 15 08:33:31 BST 2023


Package: libsdl3-doc
Version: 3~git20230412+dfsg-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.
This error may also be triggered by having a predecessor package from
'sid' installed while installing the package from 'experimental'.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

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

  Preparing to unpack .../libsdl3-doc_3~git20230412+dfsg-2_all.deb ...
  Unpacking libsdl3-doc (3~git20230412+dfsg-2) ...
  dpkg: error processing archive /var/cache/apt/archives/libsdl3-doc_3~git20230412+dfsg-2_all.deb (--unpack):
   trying to overwrite '/usr/share/man/man3/SDL_AddTimer.3.gz', which is also in package libsdl1.2-dev 1.2.15+dfsg2-8
  Errors were encountered while processing:
   /var/cache/apt/archives/libsdl3-doc_3~git20230412+dfsg-2_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libsdl1.2-dev=1.2.15+dfsg2-8_libsdl3-doc=3~git20230412+dfsg-2.log.gz
Type: application/gzip
Size: 17579 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-sdl-maintainers/attachments/20230415/6fe7d4fb/attachment.gz>


More information about the Pkg-sdl-maintainers mailing list