-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install on ubuntu xenial #22376
Comments
Author Name: Jürgen Fischer (@jef-n) And you don't have a stale diversion leftover from a previous installation (dpkg-divert --list | grep qgis)? Because the current package doesn't use diversions anymore and the above diversion should come from a nightly that dates back to the period where GRASS7 support was only in the provider, but not yet in the plugin - hence the diversion was moved from the plugin to the provider, later when GRASS7 support in the plugin appeared back to the plugin and finally completely removed.
|
Author Name: Thomas Bonfort (@tbonfort) $ dpkg-divert --list | grep qgis qgis-provider-grass is 2.14.0 I had a previous install of qgis (wily version from ubuntu repos) but all of those packages were purged before trying to install the qgis.org debs. |
Author Name: Jürgen Fischer (@jef-n) Thomas Bonfort wrote:
Unfortunately purging doesn't help (current packages don't know qgis-provider-grass could have some - as said those only (intentionally) existed for a short period anyway). Please just remove the diversions:
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Ian Goddard (Ian Goddard) Applied the changes as above. Still fails.
|
Author Name: Bas Couwenberg (@sebastic) In #22281 Jürgen Fischer wrote:
The qgis.preinst only removes the diversion provided by qgis-plugin-grass, in 2.8 the diversions were provided by qgis-provider-grass and those are not removed. This issue also affected the qgis package in Debian as reported in "Debian Bug #817176":https://bugs.debian.org/817176, there the upgrade is from 2.8.x which requires the diversion to also be removed for the qgis-provider-grass package. For Debian I've changed qgis.preinst to remove the diversions for both qgis-plugin-grass and qgis-provider-grass with:
|
Author Name: Thomas Bonfort (@tbonfort)
Original Redmine Issue: 14395
Affected QGIS version: 2.14.0
Redmine category:build/install
Using http://qgis.org/debian/ xenial repo (but also on debian-nightly) the installation of qgis 2.14 fails with this error:
dpkg: error processing archive /var/cache/apt/archives/qgis_1%3a2.14.0+24xenial_amd64.deb (--unpack):
trying to overwrite '/usr/bin/qgis.bin', which is the diverted version of '/usr/bin/qgis' (package: qgis-provider-grass)
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
I can provide more info if requested, but this is a pretty barebones installation of ubuntu xenial (ubuntugis is not installed).
Related issue(s): #21368 (relates), #21922 (duplicates), #22370 (duplicates)
Redmine related issue(s): 13310, 13900, 14389
The text was updated successfully, but these errors were encountered: