[DRE-maint] Bug#1011444: ruby-gitlab-markup: missing Breaks+Replaces: ruby-github-markup (<< 1.7.0+dfsg-4~)

Andreas Beckmann anbe at debian.org
Mon May 23 01:13:41 BST 2022


Package: ruby-gitlab-markup
Version: 1.8.0-1
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
'stable'.
It installed fine in 'stable', then the upgrade to 'sid' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

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

This test intentionally skipped 'testing' to find file overwrite
problems before packages migrate from 'unstable' to 'testing'.

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

  Preparing to unpack .../ruby-gitlab-markup_1.8.0-1_all.deb ...
  Unpacking ruby-gitlab-markup (1.8.0-1) ...
  dpkg: error processing archive /var/cache/apt/archives/ruby-gitlab-markup_1.8.0-1_all.deb (--unpack):
   trying to overwrite '/usr/lib/ruby/vendor_ruby/github/commands/rest2html', which is also in package ruby-github-markup 1.7.0+dfsg-3
  Errors were encountered while processing:
   /var/cache/apt/archives/ruby-gitlab-markup_1.8.0-1_all.deb

(There is no file conflict with ruby-github-markup (1.7.0+dfsg-4) in sid.)


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-github-markup=1.7.0+dfsg-3_ruby-gitlab-markup=1.8.0-1.log.gz
Type: application/gzip
Size: 13313 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20220523/27fb0888/attachment.gz>


More information about the Pkg-ruby-extras-maintainers mailing list