On Nov 5, 2011, at 3:26 PM, Alexander Hansen wrote:

> I get the following (using an experimental dpkg-1.15.5.6 which is more
> picky):
>
> Unpacking docutils-py26 (from
> .../docutils-py26_0.8-1_darwin-powerpc.deb) ...
> Setting up docutils-py26 (0.8-1) ...
> update-alternatives: error: alternative path
> /sw/bin/rstpep2html.py-2.6.py doesn't exist.
> /sw/bin/dpkg: error processing docutils-py26 (--install):
> subprocess installed post-installation script returned error exit  
> status 2
> Errors were encountered while processing:
> docutils-py26
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
>
> And, indeed, in the .deb, there's no such file:
>
> $ dpkg -c /sw/fink/debs/docutils-py26_0.8-1_darwin-powerpc.deb |  
> grep rstpep
> -rwxr-xr-x root/admin      671 2011-11-05 15:18 ./sw/bin/ 
> rstpep2html-2.6.py

What if you drop the .py from the last filename in the 'for' loop in  
the PostInstScript (line 50)?

http://fink.cvs.sourceforge.net/fink/dists/10.4/stable/main/finkinfo/text/docutils-py.info?view=markup#l50

The extra .py is removed in the InstallScript by the ${i%%.py}  
expression.

Feel free to commit that to both 10.4 and 10.7 if it works.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to