[QGIS-it-user] Installazione QGIS Server su Ubuntu 16 xenial

Matteo Nastasi nastasi a openquake.org
Gio 21 Mar 2019 03:42:49 PDT


On 21/03/19 10:50, Federico Gianoli wrote:
Ciao Federico,
ciao a tutti (prima mail alla lista a cui mi sono iscritto come promesso 
a Paolo a Coruña).

> Carissimi,
> sto riscontrando diversi problemi ad installare QGIS Server 3.4 su un 
> server con ubuntu 16 xenial.
>
> Ho aggiunto i seguenti repository a /etc/apt/sources.list
>
> deb http://qgis.org/ubuntugis-ltr xenial main
> deb-src http://qgis.org/ubuntugis-ltr xenial main
>
> Con questi aggiunti, col comando apt-cache policy qgis-server mi 
> individua correttamente la versione 3.4.5+24xenial-ubuntugis
> ma quando gli dico di installare mi lascia questi errori
>
> # apt-get -y install qgis-server python-qgis
>
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  python-qgis : Depends: python-qgis-common (= 
> 1:3.4.5+24xenial-ubuntugis) but it is not going to be installed
>                Depends: libqgispython3.4.5 but it is not going to be 
> installed
>                Depends: libqgis-analysis3.4.5 but it is not going to 
> be installed
>                Depends: libqgis-core3.4.5 but it is not going to be 
> installed
>                Depends: libqgis-gui3.4.5 but it is not going to be 
> installed
>                Depends: libqgis-server3.4.5 but it is not going to be 
> installed
>  qgis-server : Depends: qgis-providers (= 1:3.4.5+24xenial-ubuntugis) 
> but it is not going to be installed
>                Depends: libqgis-core3.4.5 but it is not going to be 
> installed
>                Depends: libqgis-server3.4.5 but it is not going to be 
> installed
> E: Unable to correct problems, you have held broken packages.
>
>
> Ho provato ad installare manualmente ma non le trova, gli stessi 
> errori li ho anche se provo ad installare qgis.
> Qualcuno ha sperimentato gli stessi errori?

Provando a installare le dipendenze si arriva a questo:

$ apt-get install libqgis-core3.4.5
.....

The following packages have unmet dependencies:
  libqgis-core3.4.5 : Depends: libgdal20 (>= 2.2.0) but it is not 
installable
E: Unable to correct problems, you have held broken packages.

Che vuol dire non esserci una libgidal30 >= 2.2.0 per Ubuntu Trusty né 
in quel repository, né nei repo standard di Ubuntu.

Dove trovarla non lo so ma il motivo primigenio è questo.

Saluti, Matteo.

>
> Ho fatto la stessa installazione anche su un server ubuntu 18 bionic 
> ed è filata liscissima, purtoppo non posso fare l'upgrade di ubuntu 16.
>
> Grazie mille
>
> Federico
>
>
>
> _______________________________________________
> QGIS-it-user mailing list
> QGIS-it-user a lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-it-user


-- 
--
MATTEO NASTASI | Senior Software Engineer | +39-0382-5169865
GLOBAL EARTHQUAKE MODEL | working together to assess risk
GEM - globalquakemodel.org | T - @GEMwrld | F - GEMwrld



Maggiori informazioni sulla lista QGIS-it-user