Closed cccs-ip closed 9 years ago
I was able to install the GIS packages in spite of this error... but I do continue to receive it. Should I be worried?
I always get this. It doesn't affect my OS, but it's strange to continue to get this error. Any cause for alarm?
Have you manually edited /etc/apt/sources.list or one of the files under /etc/apt/sources.list.d?
It looks like that line is simply wrong - remove "deb http://ppa.launchpad.net/ubuntugis/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages"
The problem should then go away.
If sudo apt-add-repository ppa:ubuntugis/ppa
puts the line back, you're sorta screwed because ubuntugis is not supported in trusty. However, I used a meta package from the ubuntu repos to install postgis without any problems:
From my machine:
/etc/apt $ dpkg -l | grep -i postgis
ii liblwgeom-2.1.2 2.1.2+dfsg-2 amd64 PostGIS "Lightweight Geometry" library
ii postgis 2.1.2+dfsg-2 amd64 Geographic objects support for PostgreSQL
ii postgresql-9.3-postgis-2.1 2.1.2+dfsg-2 amd64 Geographic objects support for PostgreSQL 9.3
ii postgresql-9.3-postgis-scripts 2.1.2+dfsg-2 all Geographic objects support for PostgreSQL 9.3 -- scripts
Once you have that broken repo link out the way, sudo apt-get install postgresql-9.3-postgis-2.1
should do the trick for you assuming those versions line up (use dpkg -l
first to check).
Thanks for this, Paul. sudo apt-add-repository ppa:ubuntugis/ppa
does indeed put the line back. It's a shame this remains the case so long into the release. I wonder if GIS application development is occurring somewhere else?
When you say you " used a meta package from the ubuntu repos to install postgis", is that to say that without adding another ppa
, you were able to run sudo apt-get install postgresql-9.3-postgis-2.1
to install posgis?
Correct. Sorry for my tardy reply.
Fresh install of Ubuntu, and I am hitting this error (which I also continue to get on my own machines):