<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>If you have previously installed 2.18 and trying to upgrade you
      need to remove as many of the old packages first.</p>
    <p>After uninstalling Qgis 2.18 use apt autoremove to clear off all
      the old 2.18 packages.<br>
    </p>
    <div class="moz-cite-prefix">On 23/04/19 3:13 PM, Zhang Qun wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CADk-=6chMr0ic70EBhPKewTSvjEdUWGK29qiMyehcdE4ugz0HA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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"
                  moz-do-not-send="true">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"
                  moz-do-not-send="true">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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
    </blockquote>
  </body>
</html>