Package: python3-mistune0
Version: 0.8.4-1
Severity: serious
User: debian...@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
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 .../python3-mistune0_0.8.4-1_all.deb ...
  Unpacking python3-mistune0 (0.8.4-1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/python3-mistune0_0.8.4-1_all.deb (--unpack):
   trying to overwrite 
'/usr/lib/python3/dist-packages/mistune-0.8.4.egg-info/PKG-INFO', which is also 
in package python3-mistune 2.0.0-1+really0.8.4-1
  Errors were encountered while processing:
   /var/cache/apt/archives/python3-mistune0_0.8.4-1_all.deb


The following files are in conflict:

usr/lib/python3/dist-packages/mistune-0.8.4.egg-info/PKG-INFO
usr/lib/python3/dist-packages/mistune-0.8.4.egg-info/dependency_links.txt
usr/lib/python3/dist-packages/mistune-0.8.4.egg-info/not-zip-safe
usr/lib/python3/dist-packages/mistune-0.8.4.egg-info/top_level.txt
usr/lib/python3/dist-packages/mistune.py

If python3-mistune 2.* ships usr/lib/python3/dist-packages/mistune.py, too,
the two versions cannot be made co-installble and you should use
  Conflicts+Replaces: python3-mistune
otherwise (i.e. the 0.8.4 and 2.0.0 are co-installable) use
  Breaks+Replaces: python3-mistune (<< 2.0.0-1+really2.0.0)


cheers,

Andreas

Attachment: python3-mistune=2.0.0-1+really0.8.4-1_python3-mistune0=0.8.4-1.log.gz
Description: application/gzip

Reply via email to