Package: wordnet-dev
Version: 1:3.0-30
Severity: serious
Tags: patch
User: [email protected]
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

Attachment: wordnet-dev_1:3.0-30.log.gz
Description: GNU Zip compressed data

Reply via email to