Bug#709153: wordnet-dev: missing Breaks+Replaces: wordnet (<< 1:3.0-30~)

Andreas Beckmann anbe at debian.org
Tue May 21 08:24:11 UTC 2013


Package: wordnet-dev
Version: 1:3.0-30
Severity: serious
Tags: patch
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'testing'.
It installed fine in 'testing', 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
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

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

  Preparing to replace wordnet-dev 1:3.0-29 (using .../wordnet-dev_1%3a3.0-30_amd64.deb) ...
  Unpacking replacement wordnet-dev ...
  dpkg: error processing /var/cache/apt/archives/wordnet-dev_1%3a3.0-30_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/libwordnet.so', which is also in package wordnet 1:3.0-29
  Preparing to replace wordnet 1:3.0-29 (using .../wordnet_1%3a3.0-30_amd64.deb) ...
  Unpacking replacement wordnet ...
  Preparing to replace wordnet-base 1:3.0-29 (using .../wordnet-base_1%3a3.0-30_all.deb) ...
  Unpacking replacement wordnet-base ...
  Errors were encountered while processing:
   /var/cache/apt/archives/wordnet-dev_1%3a3.0-30_amd64.deb

Adding

Package: wordnet-dev
Breaks: wordnet (<< 1:3.0-30~)
Replaces: wordnet (<< 1:3.0-30~)

should fix this.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wordnet-dev_1:3.0-30.log.gz
Type: application/x-gzip
Size: 14221 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20130521/df2ccca1/attachment-0001.bin>


More information about the debian-science-maintainers mailing list