[Qgis-user] Install QGIS 3.x on Ubuntu16.04

Zhang Qun zhangq.rhy at gmail.com
Mon Apr 22 20:13:18 PDT 2019


Hi
I know Ubuntu16.04 is a bit old for QGIS now but since our software is all
built on Ubuntu16.04 so I tried to install QGIS 3.x on it. Below is my
tries but with no luck. Any help?

*1. using https://qgis.org/ubuntugis <https://qgis.org/ubuntugis>
repository*
$ sudo apt install qgis python3-qgis qgis-plugin-grass
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-qgis

$ sudo apt install qgis python-qgis qgis-plugin-grass
The following packages have unmet dependencies:
 qgis-plugin-grass : Depends: +grass760 but it is not installable
E: Unable to correct problems, you have held broken packages.

*2. using http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu
<http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu>*
$ sudo apt install qgis python3-qgis qgis-plugin-grass
Setting up qgis-providers (3.4.6+dfsg-1~xenial1) ...
/usr/lib/qgis/crssync:
/usr/local/cuda-8.0/targets/x86_64-linux/lib/libOpenCL.so.1: no version
information available (required by /usr/lib/libqgis_core.so.3.4.6)
/usr/lib/qgis/crssync:
/usr/local/cuda-8.0/targets/x86_64-linux/lib/libOpenCL.so.1: no version
information available (required by /usr/lib/libqgis_core.so.3.4.6)
/usr/lib/qgis/crssync:
/usr/local/cuda-8.0/targets/x86_64-linux/lib/libOpenCL.so.1: no version
information available (required by /usr/lib/libqgis_core.so.3.4.6)
/usr/lib/qgis/crssync: relocation error: /usr/lib/libqgis_core.so.3.4.6:
symbol clCreateCommandQueueWithProperties, version OPENCL_2.0 not defined
in file libOpenCL.so.1 with link time reference
dpkg: error processing package qgis-providers (--configure):
 subprocess installed post-installation script returned error exit status
127

$ sudo apt install qgis python-qgis qgis-plugin-grass
The following packages have unmet dependencies:
 python-qgis : Depends: python-qgis-common (= 2.18.28+dfsg-1~xenial1) but
it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Best regards,
Zhang Qun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190423/a61e904d/attachment.html>


More information about the Qgis-user mailing list