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

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?

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

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@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

On 21/03/19 11:42, Matteo Nastasi wrote:

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

DOUBLE TYPO !
Che vuol dire non esserci una libgidal20 >= 2.2.0 per Ubuntu Xenial né in quel repository, né nei repo standard di Ubuntu.

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

In realtà io riscontro un errore simile anche su un ubuntu-server 18.04 per aggiornare alla nuova LTR:

sudo apt install libqgis-analysis3.4.5

Lettura elenco dei pacchetti… Fatto

Generazione albero delle dipendenze

Lettura informazioni sullo stato… Fatto

Alcuni pacchetti non possono essere installati. Questo può voler dire

che è stata richiesta una situazione impossibile oppure, se si sta

usando una distribuzione in sviluppo, che alcuni pacchetti richiesti

non sono ancora stati creati o sono stati rimossi da Incoming.

Le seguenti informazioni possono aiutare a risolvere la situazione:

I seguenti pacchetti hanno dipendenze non soddisfatte:

libqgis-analysis3.4.5 : Dipende: gdal-abi-2-3-0 ma non è installabile

E: Impossibile correggere i problemi, ci sono pacchetti danneggiati bloccati.

Volevo capire se è un problema anche di altri prima di aprire un ticket

R

---- On gio, 21 mar 2019 11:54:35 +0100 Matteo Nastasi nastasi@openquake.org wrote ----

On 21/03/19 11:42, Matteo Nastasi wrote:

Che vuol dire non esserci una libgidal30 >= 2.2.0 per Ubuntu Trusty né

in quel repository, né nei repo standard di Ubuntu.

DOUBLE TYPO !

Che vuol dire non esserci una libgidal20 >= 2.2.0 per Ubuntu Xenial né

in quel repository, né nei repo standard di Ubuntu.

MATTEO NASTASI | Senior Software Engineer | +39-0382-5169865

GLOBAL EARTHQUAKE MODEL | working together to assess risk

GEM - globalquakemodel.org | T - @GEMwrld | F - GEMwrld


QGIS-it-user mailing list

QGIS-it-user@lists.osgeo.org

https://lists.osgeo.org/mailman/listinfo/qgis-it-user

Le dipendenze me le ha risolte tutte aggiungendo il repository unstable di ubuntugis:
con: sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
e poi: apt-get update

Se questa sia la soluzione corretta non lo so; ...-testing va bene se si vuole installare solo qgis-server ma per python-qgis 'unstable' diventa l'unica opzione.

Saluti, Matteo.

On 21/03/19 10:50, Federico Gianoli wrote:

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?

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@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

Ciao a tutti.
Ho bisogno di un consiglio.
Vorrei misurare la "curvosità di tratti di strada (tratti da 250 metri).
Esiste un qualche plugin o metodo che avete usato?
L’idea è di capire se un dato tratto stradale predisponga alla velocità,
tenendo conto dell’entrata del tratto precedente e uscita del tratto successivo!
qualche dritta? Un confronto?
grazie in anticipo
giuseppe puddu

Con OpenStar hai Giga, SMS e i minuti che vuoi da 4,99€ al mese, per sempre. Cambi gratis quando e come vuoi e in più hai 6 mesi di INFINTY! http://tisca.li/myopen

Grazie Matteo,
ora provo anche questa soluzione e vi faccio sapere

Federico

Il giorno lun 25 mar 2019 alle ore 09:06 Matteo Nastasi <nastasi@openquake.org> ha scritto:

Le dipendenze me le ha risolte tutte aggiungendo il repository unstable
di ubuntugis:
con: sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
e poi: apt-get update

Se questa sia la soluzione corretta non lo so; …-testing va bene se si
vuole installare solo qgis-server ma per python-qgis ‘unstable’ diventa
l’unica opzione.

Saluti, Matteo.

On 21/03/19 10:50, Federico Gianoli wrote:

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?

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@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

On 26/03/19 09:31, Federico Gianoli wrote:

Grazie Matteo,
ora provo anche questa soluzione e vi faccio sapere

Ciao Federico,

qualche novità ?

Federico

Il giorno lun 25 mar 2019 alle ore 09:06 Matteo Nastasi <nastasi@openquake.org <mailto:nastasi@openquake.org>> ha scritto:

    Le dipendenze me le ha risolte tutte aggiungendo il repository
    unstable
    di ubuntugis:
    con: sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
    e poi: apt-get update

    Se questa sia la soluzione corretta non lo so; ...-testing va bene
    se si
    vuole installare solo qgis-server ma per python-qgis 'unstable'
    diventa
    l'unica opzione.

    Saluti, Matteo.

    On 21/03/19 10:50, Federico Gianoli wrote:
    > 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?
    >
    > 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@lists.osgeo.org <mailto:QGIS-it-user@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 <http://globalquakemodel.org> | T -
    @GEMwrld | F - GEMwrld

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