Bug#836993: qgis: fails to upgrade from 'jessie': dpkg-divert: error: rename involves overwriting `/usr/bin/qgis'

Andreas Beckmann anbe at debian.org
Wed Sep 7 21:24:41 UTC 2016


Package: qgis
Version: 2.14.5+dfsg-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: affects -1 + science-geography

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'jessie'.
It installed fine in 'jessie', then the upgrade to 'stretch' fails.

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

  Preparing to unpack .../qgis_2.14.5+dfsg-2_i386.deb ...
  Removing 'diversion of /usr/bin/qgis to /usr/bin/qgis.bin by qgis-plugin-grass'
  dpkg-divert: error: rename involves overwriting `/usr/bin/qgis' with
    different file `/usr/bin/qgis.bin', not allowed
  dpkg: error processing archive /var/cache/apt/archives/qgis_2.14.5+dfsg-2_i386.deb (--unpack):
   subprocess new pre-installation script returned error exit status 2


Removal of obsolete diversions should be done in the postinst, not in the preinst
(s.t. the old file is gone).

cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: science-geography_1.5.log.gz
Type: application/gzip
Size: 150736 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20160907/2b0860c5/attachment-0001.bin>


More information about the Pkg-grass-devel mailing list