Opened 11 years ago
Closed 10 years ago
#1310 closed defect (fixed)
libpostgis-java contains wrong jar file
Reported by: | hamish | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | OSGeoLive8.0 |
Component: | OSGeoLive | Keywords: | postgis |
Cc: | johan.vandewauw@… |
Description
Hi,
$ dpkg -l | grep libpostgis-java ... version 2.1.1-1~precise3 installed $ dpkg -L libpostgis-java | grep jar /usr/share/java/postgis-jdbc-2.1.0~rc1.jar /usr/share/java/postgis.jar
/usr/share/java/postgis.jar is a symlink which points to a non-existent postgis-jdbc-2.1.1.jar.
so anything trying to use postgis.jar will fail.
a possible work-around:
# fix for package breakage rm -f /usr/share/java/postgis.jar ln -s /usr/share/java/postgis-jdbc-2.1.0~rc1.jar /usr/share/java/postgis.jar
'apt-cache policy' shows that the package is installed from the osgeolive ppa.
Hamish
Change History (6)
follow-up: 2 comment:1 by , 11 years ago
comment:2 by , 11 years ago
comment:3 by , 11 years ago
Cc: | added |
---|
comment:4 by , 11 years ago
Milestone: | OSGeoLive7.9 → OSGeoLive8.0 |
---|
postgis.jar now shows to the correct file. Has to be fixed in ppa though.
comment:5 by , 10 years ago
in build 11555, I noticed in the log:
=============================================================== Starting "install_osm.sh" ... =============================================================== Reading package lists... Building dependency tree... ... The following NEW packages will be installed: ... libplexus-classworlds-java libpostgis-java libpostgresql-jdbc-java ... Get:2 http://ppa.launchpad.net/osgeolive/nightly/ubuntu/ trusty/main libpostgis-java all 2.1.3+dfsg-3~tr usty1 [464 kB] ... Selecting previously unselected package libpostgresql-jdbc-java. Preparing to unpack .../libpostgresql-jdbc-java_9.2-1002-1_all.deb ... Unpacking libpostgresql-jdbc-java (9.2-1002-1) ... Selecting previously unselected package libpostgis-java. Preparing to unpack .../libpostgis-java_2.1.3+dfsg-3~trusty1_all.deb ... Unpacking libpostgis-java (2.1.3+dfsg-3~trusty1) ... ... Setting up libpostgresql-jdbc-java (9.2-1002-1) ... Setting up libpostgis-java (2.1.3+dfsg-3~trusty1) ...
comment:6 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I traced this in alpha4 and seems that the postgis.jar now corectly links to the postgis-jdbc-2.1.3.jar
Note:
See TracTickets
for help on using tickets.
I don't think this is used by any software on the disk. Is this really critical?