Bug#779933: python-qgis: fails to install, trying to overwrite other packages files: /usr/lib/python2.7/dist-packages/pyspatialite/dump.py

2015-03-06 Thread Andreas Beckmann
Package: python-qgis
Version: 2.8.1+dfsg1-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-qgis.
  (Reading database ... 16341 files and directories currently installed.)
  Preparing to unpack .../python-qgis_2.8.1+dfsg1-1~exp1_amd64.deb ...
  Unpacking python-qgis (2.8.1+dfsg1-1~exp1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/python-qgis_2.8.1+dfsg1-1~exp1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/python2.7/dist-packages/pyspatialite/dump.py', 
which is also in package python-pyspatialite 3.0.1-6
  Errors were encountered while processing:
   /var/cache/apt/archives/python-qgis_2.8.1+dfsg1-1~exp1_amd64.deb


cheers,

Andreas


python-qgis_2.8.1+dfsg1-1~exp1.log.gz
Description: application/gzip
___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Processed: Re: Bug#779933: python-qgis: fails to install, trying to overwrite other packages files: /usr/lib/python2.7/dist-packages/pyspatialite/dump.py

2015-03-06 Thread Debian Bug Tracking System
Processing control commands:

 tags -1 pending
Bug #779933 [python-qgis] python-qgis: fails to install, trying to overwrite 
other packages files: /usr/lib/python2.7/dist-packages/pyspatialite/dump.py
Added tag(s) pending.

-- 
779933: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779933
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#779933: python-qgis: fails to install, trying to overwrite other packages files: /usr/lib/python2.7/dist-packages/pyspatialite/dump.py

2015-03-06 Thread Sebastiaan Couwenberg
Control: tags -1 pending

Hi Andreas,

Thanks for your work on piuparts.

On 03/06/2015 03:44 PM, Andreas Beckmann wrote:
   Unpacking python-qgis (2.8.1+dfsg1-1~exp1) ...
   dpkg: error processing archive 
 /var/cache/apt/archives/python-qgis_2.8.1+dfsg1-1~exp1_amd64.deb (--unpack):
trying to overwrite 
 '/usr/lib/python2.7/dist-packages/pyspatialite/dump.py', which is also in 
 package python-pyspatialite 3.0.1-6

I've fixed the qgis package to not build the internal pyspatialite and
use the Debian package instead.

The interal build was erroniously re-enabled after merging the upstream
package changes.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel