<div dir="ltr"><div>Hi all, thanks for all your replies.</div><div><br></div><div>I finally managed to install from ubuntugis-ltr repo (ver. 3.4.7) and when I encountered the configure error about OpenCL with qgis-providers I just deleted the libOpenCL.so.1. And it worked.</div><div><br></div><div>Ethan<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 23, 2019 at 5:30 PM Andre Joost <<a href="mailto:andre%2Bjoost@nurfuerspam.de">andre+joost@nurfuerspam.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
you get stuck because qgis 3.4.6 from <a href="http://qgis.org" rel="noreferrer" target="_blank">qgis.org</a> is built against GRASS <br>
7.6.0 from the ubuntugis-unstable ppa, but that ppa has upgraded to <br>
Grass 7.6.1 in the meantime.<br>
<br>
This should be resolved by the next QGIS point release.<br>
<br>
Alternatively, you can remove the <a href="http://qgis.org" rel="noreferrer" target="_blank">qgis.org</a> stuff from your sources list, <br>
purge and autoremove the 3.4.4 packages, and install QGIS 3.4.6 from the <br>
ubuntugis-unstable ppa only.<br>
<br>
HTH,<br>
Andre Joost<br>
<br>
Am 23.04.19 um 05:13 schrieb Zhang Qun:<br>
> Hi<br>
> I know Ubuntu16.04 is a bit old for QGIS now but since our software is all<br>
> built on Ubuntu16.04 so I tried to install QGIS 3.x on it. Below is my<br>
> tries but with no luck. Any help?<br>
><br>
> *1. using <a href="https://qgis.org/ubuntugis" rel="noreferrer" target="_blank">https://qgis.org/ubuntugis</a> <<a href="https://qgis.org/ubuntugis" rel="noreferrer" target="_blank">https://qgis.org/ubuntugis</a>><br>
> repository*<br>
> $ sudo apt install qgis python3-qgis qgis-plugin-grass<br>
> Reading package lists... Done<br>
> Building dependency tree<br>
> Reading state information... Done<br>
> E: Unable to locate package python3-qgis<br>
><br>
> $ sudo apt install qgis python-qgis qgis-plugin-grass<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>
> *2. using <a href="http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu" rel="noreferrer" target="_blank">http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu</a><br>
> <<a href="http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu" rel="noreferrer" target="_blank">http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu</a>>*<br>
> $ sudo apt install qgis python3-qgis qgis-plugin-grass<br>
> Setting up qgis-providers (3.4.6+dfsg-1~xenial1) ...<br>
> /usr/lib/qgis/crssync:<br>
> /usr/local/cuda-8.0/targets/x86_64-linux/lib/libOpenCL.so.1: no version<br>
> information available (required by /usr/lib/libqgis_core.so.3.4.6)<br>
> /usr/lib/qgis/crssync:<br>
> /usr/local/cuda-8.0/targets/x86_64-linux/lib/libOpenCL.so.1: no version<br>
> information available (required by /usr/lib/libqgis_core.so.3.4.6)<br>
> /usr/lib/qgis/crssync:<br>
> /usr/local/cuda-8.0/targets/x86_64-linux/lib/libOpenCL.so.1: no version<br>
> 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:<br>
> symbol clCreateCommandQueueWithProperties, version OPENCL_2.0 not defined<br>
> 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<br>
> 127<br>
><br>
> $ sudo apt install qgis python-qgis qgis-plugin-grass<br>
> The following packages have unmet dependencies:<br>
>   python-qgis : Depends: python-qgis-common (= 2.18.28+dfsg-1~xenial1) but<br>
> it is not going to be installed<br>
> E: Unable to correct problems, you have held broken packages.<br>
><br>
> Best regards,<br>
> Zhang Qun<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
><br>
<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div>