Re: gdal-py leaves a lot of broken symlinks on uninstall

Kurt Schwehr <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
 Fix submitted.  r1.3 

    On Monday, January 11, 2016 7:51 PM, Kurt Schwehr <[email protected]> wrote:
 

 Arg. Thanks for the bug report!  I will try to fix it soon.

> On Jan 11, 2016, at 7:18 PM, Hanspeter Niederstrasser <[email protected]> wrote:
> 
> Kurt,
> 
> On 10.11, gdal-py* leaves a lot of dangling symlinks from update-alternatives:
> 
> Removing gdal-py27 ...
> Checking available versions of gdal-py, updating links in /sw/etc/alternatives ...
> (You may modify the symlinks there yourself if desired - see `man ln'.)
> Alternative /sw/bin/epsg_tr.py2.7 for gdal-py not registered, not removing.
> Leaving gdal-py (/sw/bin/epsg_tr.py) pointing to /sw/bin/epsg_tr.py27.
> Leaving gdal_proximity.py (/sw/bin/gdal_proximity.py) pointing to /sw/bin/gdal_proximity.py27.
> Leaving gcps2vec.py (/sw/bin/gcps2vec.py) pointing to /sw/bin/gcps2vec.py27.
> Leaving gdal2xyz.py (/sw/bin/gdal2xyz.py) pointing to /sw/bin/gdal2xyz.py27.
> Leaving gdal_fillnodata.py (/sw/bin/gdal_fillnodata.py) pointing to /sw/bin/gdal_fillnodata.py27.
> Leaving gdal_merge.py (/sw/bin/gdal_merge.py) pointing to /sw/bin/gdal_merge.py27.
> Leaving gdalchksum.py (/sw/bin/gdalchksum.py) pointing to /sw/bin/gdalchksum.py27.
> Leaving gdalimport.py (/sw/bin/gdalimport.py) pointing to /sw/bin/gdalimport.py27.
> Leaving esri2wkt.py (/sw/bin/esri2wkt.py) pointing to /sw/bin/esri2wkt.py27.
> Leaving gdalident.py (/sw/bin/gdalident.py) pointing to /sw/bin/gdalident.py27.
> Leaving gdal_polygonize.py (/sw/bin/gdal_polygonize.py) pointing to /sw/bin/gdal_polygonize.py27.
> Leaving gdal_retile.py (/sw/bin/gdal_retile.py) pointing to /sw/bin/gdal_retile.py27.
> Leaving gcps2wld.py (/sw/bin/gcps2wld.py) pointing to /sw/bin/gcps2wld.py27.
> Leaving mkgraticule.py (/sw/bin/mkgraticule.py) pointing to /sw/bin/mkgraticule.py27.
> Leaving rgb2pct.py (/sw/bin/rgb2pct.py) pointing to /sw/bin/rgb2pct.py27.
> Leaving pct2rgb.py (/sw/bin/pct2rgb.py) pointing to /sw/bin/pct2rgb.py27.
> Leaving gdal_sieve.py (/sw/bin/gdal_sieve.py) pointing to /sw/bin/gdal_sieve.py27.
> Leaving gdal2tiles.py (/sw/bin/gdal2tiles.py) pointing to /sw/bin/gdal2tiles.py27.
> 
> In all those, the unversioned .py file is a symlink to /sw/etc/alternatives/FOO, and that is a broken symlink to /sw/bin/FOO.py27.
> 
> In the gdal-py.info PreRmScript, you use %type_raw[python], but it should be %type_pkg[python] to match the usage in PostInstScript. That change will require a %r bump.
> 
> Hanspeter

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140

_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.