Bug#817176: qgis install fails trying to overwrite /usr/bin/qbrowser.bin
Control: tags -1 pending On 09-03-16 00:32, Sebastiaan Couwenberg wrote: > I'm currently trying to figure out why the removal of the diversions is > not working as expected, I hope to have a fix ready soon. qgis (2.14.0+dfsg0-2) is on its way to unstable, it removes the obsolete diversions for both qgis-plugin-grass & qgis-provider-grass. The postinst maintainer script only removed the diversions from qgis-plugin-grass, but the diversions were moved to qgis-provider-grass in 2.8. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Bug#817176: qgis install fails trying to overwrite /usr/bin/qbrowser.bin
severity 817176 serious severity 817178 serious tags 817176 confirmed tags 817178 confirmed merge 817176 817178 thanks Hi Ben & Stefano, Sorry for breaking the upgrade. Unfortunately my piuparts tests didn't catch this issue. On 08-03-16 19:56, Ben Caradoc-Davies wrote: > Workaround is to manually remove the diversions: > > dpkg-divert --remove /usr/bin/qgis > dpkg-divert --remove /usr/bin/qbrowser > > Note that this was an upgrade from the previous qgis on unstable. The qgis.preinst maintainer script should remove the old diversions. It was used pre-2.8 to support multiple GRASS versions. The new GRASS support in post 2.8 doesn't need the diversions any more. I'm currently trying to figure out why the removal of the diversions is not working as expected, I hope to have a fix ready soon. On Tue, 8 Mar 2016 19:48:35 +0100 (CET) Stefano Costa wrote: > after the failed installation I'm left with this binary: > > steko@spheniscus:~$ ls -l /usr/bin/qgis.bin.dpkg-new > -rwxr-xr-x 1 root root 250 mar 8 08:10 /usr/bin/qgis.bin.dpkg-new The .dpkg-new files should go away after the upgrade succeeds, but you need to either remove the diversion manually (with the above dpkg-divert commands) and continue the upgrade, or wait for the fixed version. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Bug#817176:
Furthermore, after the failed installation I'm left with this binary: steko@spheniscus:~$ ls -l /usr/bin/qgis.bin.dpkg-new -rwxr-xr-x 1 root root 250 mar 8 08:10 /usr/bin/qgis.bin.dpkg-new Ciao steko -- Stefano Costa @stekosteko Editor, Journal of Open Archaeology Data
Bug#817176: qgis install fails trying to overwrite /usr/bin/qbrowser.bin
Package: qgis Version: 2.14.0+dfsg0-1 Severity: important Dear Maintainer, trying a fresh install of qgis on unstable fails with the error listed below. I don't understand how the qgis-provider-grass package is part of the problem, since it's not in the list of packages that will be installed, and it's not already installed. Thanks steko steko@spheniscus:~$ LC_ALL=C sudo apt install qgis Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libfcgi0ldbl libqca2-plugin-ossl libqgis-analysis2.14.0 libqgis-app2.14.0 libqgis-core2.14.0 libqgis-customwidgets libqgis-gui2.14.0 libqgis-networkanalysis2.14.0 libqgis-server2.14.0 libqgispython2.14.0 libqwt6abi1 libspatialindex4v5 python-qgis python-qgis-common qgis-common qgis-providers qgis-providers-common Suggested packages: gpsbabel Recommended packages: qgis-plugin-grass qgis-provider-grass The following NEW packages will be installed: libfcgi0ldbl libqca2-plugin-ossl libqgis-analysis2.14.0 libqgis-app2.14.0 libqgis-core2.14.0 libqgis-customwidgets libqgis-gui2.14.0 libqgis-networkanalysis2.14.0 libqgis-server2.14.0 libqgispython2.14.0 libqwt6abi1 libspatialindex4v5 python-qgis python-qgis-common qgis qgis-common qgis-providers qgis-providers-common 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/45.0 MB of archives. After this operation, 183 MB of additional disk space will be used. Do you want to continue? [Y/n] Selecting previously unselected package libfcgi0ldbl. (Reading database ... 260593 files and directories currently installed.) Preparing to unpack .../libfcgi0ldbl_2.4.0-8.3_amd64.deb ... Unpacking libfcgi0ldbl (2.4.0-8.3) ... Selecting previously unselected package libqca2-plugin-ossl:amd64. Preparing to unpack .../libqca2-plugin-ossl_2.1.1-2_amd64.deb ... Unpacking libqca2-plugin-ossl:amd64 (2.1.1-2) ... Selecting previously unselected package libspatialindex4v5:amd64. Preparing to unpack .../libspatialindex4v5_1.8.5-3_amd64.deb ... Unpacking libspatialindex4v5:amd64 (1.8.5-3) ... Selecting previously unselected package libqgis-core2.14.0. Preparing to unpack .../libqgis-core2.14.0_2.14.0+dfsg0-1_amd64.deb ... Unpacking libqgis-core2.14.0 (2.14.0+dfsg0-1) ... Selecting previously unselected package libqgis-analysis2.14.0. Preparing to unpack .../libqgis-analysis2.14.0_2.14.0+dfsg0-1_amd64.deb ... Unpacking libqgis-analysis2.14.0 (2.14.0+dfsg0-1) ... Selecting previously unselected package libqwt6abi1. Preparing to unpack .../libqwt6abi1_6.1.2-5_amd64.deb ... Unpacking libqwt6abi1 (6.1.2-5) ... Selecting previously unselected package libqgis-gui2.14.0. Preparing to unpack .../libqgis-gui2.14.0_2.14.0+dfsg0-1_amd64.deb ... Unpacking libqgis-gui2.14.0 (2.14.0+dfsg0-1) ... Selecting previously unselected package libqgis-app2.14.0. Preparing to unpack .../libqgis-app2.14.0_2.14.0+dfsg0-1_amd64.deb ... Unpacking libqgis-app2.14.0 (2.14.0+dfsg0-1) ... Selecting previously unselected package libqgis-customwidgets. Preparing to unpack .../libqgis-customwidgets_2.14.0+dfsg0-1_amd64.deb ... Unpacking libqgis-customwidgets (2.14.0+dfsg0-1) ... Selecting previously unselected package libqgis-networkanalysis2.14.0. Preparing to unpack .../libqgis-networkanalysis2.14.0_2.14.0+dfsg0-1_amd64.deb ... Unpacking libqgis-networkanalysis2.14.0 (2.14.0+dfsg0-1) ... Selecting previously unselected package libqgispython2.14.0. Preparing to unpack .../libqgispython2.14.0_2.14.0+dfsg0-1_amd64.deb ... Unpacking libqgispython2.14.0 (2.14.0+dfsg0-1) ... Selecting previously unselected package libqgis-server2.14.0. Preparing to unpack .../libqgis-server2.14.0_2.14.0+dfsg0-1_amd64.deb ... Unpacking libqgis-server2.14.0 (2.14.0+dfsg0-1) ... Selecting previously unselected package python-qgis-common. Preparing to unpack .../python-qgis-common_2.14.0+dfsg0-1_all.deb ... Unpacking python-qgis-common (2.14.0+dfsg0-1) ... Selecting previously unselected package python-qgis. Preparing to unpack .../python-qgis_2.14.0+dfsg0-1_amd64.deb ... Unpacking python-qgis (2.14.0+dfsg0-1) ... Selecting previously unselected package qgis-providers-common. Preparing to unpack .../qgis-providers-common_2.14.0+dfsg0-1_all.deb ... Unpacking qgis-providers-common (2.14.0+dfsg0-1) ... Selecting previously unselected package qgis-providers. Preparing to unpack .../qgis-providers_2.14.0+dfsg0-1_amd64.deb ... Unpacking qgis-providers (2.14.0+dfsg0-1) ... Selecting previously unselected package qgis-common. Preparing to unpack .../qgis-common_2.14.0+dfsg0-1_all.deb ... Unpacking qgis-common (2.14.0+dfsg0-1) ... Preparing to unpack .../qgis_2.14.0+dfsg0-1_amd64.deb ... Unpacking qgis (2.14.0+dfsg0-1) ... dpkg: error processing archive /var/cache/apt/archives/qgis_2.14.0+dfsg0-1_amd64.deb (--unpack): trying to overwrite '/usr/bin/qbrowser.bin', which is the diverted version of '/usr/bin/qbrowser' (package: qgis-provider-grass) dpkg-deb: error: subprocess