[PKG-Openstack-devel] Bug#798457: python-bandit: fails to upgrade from 'sid' - trying to overwrite /usr/lib/python2.7/dist-packages/bandit/__init__.py

Andreas Beckmann anbe at debian.org
Wed Sep 9 14:10:45 UTC 2015


Package: python-bandit
Version: 0.13.2-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: affects -1 + bandit

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' 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#s-replaces

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

  Selecting previously unselected package python-bandit.
  Preparing to unpack .../python-bandit_0.13.2-1_all.deb ...
  Unpacking python-bandit (0.13.2-1) ...
  dpkg: error processing archive /var/cache/apt/archives/python-bandit_0.13.2-1_all.deb (--unpack):
   trying to overwrite '/usr/lib/python2.7/dist-packages/bandit/__init__.py', which is also in package bandit 0.12.0-1
  Preparing to unpack .../bandit_0.13.2-1_all.deb ...
  Unpacking bandit (0.13.2-1) over (0.12.0-1) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/python-bandit_0.13.2-1_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bandit_0.13.2-1.log.gz
Type: application/gzip
Size: 15970 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20150909/1de0dfdd/attachment-0001.bin>


More information about the Openstack-devel mailing list