2

I want to upgrade/install postgres9.6 and postgis2.3 on trusty but I cannot find a way...

Has someone succeed on that?

Ps. this repo

sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'

leads to broken packages issue

Glori P.
  • 573
  • 2
  • 5
  • 15
  • You will probably have to build from source, as the packaged versions tend to be a little bit behind, even on Ubuntu. – John Powell Mar 29 '17 at 15:20
  • @JohnBarça, Hello. I tried in different ways but I can have psql 9.6 and postgis 2.3 for xenial not trusty... maybe there is not available : I saw the repo is empty for trusty – Glori P. Mar 30 '17 at 15:25
  • As I said, you need to build from source, if you want the latest. The packaged versions are often behind, which is understandable. Once you have the build tools set up (build essential), it's not really that painful, though you will probably need to build GEOS, proj4 and gdal, as well as Postgres and Postgis. – John Powell Mar 30 '17 at 17:28
  • Hi @JohnBarça, I don't know what it means 'build from source'... I am making some research about that..Maybe Do I need to follow these step here? https://www.postgresql.org/docs/9.6/static/installation.html – Glori P. Mar 31 '17 at 08:26

0 Answers0