On 11/5/11 3:50 PM, Charles Lepple wrote:
> 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.

It's not quite there:

Setting up docutils-py26 (0.8-1) ...
update-alternatives: error: alternative path
/sw32/bin/rst2newlatex-2.6.py doesn't exist.
/sw32/bin/dpkg: error processing docutils-py26 (--install):
 subprocess installed post-installation script returned error exit
status 2


$ dpkg -c /sw32/fink/debs/docutils-py26_0.8-1_darwin-i386.deb | grep bin
drwxr-xr-x root/admin        0 2011-11-05 17:37 ./sw32/bin/
-rwxr-xr-x root/admin      597 2011-11-05 17:33 ./sw32/bin/rst2html-2.6.py
-rwxr-xr-x root/admin      794 2011-11-05 17:33
./sw32/bin/rst2latex-2.6.py
-rwxr-xr-x root/admin      603 2011-11-05 17:33 ./sw32/bin/rst2man-2.6.py
-rwxr-xr-x root/admin      767 2011-11-05 17:33 ./sw32/bin/rst2odt-2.6.py
-rwxr-xr-x root/admin     1701 2011-11-05 17:33
./sw32/bin/rst2odt_prepstyles-2.6.py
-rwxr-xr-x root/admin      604 2011-11-05 17:33
./sw32/bin/rst2pseudoxml-2.6.py
-rwxr-xr-x root/admin      640 2011-11-05 17:33 ./sw32/bin/rst2s5-2.6.py
-rwxr-xr-x root/admin      789 2011-11-05 17:33
./sw32/bin/rst2xetex-2.6.py
-rwxr-xr-x root/admin      605 2011-11-05 17:33 ./sw32/bin/rst2xml-2.6.py
-rwxr-xr-x root/admin      673 2011-11-05 17:33
./sw32/bin/rstpep2html-2.6.py

Should I just remove rst2newlatex from the list in the PostInstScript?
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/

------------------------------------------------------------------------------
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