[osgeo4w-dev] apt install libspatialindex fails
Matt Wilkie
matt.wilkie at gov.yk.ca
Mon Oct 3 13:13:45 EDT 2011
Hi Charles, thanks for the bug report.
It looks like apt is being nitpicky about parsing the package name and
is expecting a a trailing '-N' before the file extension (see graphic
at
http://trac.osgeo.org/osgeo4w/wiki/PackagingInstructions#ProblematicPackageVersions).
Judging from the fact that libspatialindex has had it's current package
name since 2010, and a previous package in 2009 of same nature, I
deduce that osgeo-setup.exe is more forgiving about lack of a package
number. So for the moment I suggest using the setup.exe for this
particular package.
Personally I think this is a bug on the part of the exe installer, not
following the package name spec, but since apt is the little guy here
I'll try and bring it inline. ;-)
matt wilkie
--------------------------------------------
Geomatics Analyst
Information Management and Technology
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------
On October-03-11 8:28:34 AM, Charles Karney wrote:
> I've started using apt to install OSGeo4W packages and today I ran into
> a problem installing libspatialindex and libspatialindex-devel. The
> version is
>
> Id: apt.py 1179 2011-09-01 12:42:24Z maphe
>
> Here's the transcript. Any help would be appreciated...
>
> $ apt install libspatialindex{,-devel}
>
> Fetching
> http://download.osgeo.org/osgeo4w/./release/libspatialindex/libspatialindex-devel/libspatialindex-devel-1.6.1.tar.bz2
> ...100%
> C:/OSGeo4W/var/cache/setup/http%3a%2f%2fdownload.osgeo.org%2fosgeo4w/./release/libspatialindex/libspatialindex-devel/libspatialindex-devel-1.6.1.tar.bz2
>
> a72ebc33b5b8786dce93c1e17dbe23b5 libspatialindex-devel-1.6.1.tar.bz2 -
> remote
> a72ebc33b5b8786dce93c1e17dbe23b5 libspatialindex-devel-1.6.1.tar.bz2 -
> local
> C:/OSGeo4W/var/cache/setup/http%3a%2f%2fdownload.osgeo.org%2fosgeo4w/./release/libspatialindex/libspatialindex-1.6.1.tar.bz2
>
> 09c3e1eb29089461a4dcdabecc85f053 libspatialindex-1.6.1.tar.bz2 - remote
> 09c3e1eb29089461a4dcdabecc85f053 libspatialindex-1.6.1.tar.bz2 - local
>
>
> *** Error parsing version numer from "libspatialindex-1.6.1.tar.bz2"
>
>
> to install:
> libspatialindex-devel libspatialindex
> Traceback (most recent call last):
> File "<string>", line 1043, in<module>
> File "<string>", line 150, in install
> File "<string>", line 169, in install_next
> File "<string>", line 178, in install_next
> File "<string>", line 617, in get_version
> File "<string>", line 736, in split_ball
> AttributeError: 'NoneType' object has no attribute 'group'
>
More information about the osgeo4w-dev
mailing list