root@beaglebone:/var/lib/dpkg/info# dpkg-reconfigure texlive-xetex
+ TEXMFTREES=/usr/share/texmf /var/lib/texmf
+ FULLTEXMFTREES=/usr/share/texmf /var/lib/texmf /usr/share/texlive/texmf
/usr/share/texlive/texmf-dist
+ update-updmap --quiet
+ update-language
+ update-fmtutil
+ dhit_libkpathsea_configured
+ kpsewhich --version
+ do_lsr=0
+ [ format = lsrfull ]
+ [ format = allformats ]
+ [ format = format ]
+ do_lsr=1
+ [ lsrfull = lsrfull ]
+ TEXMFTREES=/usr/share/texmf /var/lib/texmf /usr/share/texlive/texmf
/usr/share/texlive/texmf-dist
+ [ lsrfull = allformats ]
+ [ lsrfull = format ]
+ [ 1 = 1 ]
+ which mktexlsr
+ dhit_update_lsr_files /usr/share/texmf /var/lib/texmf
/usr/share/texlive/texmf /usr/share/texlive/texmf-dist
+ mktemp -p /tmp mktexlsr.XXXXXXXX
+ tempfile=/tmp/mktexlsr.fx9zAYh8
+ printf Running mktexlsr. This may take some time...
Running mktexlsr. This may take some time... + mktexlsr /usr/share/texmf
/var/lib/texmf /usr/share/texlive/texmf /usr/share/texlive/texmf-dist
+ rm -f /tmp/mktexlsr.fx9zAYh8
+ echo done.
done.
+ [ format = lsr ]
+ [ format = lsrfull ]
+ [ format = map ]
+ [ format = allformats ]
+ [ format = format ]
+ [ -r /etc/texmf/fmt.d/10texlive-xetex.cnf ]
+ dhit_build_format --all --cnffile /etc/texmf/fmt.d/10texlive-xetex.cnf
+ mktemp -p /tmp fmtutil.XXXXXXXX
+ tempfile=/tmp/fmtutil.c2lezABr
+ printf Building format(s) --all --cnffile
/etc/texmf/fmt.d/10texlive-xetex.cnf.\n\tThis may take some time...
Building format(s) --all --cnffile /etc/texmf/fmt.d/10texlive-xetex.cnf.
        This may take some time... + fmtutil-sys --all --cnffile
/etc/texmf/fmt.d/10texlive-xetex.cnf
+ exec
+ echo

+ echo fmtutil-sys failed. Output has been stored in
fmtutil-sys failed. Output has been stored in
+ echo /tmp/fmtutil.c2lezABr
/tmp/fmtutil.c2lezABr
+ echo Please include this file if you report a bug.
Please include this file if you report a bug.
+ echo

+ exit 1
root@beaglebone:/var/lib/dpkg/info#
root@beaglebone:/var/lib/dpkg/info# cat /tmp/fmtutil.c2lezABr
fmtutil: running `xetex -ini   -jobname=xelatex -progname=xelatex -etex
xelatex.ini' ...
This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012/Debian) (INITEX)
 restricted \write18 enabled.
entering extended mode
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/xelatex.ini
(/usr/share/texlive/texmf-dist/tex/generic/xetexconfig/unicode-letters.tex
loading Unicode properties and character classes)
(/usr/share/texlive/texmf-dist/tex/latex/base/latex.ltx
(/usr/share/texlive/texmf-dist/tex/latex/base/texsys.cfg)
./texsys.aux found


\@currdir set to: ./.


Assuming \openin and \input
have the same search path.


Defining UNIX/DOS style filename parser.

catcodes, registers, compatibility for TeX 2,  parameters,
LaTeX2e <2011/06/27>
hacks, control, par, spacing, files, font encodings, lengths,
====================================

Local config file fonttext.cfg used

====================================
(/usr/share/texlive/texmf-dist/tex/latex/base/fonttext.cfg
(/usr/share/texlive/texmf-dist/tex/latex/base/fonttext.ltx
=== Don't modify this file, use a .cfg file instead ===

(/usr/share/texlive/texmf-dist/tex/latex/base/omlenc.def)
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def)
(/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.def)
(/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.def)
(/usr/share/texlive/texmf-dist/tex/latex/base/t1cmr.fd)
(/usr/share/texlive/texmf-dist/tex/latex/base/ot1cmr.fd)
(/usr/share/texlive/texmf-dist/tex/latex/base/ot1cmss.fd)
(/usr/share/texlive/texmf-dist/tex/latex/base/ot1cmtt.fd)))
====================================

Local config file fontmath.cfg used

====================================
(/usr/share/texlive/texmf-dist/tex/latex/base/fontmath.cfg
(/usr/share/texlive/texmf-dist/tex/latex/base/fontmath.ltx
=== Don't modify this file, use a .cfg file instead ===

(/usr/share/texlive/texmf-dist/tex/latex/base/omlcmm.fd)
(/usr/share/texlive/texmf-dist/tex/latex/base/omscmsy.fd)
(/usr/share/texlive/texmf-dist/tex/latex/base/omxcmex.fd)
(/usr/share/texlive/texmf-dist/tex/latex/base/ucmr.fd)))
====================================

Local config file preload.cfg used

=====================================
(/usr/share/texlive/texmf-dist/tex/latex/base/preload.cfg
(/usr/share/texlive/texmf-dist/tex/latex/base/preload.ltx)) page nos.,
x-ref,
environments, center, verbatim, math definitions, boxes,Killed
root@beaglebone:/var/lib/dpkg/info#



On Wed, Jun 4, 2014 at 9:51 PM, Norbert Preining <prein...@logic.at> wrote:

> Then please run
>     dpkg-reconfigure texlive-xetex
>
>
> ------------------------------------------------------------------------
> PREINING, Norbert                              http://www.preining.info
> JAIST, Japan                                 TeX Live & Debian Developer
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
> ------------------------------------------------------------------------
>
> On 2014/06/05, at 13:17, Eric Fort <eric.f...@gmail.com> wrote:
>
> script as it is now (original except -x added to set line)
>
>
> Eric_Admin@INSPIRON1545 ~
> $ ssh 192.168.1.5 -l root
> Debian GNU/Linux 7
>
> BeagleBoard.org BeagleBone Debian Image 2014-05-14
>
> Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
> Last login: Wed Jun  4 05:53:36 2014 from 192.168.1.7
> root@beaglebone:~# df -h
> Filesystem      Size  Used Avail Use% Mounted on
> rootfs           30G  9.6G   19G  35% /
> udev             10M     0   10M   0% /dev
> tmpfs            49M  832K   48M   2% /run
> /dev/mmcblk0p2   30G  9.6G   19G  35% /
> tmpfs           122M     0  122M   0% /dev/shm
> tmpfs           122M     0  122M   0% /sys/fs/cgroup
> tmpfs           5.0M     0  5.0M   0% /run/lock
> tmpfs           100M     0  100M   0% /run/user
> /dev/mmcblk0p1   96M   78M   19M  82% /boot/uboot
> root@beaglebone:~# cd /var/lib/dpkg/info/
> root@beaglebone:/var/lib/dpkg/info# nano texlive-
> Display all 112 possibilities? (y or n)
> root@beaglebone:/var/lib/dpkg/info# nano texlive-xetex.post
> texlive-xetex.postinst  texlive-xetex.postrm
> root@beaglebone:/var/lib/dpkg/info# nano texlive-xetex.postinst
> root@beaglebone:/var/lib/dpkg/info# cat texlive-xetex.postinst
> #!/bin/sh
>
> set -e -x
> # Automatically added by dh_installtex
> ##
> ## postinst-tex
> ##
> ## postinst snippets for everything TeX related (mktlsr, hyphenation
> ## patterns, formats, font maps)
> ##
> ## Authors:
> ##       Florent Rougon <f.rou...@free.fr>
> ##       Norbert Preining <prein...@logic.at>
> ##
> #
>
> TEXMFTREES="/usr/share/texmf /var/lib/texmf"
> FULLTEXMFTREES="$TEXMFTREES /usr/share/texlive/texmf
> /usr/share/texlive/texmf-dist"
>
> #
> #
> dhit_libkpathsea_configured ()
> {
>     kpsewhich --version >/dev/null 2>&1
> }
>
> dhit_update_lsr_files ()
> {
>     tempfile=$(mktemp -p /tmp mktexlsr.XXXXXXXX)
>     printf "Running mktexlsr. This may take some time... "
>     if mktexlsr $* > $tempfile 2>&1 ; then
>         rm -f $tempfile
>         echo "done."
>     else
>         exec >&2
>         echo
>         echo "mktexlsr $* failed. Output has been stored in"
>         echo "$tempfile"
>         echo "Please include this file if you report a bug."
>         echo
>         exit 1
>     fi
> }
>
>
> dhit_build_hyphen_format_if_format_exists ()
> {
>     v=$(kpsewhich -var-value TEXMFSYSVAR)
>     c=$(kpsewhich -var-value TEXMFSYSCONFIG)
>     TEXMFVAR="$v"
>     TEXMFCONFIG="$c"
>     export TEXMFVAR TEXMFCONFIG
>     fmtcnffile=$(kpsewhich --format='web2c files' fmtutil.cnf)
>     X=$(grep "^[[:space:]]*$1[[:space:]]" $fmtcnffile || true)
>     if [ -n "$X" ] ; then
>         dhit_build_format --byhyphen "$2"
>     fi
> }
>
> dhit_build_format ()
> {
>
>     tempfile=$(mktemp -p /tmp fmtutil.XXXXXXXX)
>     printf "Building format(s) $*.\n\tThis may take some time... "
>     if fmtutil-sys "$@" > $tempfile 2>&1 ; then
>         rm -f $tempfile
>         echo "done."
>     else
>         exec >&2
>         echo
>         echo "fmtutil-sys failed. Output has been stored in"
>         echo "$tempfile"
>         echo "Please include this file if you report a bug."
>         echo
>         exit 1
>     fi
> }
>
>
> case "$1" in
>     configure|abort-upgrade|abort-remove|abort-deconfigure)
>         update-updmap --quiet
>         update-language
>         update-fmtutil
>         if dhit_libkpathsea_configured; then
>             #
>             do_lsr=0
>             for i in format lsrfull ; do
>                 if [ "$i" = lsrfull ] ; then
>                     TEXMFTREES=$FULLTEXMFTREES
>                 fi
>                 if [ "$i" = allformats ] ; then
>                     do_lsr=1
>                 fi
>                 if [ "$i" = format ] ; then
>                     do_lsr=1
>                 fi
>             done
>             if [ $do_lsr = 1 ] ; then
>                 if which mktexlsr >/dev/null; then
>                     dhit_update_lsr_files $TEXMFTREES
>                 fi
>             fi
>             for i in format lsrfull ; do
>                 if [ "$i" = lsr ] ; then
>                     if [ $do_lsr = 0 ] ; then
>                         update-texmf-config lsr
>                     fi
>                 fi
>                 if [ "$i" = lsrfull ] ; then
>                     if [ $do_lsr = 0 ] ; then
>                         update-texmf-config lsrfull
>                     fi
>                 fi
>                 if [ "$i" = map ] ; then
>                     update-texmf-config map
>                 fi
>                 if [ "$i" = allformats ] ; then
>                     dhit_build_format --all
>                 fi
>                 if [ "$i" = format ] ; then
>                     for fmt in 10texlive-xetex ; do
>                         if [ -r "/etc/texmf/fmt.d/$fmt.cnf" ] ; then
>                             dhit_build_format --all --cnffile
> "/etc/texmf/fmt.d/$fmt.cnf"
>                         else
>                             echo "config file /etc/texmf/fmt.d/$fmt.cnf
> not available"
>                         fi
>                     done
>                 fi
>                 if [ "$i" = hyphen ] ; then
>                     update-texmf-config hyphen
>                 fi
>             done
>         fi
>     ;;
>
> esac
>
> # End automatically added section
> root@beaglebone:/var/lib/dpkg/info# dpkg --configure -a
> root@beaglebone:/var/lib/dpkg/info#
>
>
> (as you can see no output. not lots like expected!)
>
>
>
> On Wed, Jun 4, 2014 at 8:14 PM, Norbert Preining <prein...@logic.at>
> wrote:
>
>> On Wed, 04 Jun 2014, Eric Fort wrote:
>> > modified  that allows things to run:
>>
>> Yeah, sure, adding
>>         exit 0
>> helps.
>>
>> Please *remove* the
>>         exit 0 line
>> Add a
>>         set -x
>> line
>> (yeah, then there are two set lines. You can also write
>>         set -e -x
>> if you prefer)
>>
>> Norbert
>>
>> ------------------------------------------------------------------------
>> PREINING, Norbert                               http://www.preining.info
>> JAIST, Japan                                 TeX Live & Debian Developer
>> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
>> ------------------------------------------------------------------------
>>
>
>

Reply via email to