<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi</div><div>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?<br></div><div><b><br></b></div><div><b>1. using <a href="https://qgis.org/ubuntugis">https://qgis.org/ubuntugis</a> repository</b><br><span style="color:rgb(0,0,255)">$ sudo apt install qgis python3-qgis qgis-plugin-grass</span><br>Reading package lists... Done<br>Building dependency tree       <br>Reading state information... Done<br>E: Unable to locate package python3-qgis<br><br><span style="color:rgb(0,0,255)">$ sudo apt install qgis python-qgis qgis-plugin-grass</span><br>The following packages have unmet dependencies:<br> qgis-plugin-grass : Depends: +grass760 but it is not installable<br>E: Unable to correct problems, you have held broken packages.<br><br><b>2. using <a href="http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu">http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu</a></b><br><span style="color:rgb(0,0,255)">$ sudo apt install qgis python3-qgis qgis-plugin-grass</span><br>Setting up qgis-providers (3.4.6+dfsg-1~xenial1) ...<br>/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)<br>/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)<br>/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)<br>/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<br>dpkg: error processing package qgis-providers (--configure):<br> subprocess installed post-installation script returned error exit status 127<br><span style="color:rgb(0,0,255)"><br>$ sudo apt install qgis python-qgis qgis-plugin-grass</span><br>The following packages have unmet dependencies:<br> python-qgis : Depends: python-qgis-common (= 2.18.28+dfsg-1~xenial1) but it is not going to be installed<br>E: Unable to correct problems, you have held broken packages.<br></div><div><br></div><div>Best regards,</div><div>Zhang Qun<br></div></div></div></div>