Sono nuovo a Postgre e Ubuntu. Sto facendo funzionare una VM con Ubuntu 14.04 LTS Trusty. Sto cercando installare PostgreSql9.4 database e PostGIS 2.1.Here sono i comandi mi sono imbattuto sulla macchina Ubuntu:PostGIS -Ubuntu Errore di installazione per chiedere le dipendenze
sudo apt-get install wget ca-certificates
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt trusty-pgdg main" >> /etc/apt/sources.list'
wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install postgresql-9.4-postgis-2.1 pgadmin3 postgresql-contrib
Comunque sto ottenendo il seguente errore.
The following packages have unmet dependencies: pgadmin3 : Depends: libwxbase3.0-0 (>= 3.0.0) but it is not installable Depends: libwxgtk3.0-0 (>= 3.0.0) but it is not installable Recommends: pgagent but it is not going to be installed postgresql-9.4-postgis-2.1 : Depends: libgdal1h (>= 1.9.0) but it is not installable Depends: libgeos-c1 (>= 3.4.2) but it is not installable Depends: liblwgeom-2.1.5 (>= 2.1.2) but it is not going to be installed Depends: libproj0 (>= 4.8.0-1) but it is not installable E: Unable to correct problems, you have held broken packages.
Ho cercato diversi posti e ho visto molte risposte, ma nessuna di esse funziona per me. Ho anche provato il PostgreSQL9.3 e non potevo avere successo. Grazie in anticipo per il tuo aiuto. Grazie
Grazie, questo ha aiutato anche su linux mint 18. – Lazyexpert