Bug#789626: python-caja: fails to install, trying to overwrite other packages files

2015-06-30 Thread Vlad Orlov
Hi,

There are duplicate lines in python-caja.install and python-caja-common.install:

usr/share/doc/
usr/share/gtk-doc/html/

They need to be removed from python-caja.install. Check the upstream files:

https://github.com/mate-desktop/debian-packages/tree/master/python-caja/debian

Bug#789626: python-caja: fails to install, trying to overwrite other packages files

2015-06-22 Thread Andreas Beckmann
Package: python-caja
Version: 1.10.0-1~exp1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install
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-caja.
  (Reading database ... 9909 files and directories currently installed.)
  Preparing to unpack .../python-caja_1.10.0-1~exp1_amd64.deb ...
  Unpacking python-caja (1.10.0-1~exp1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/python-caja_1.10.0-1~exp1_amd64.deb (--unpack):
   trying to overwrite 
'/usr/share/gtk-doc/html/caja-python/class-caja-python-location-widget-provider.html',
 which is also in package python-caja-common 1.10.0-1~exp1
  Errors were encountered while processing:
   /var/cache/apt/archives/python-caja_1.10.0-1~exp1_amd64.deb


cheers,

Andreas


python-caja_1.10.0-1~exp1.log.gz
Description: application/gzip