Bug#880217: ansible-tower-cli-doc: fails to upgrade from 'testing' - trying to overwrite /usr/share/doc/ansible-tower-cli/CONFIG_CMD_OPTIONS.md.gz

2017-10-31 Thread Evgeni Golov
Hi,

On Mon, Oct 30, 2017 at 06:23:32PM +0100, Andreas Beckmann wrote:
> See policy 7.6 at
> https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

This should be
https://www.debian.org/doc/debian-policy/#overwriting-files-and-replacing-packages-replaces

Where can I file a bug against your templates? ;)

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

I'll fix these asap, thanks!

Evgeni



Bug#880217: ansible-tower-cli-doc: fails to upgrade from 'testing' - trying to overwrite /usr/share/doc/ansible-tower-cli/CONFIG_CMD_OPTIONS.md.gz

2017-10-30 Thread Andreas Beckmann
Package: ansible-tower-cli-doc
Version: 3.2.0-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#s-replaces

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

  Selecting previously unselected package ansible-tower-cli-doc.
  Preparing to unpack .../6-ansible-tower-cli-doc_3.2.0-1_all.deb ...
  Unpacking ansible-tower-cli-doc (3.2.0-1) ...
  dpkg: error processing archive 
/tmp/apt-dpkg-install-ZjLZ5A/6-ansible-tower-cli-doc_3.2.0-1_all.deb (--unpack):
   trying to overwrite 
'/usr/share/doc/ansible-tower-cli/CONFIG_CMD_OPTIONS.md.gz', which is also in 
package ansible-tower-cli 3.1.4-1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-ZjLZ5A/6-ansible-tower-cli-doc_3.2.0-1_all.deb

There are similar problems in python3-tower-cli:

  Selecting previously unselected package python3-tower-cli.
  Preparing to unpack .../python3-tower-cli_3.2.0-1_all.deb ...
  Unpacking python3-tower-cli (3.2.0-1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/python3-tower-cli_3.2.0-1_all.deb (--unpack):
   trying to overwrite '/usr/lib/python3/dist-packages/tower_cli/VERSION', 
which is also in package ansible-tower-cli 3.1.4-1
  Errors were encountered while processing:
   /var/cache/apt/archives/python3-tower-cli_3.2.0-1_all.deb


cheers,

Andreas


ansible-tower-cli=3.1.4-1_ansible-tower-cli-doc=3.2.0-1.log.gz
Description: application/gzip