[pkg-apparmor] Bug#768211: python-apparmor: fails to upgrade from 'wheezy' - trying to overwrite /usr/lib/python2.7/dist-packages/apparmor/__init__.py

Andreas Beckmann anbe at debian.org
Thu Nov 6 00:52:57 UTC 2014


Package: python-apparmor
Version: 2.9.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
'wheezy'.
It installed fine in 'wheezy', then the upgrade to 'jessie' 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...):

  Selecting previously unselected package python-apparmor.
  Unpacking python-apparmor (from .../python-apparmor_2.9.0-1_amd64.deb) ...
  dpkg: error processing /var/cache/apt/archives/python-apparmor_2.9.0-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/python2.7/dist-packages/apparmor/__init__.py', which is also in package apparmor-utils 2.7.103-4
  Errors were encountered while processing:
   /var/cache/apt/archives/python-apparmor_2.9.0-1_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apparmor-utils=2.7.103-4_python-apparmor=2.9.0-1.log.gz
Type: application/gzip
Size: 11674 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-apparmor-team/attachments/20141106/5744ad31/attachment.bin>


More information about the pkg-apparmor-team mailing list