[Live-demo] [OSGeo] #1310: libpostgis-java contains wrong jar file

OSGeo trac_osgeo at osgeo.org
Thu Feb 27 00:12:25 PST 2014


#1310: libpostgis-java contains wrong jar file
----------------------+-----------------------------------------------------
 Reporter:  hamish    |       Owner:  live-demo@…              
     Type:  defect    |      Status:  new                      
 Priority:  critical  |   Milestone:  OSGeoLive7.9             
Component:  LiveDVD   |    Keywords:  postgis                  
----------------------+-----------------------------------------------------
 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

-- 
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1310>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Live-demo mailing list