Kevin Horton wrote: > > On 6 Jul 2007, at 11:21, Alexander K. Hansen wrote: > >> Pierre-Henri Lavigne wrote: >>> Good day all, >>> >>> Jack as i can't re-update at the moment, I allowed myself to send >>> you the error message I got with the kipi plugins. >>> Actually Alexander the problem with ptex-base strikes back. I tried >>> to switch to tetex-base and it seems there is a problem (conflict ?) >>> with cadabra : >>> >>> Removing ptex-base ... >>> install-info(web2c.info): deleting entry `* Web2c: (web2c) ...' >>> install-info(dvips.info): deleting entry `* DVI-to-Postscript: >>> (dvips) ...' >>> install-info(latex.info): deleting entry `* LaTeX2e: (latex) ...' >>> dpkg - warning: while removing ptex-base, directory >>> `/sw/var/lib/texmf/fonts' not empty so not removed. >>> dpkg - warning: while removing ptex-base, directory >>> `/sw/var/lib/texmf' not empty so not removed. >>> Selecting previously deselected package tetex-base. >>> (Reading database ... 274293 files and directories currently >>> installed.) >>> Unpacking tetex-base (from >>> .../tetex-base_3.0-1002_darwin-powerpc.deb) ... >>> Removing any leftover files from obsolete teTeX installations ... >>> /sw/bin/dpkg: error processing >>> /sw/fink/dists/unstable/main/binary-darwin-powerpc/text/tetex-base_3.0-1002_darwin-powerpc.deb >>> >>> (--unpack): >>> trying to overwrite `/sw/share/texmf-local', which is also in >>> package cadabra >>> Errors were encountered while processing: >>> >>> /sw/fink/dists/unstable/main/binary-darwin-powerpc/text/tetex-base_3.0-1002_darwin-powerpc.deb >>> >>> >>> E: Sub-process /sw/bin/dpkg returned an error code (1) >>> >>> Regards, >>> >>> >>> Åkeson Chihiro >>> Some exist through what they do... >>> We exist through what we are >>> Tel: +33 (0)6.18.75.32.67 >>> >>> >>> >>> >>> Le tout nouveau Yahoo! Courriel. Consultez vos fils RSS depuis >>> votre boîte de réception. >>> http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.intl=cf >>> >>> >>> >> It looks like a fair number of packages stick their TeX stuff in >> /sw/etc/texmf.local and then do a mktexlsr as part of the >> postinstscript. Cadabra may need to go that route. > > Cadabra already has: > PostInstScript: if [ -f %p/bin/mktexlsr ]; then mktexlsr > %p/etc/texmf.local; fi > > Should this be crafted differently? Maybe a different solution is > needed to this problem. > > Kevin Horton > Ottawa, Canada > > Ah. Your PostInstScript is fine, but it's not actually acting on anything:
$ dpkg -L cadabra /. /sw /sw/bin /sw/bin/cadabra /sw/bin/xcadabra /sw/share /sw/share/doc /sw/share/doc/cadabra /sw/share/doc/cadabra/AUTHORS /sw/share/doc/cadabra/COPYING /sw/share/doc/cadabra/ChangeLog /sw/share/doc/cadabra/doc /sw/share/doc/cadabra/doc/ChangeLog /sw/share/doc/cadabra/doc/Makefile /sw/share/doc/cadabra/doc/Makefile.in /sw/share/doc/cadabra/doc/cadabra.tex /sw/share/doc/cadabra/doc/combinatorics.tex /sw/share/doc/cadabra/doc/doxygen_cadabra.config /sw/share/doc/cadabra/doc/doxygen_tree.config /sw/share/doc/cadabra/doc/exp1.eps /sw/share/doc/cadabra/doc/exp1.fig /sw/share/doc/cadabra/doc/exp2.eps /sw/share/doc/cadabra/doc/favicon.ico /sw/share/doc/cadabra/doc/index.html /sw/share/doc/cadabra/doc/paper.tex /sw/share/doc/cadabra/doc/showcase.tex /sw/share/doc/cadabra/doc/tree.html /sw/share/doc/cadabra/doc/tree.tex /sw/share/doc/cadabra/doc/treefig.eps /sw/share/doc/cadabra/doc/treefig.fig /sw/share/doc/cadabra/doc/treefig.pdf /sw/share/doc/cadabra/doc/youngtab++.tex /sw/share/doc/cadabra/examples /sw/share/doc/cadabra/examples/bianchi_identities.cnb /sw/share/doc/cadabra/examples/fierz.cnb /sw/share/doc/cadabra/examples/maxwell.cnb /sw/share/doc/cadabra/examples/simple_clifford.cnb /sw/share/doc/cadabra/examples/supergravity.cnb /sw/share/doc/cadabra/history /sw/share/doc/cadabra/texmacs /sw/share/doc/cadabra/texmacs/init-cadabra.scm /sw/share/doc/cadabra/texmacs/showcase1.png /sw/share/doc/cadabra/texmacs/showcase1.tm /sw/share/doc/cadabra/texmacs/showcase2.tm /sw/share/doc/cadabra/texmacs/showcase3.png /sw/share/doc/cadabra/texmacs/showcase3.tm /sw/share/doc/cadabra/texmacs/showcase4.tm /sw/share/man /sw/share/man/man1 /sw/share/man/man1/cadabra.1 /sw/share/man/man1/xcadabra.1 /sw/share/texmf-local /sw/share/texmf-local/tex /sw/share/texmf-local/tex/latex /sw/share/texmf-local/tex/latex/cadabra /sw/share/texmf-local/tex/latex/cadabra/tableaux.sty $ dpkg -S texmf-local cadabra: /sw/share/texmf-local/tex/latex/cadabra cadabra: /sw/share/texmf-local/tex/latex cadabra: /sw/share/texmf-local/tex/latex/cadabra/tableaux.sty cadabra: /sw/share/texmf-local/tex tetex-base, cadabra: /sw/share/texmf-local So I'd move tableaux.sty to %i/etc/texmf.local in the InstallScript and make sure that there's no %p/share/texmf-local remaining in the .deb . -- Alexander K. Hansen akh AT finkproject DOT org Fink User Liaison and Documenter ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Fink-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-devel
