Hi, Thank you again for your help.
>Can you please send me the output of > tlmgr conf >and > kpsewhich -all texmf.cnf >and > dpkg -l texlive-lang-cjk >and > ls /var/lib/texmf/web2c/ptex/ ------ Here are the listing: I note that the output of "tlmgr conf" will be different for the superuser and the ordinary user and so I quote the outputs from both accounts. ======================================== tlmgr conf ---------------------------------------- root/superuser # tlmgr conf (running on Debian, switching to user mode!) =========================== version information ========================== tlmgr revision 32912 (2014-02-08 00:49:53 +0100) tlmgr using installation: /usr/share/texlive TeX Live (http://tug.org/texlive) version 2013 ==================== executables found by searching PATH ================= PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin kpsewhich: /usr/bin/kpsewhich updmap: /usr/bin/updmap fmtutil: /usr/bin/fmtutil tlmgr: /usr/bin/tlmgr tex: /usr/bin/tex pdftex: /usr/bin/pdftex mktexpk: /usr/bin/mktexpk dvips: /usr/bin/dvips dvipdfmx: /usr/bin/dvipdfmx =========================== active config files ========================== texmf.cnf: /etc/texmf/web2c/texmf.cnf updmap.cfg: /usr/share/texmf/web2c/updmap.cfg fmtutil.cnf: /var/lib/texmf/web2c/fmtutil.cnf config.ps: /usr/share/texlive/texmf-dist/dvips/config/config.ps mktex.cnf: /etc/texmf/web2c/mktex.cnf pdftexconfig.tex: /usr/share/texlive/texmf-dist/tex/generic/config/pdftexconfig.tex ============================= font map files ============================= psfonts.map: /var/lib/texmf/fonts/map/dvips/updmap/psfonts.map pdftex.map: /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map ps2pk.map: /var/lib/texmf/fonts/map/dvips/updmap/ps2pk.map dvipdfm.map: =========================== kpathsea variables =========================== TEXMFMAIN=/usr/share/texlive/texmf-dist TEXMFDIST=/usr/share/texlive/texmf-dist TEXMFLOCAL=/usr/local/share/texmf TEXMFSYSVAR=/var/lib/texmf TEXMFSYSCONFIG=/etc/texmf TEXMFVAR=/root/.texmf-var TEXMFCONFIG=/root/.texmf-config TEXMFHOME=/root/texmf VARTEXFONTS=/tmp/texfonts TEXMF={/root/.texmf-config,/root/.texmf-var,/root/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texlive/texmf-dist} SYSTEXMF=/var/lib/texmf:/usr/local/share/texmf:/usr/share/texmf:/usr/share/texlive/texmf-dist TEXMFDBS={!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texlive/texmf-dist} WEB2C={/root/.texmf-config,/root/.texmf-var,/root/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texlive/texmf-dist}/web2c TEXPSHEADERS=.:{/root/.texmf-config,/root/.texmf-var,/root/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texlive/texmf-dist}/{dvips,fonts/{enc,type1,type42,type3}}// TEXCONFIG={/root/.texmf-config,/root/.texmf-var,/root/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texlive/texmf-dist}/dvips// ENCFONTS=.:{/root/.texmf-config,/root/.texmf-var,/root/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texlive/texmf-dist}/fonts/enc// TEXFONTMAPS=.:{/root/.texmf-config,/root/.texmf-var,/root/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texlive/texmf-dist}/fonts/map/{kpsewhich,pdftex,dvips,}// ==== kpathsea variables from environment only (ok if no output here) ==== ---------------------------------------- tlmgr conf ---------------------------------------- ordinary user username@vm-debian-amd64:/tmp$ tlmgr conf (running on Debian, switching to user mode!) =========================== version information ========================== tlmgr revision 32912 (2014-02-08 00:49:53 +0100) tlmgr using installation: /usr/share/texlive TeX Live (http://tug.org/texlive) version 2013 ==================== executables found by searching PATH ================= PATH: /home/username/perl5/bin:/opt/solarisstudio12.3/bin:/opt/csw/bin:/home/username/Rational/releases/PurifyPlus.7.0.1.0-002.Eval/solaris_x64/bin:/home/username/bin:/usr/sfw/bin:/usr/ccs/bin:/ide-s-master/tools/GAP-DIR/gap4r2/bin:/usr/local/ssl/bin:/home/username/firefox:/opt/Adobe/Reader9/bin/:/home/username/bin:/home/username/jre1.6.0_11/bin:/opt/Adobe/Reader9/bin:/home/username/firefox:/home/username/bin:/home/username/perl5/bin:/opt/solarisstudio12.3/bin:/opt/csw/bin:/home/username/Rational/releases/PurifyPlus.7.0.1.0-002.Eval/solaris_x64/bin:/home/username/bin:/usr/sfw/bin:/usr/ccs/bin:/home/username/bin/bin:/ide-s-master/tools/GAP-DIR/gap4r2/bin:/usr/local/ssl/bin:/home/username/firefox:/opt/Adobe/Reader9/bin/:/home/username/bin:/home/username/jre1.6.0_11/bin:/opt/Adobe/Reader9/bin:/home/username/firefox:/home/username/bin:/home/username/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/username/Rational/releases/PurifyPlus.7.0.0.0-012.Eval/i386_linux2/bin:/home/username/CLANG/llvm/Debug/bin:/home/username/CLANG/llvm/tools/clang/utils:/home/username/CLANG/llvm/tools/clang/scan-view:/usr/X11R6/bin:/usr/java/default/bin:/usr/X/bin:/opt/sfw/bin:/home/username/Rational/releases/PurifyPlus.7.0.0.0-012.Eval/i386_linux2/bin:/home/username/CLANG/llvm/Debug/bin:/home/username/CLANG/llvm/tools/clang/utils:/home/username/CLANG/llvm/tools/clang/scan-view:/usr/X11R6/bin:/usr/java/default/bin:/usr/X/bin:/opt/sfw/bin kpsewhich: /usr/bin/kpsewhich updmap: /usr/bin/updmap fmtutil: /usr/bin/fmtutil tlmgr: /usr/bin/tlmgr tex: /usr/bin/tex pdftex: /usr/bin/pdftex mktexpk: /usr/bin/mktexpk dvips: /usr/bin/dvips dvipdfmx: /usr/bin/dvipdfmx =========================== active config files ========================== texmf.cnf: /etc/texmf/web2c/texmf.cnf updmap.cfg: /usr/share/texmf/web2c/updmap.cfg fmtutil.cnf: /var/lib/texmf/web2c/fmtutil.cnf config.ps: /usr/share/texlive/texmf-dist/dvips/config/config.ps mktex.cnf: /etc/texmf/web2c/mktex.cnf pdftexconfig.tex: /usr/share/texlive/texmf-dist/tex/generic/config/pdftexconfig.tex ============================= font map files ============================= psfonts.map: /var/lib/texmf/fonts/map/dvips/updmap/psfonts.map pdftex.map: /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map ps2pk.map: /var/lib/texmf/fonts/map/dvips/updmap/ps2pk.map dvipdfm.map: =========================== kpathsea variables =========================== TEXMFMAIN=/usr/share/texlive/texmf-dist TEXMFDIST=/usr/share/texlive/texmf-dist TEXMFLOCAL=/usr/local/share/texmf TEXMFSYSVAR=/var/lib/texmf TEXMFSYSCONFIG=/etc/texmf TEXMFVAR=/home/username/.texmf-var TEXMFCONFIG=/home/username/.texmf-config TEXMFHOME=/home/username/texmf VARTEXFONTS=/tmp/texfonts TEXMF={/home/username/.texmf-config,/home/username/.texmf-var,/home/username/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texlive/texmf-dist} SYSTEXMF=/var/lib/texmf:/usr/local/share/texmf:/usr/share/texmf:/usr/share/texlive/texmf-dist TEXMFDBS={!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texlive/texmf-dist} WEB2C={/home/username/.texmf-config,/home/username/.texmf-var,/home/username/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texlive/texmf-dist}/web2c TEXPSHEADERS=.:{/home/username/.texmf-config,/home/username/.texmf-var,/home/username/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texlive/texmf-dist}/{dvips,fonts/{enc,type1,type42,type3}}// TEXCONFIG={/home/username/.texmf-config,/home/username/.texmf-var,/home/username/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texlive/texmf-dist}/dvips// ENCFONTS=.:{/home/username/.texmf-config,/home/username/.texmf-var,/home/username/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texlive/texmf-dist}/fonts/enc// TEXFONTMAPS=.:{/home/username/.texmf-config,/home/username/.texmf-var,/home/username/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texlive/texmf-dist}/fonts/map/{kpsewhich,pdftex,dvips,}// ==== kpathsea variables from environment only (ok if no output here) ==== username@vm-debian-amd64:/tmp$ ======================================== kpsewhich -all texmf.cnf ---------------------------------------- root@vm-debian-amd64:/tmp# kpsewhich -all texmf.cnf /etc/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf /usr/share/texlive/texmf-dist/web2c/texmf.cnf ======================================== dpkg -l texlive-lang-cjk ---------------------------------------- root@vm-debian-amd64:/tmp# root@vm-debian-amd64:/tmp# dpkg -l texlive-lang-cjk Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii texlive-lang-c 2013.2014040 all TeX Live: Chinese/Japanese/Korean ======================================== ls /var/lib/texmf/web2c/ptex/ ---------------------------------------- root@vm-debian-amd64:/tmp# root@vm-debian-amd64:/tmp# ls /var/lib/texmf/web2c/ptex/ ptex.fmt ptex.log root@vm-debian-amd64:/tmp# root@vm-debian-amd64:/tmp# exit exit ======================================== home directory ~/.texmf-var ---------------------------------------- The superuser account has ls -lR ~/.tex* /root/.texmf-var: total 4 drwx------ 2 root root 4096 May 13 21:34 web2c /root/.texmf-var/web2c: total 0 root@vm-debian-amd64:/tmp# ---------------------------------------- The user account has ls -lR ~/.tex* /home/username/.texmf-var: total 12 drwxr-xr-x 3 username username 4096 May 13 21:45 ./ drwxr-xr-x 57 username username 4096 May 16 01:06 ../ drwxr-xr-x 2 username username 4096 May 13 21:45 web2c/ /home/username/.texmf-var/web2c: total 8 drwxr-xr-x 2 username username 4096 May 13 21:45 ./ drwxr-xr-x 3 username username 4096 May 13 21:45 ../ username@vm-debian-amd64:/tmp$ =========== file system usage: remaining space ----------- On this home PC, the / /var /usr are different and there are no symlinks for /usr/share/doc and /usr/share/tex*. That /usr and /var both had about oly 30+ MiB left is a little disturbing but should not cause a big issue. # df / /var /usr /usr/share /usr/share/doc /usr/share/tex* Filesystem 1K-blocks Used Available Use% Mounted on /dev/disk/by-uuid/e5f60120-3afd-457a-be02-9bd6d8cc4f4d 751632 408336 288680 59% / /dev/sda7 2817056 2621264 32976 99% /var /dev/sda6 8999580 8486136 33240 100% /usr /dev/sda6 8999580 8486136 33240 100% /usr /dev/sda6 8999580 8486136 33240 100% /usr /dev/sda6 8999580 8486136 33240 100% /usr /dev/sda6 8999580 8486136 33240 100% /usr /dev/sda6 8999580 8486136 33240 100% /usr /dev/sda6 8999580 8486136 33240 100% /usr /dev/sda6 8999580 8486136 33240 100% /usr root@vm-debian-amd64:/tmp# ======================================== One remaining bit: >You can try *AS*ROOT* > fmtutil-sys --all 2>&1 | tee fmtutil-all.log >And send me > fmtutil-all.log This command seems to be destructive in the sense that it may change the crippled installation (albeit dpkg saying that it is installed all right, I think) somewhat. Will you like me to do it ? I am asking because it may mask/delete the remain of underlying problem. OTOH, this command may give the missing pieces. (As far as I could see, there is no smoking gun :-( But may experienced eyes can find something here. Maybe fmtutil-sys only could provide the missing pieces.) Anyway, I won't change the system in terms of tex installation over the weekend and so I can run the fmtutil-sys anytime. TIA PS: The -kpathsea-debug=255 was tried locally with the bogus command line below, and so the output was not that useful. So I omit it. (I thought I ran it with latex, but obviously latex does not support this type of --kpathsea-debug option?) env TEXINPUTS="./:EXINPUTS" luatex --kpathsea-debug=255 sigproc-sp-copy.tex As far as I can think of, I did NO customization. I don't run TeX usually and as you may have noticed there are no TEX* environment variable, and no home directory setting as far as I can tell. What else mechanism for customization could there be? PPS: Just in case, I am quoting my /etc/apt/sources.list below. Nothing stands out, I think. # # deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 NETINST Binary-1 20130615-23:04]/ wheezy main #deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 NETINST Binary-1 20130615-23:04]/ wheezy main deb http://ftp.jp.debian.org/debian/ wheezy main deb http://ftp.jp.debian.org/debian/ testing main deb-src http://ftp.jp.debian.org/debian/ wheezy main deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main # wheezy-updates, previously known as 'volatile' deb http://ftp.jp.debian.org/debian/ wheezy-updates main deb-src http://ftp.jp.debian.org/debian/ wheezy-updates main 2014-05-16 10:28 GMT+09:00 Norbert Preining <prein...@logic.at>: > Hi, > > Please leave the bug report in Cc. > > > TEXTDOMAIN=im-config > > TEXTDOMAINDIR=/usr/share/locale/ > > Fine. > > Can you please send me the output of > tlmgr conf > and > kpsewhich -all texmf.cnf > and > dpkg -l texlive-lang-cjk > and > ls /var/lib/texmf/web2c/ptex/ > > > 432 aptitude install ptex-bin > > > > (432 is from the prefix column of history command) > > That does not help, one needs to see whether installation succeeded. > > > You can try *AS*ROOT* > fmtutil-sys --all 2>&1 | tee fmtutil-all.log > And send me > fmtutil-all.log > > > This is pTeX, Version 3.1415926-p3.4 (utf8.euc) (TeX Live 2013/Debian) > > restricted \write18 enabled. > > **quit > > ! I can't find file `quit'. > > Aehm, do you know how to write TeX ? ... > > > My tcfmgr.map is here: > > /usr/share/texlive/texmf-dist/texconfig/tcfmgr.map > > I know where it is. > > > ptex still produced ptex.fmt file not found!? (Now I noticed this problem > > even occurred under superuser back then [see below]!?) > > I now understand that ptex.fmt is created by running mktexfmt. > > It should be automatically generated when texlive-lang-cjk > was installed. > > That is the reason why I said we need to know whether it is > properly installed > > > # xetex > > This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013/Debian) > > restricted \write18 enabled. > > **quit > > As said, your systems is severaly messed up. > > Please *READ* my email and send me the requested output of the commands. > > > 472 aptitude install jtex-base > > 473 aptitude install ptex-base > > Both of them are not necessary, only > texlive-lang-cjk > > > It could not locate a class file under its own current directory?!: > > > First, a cls file was not found, which I corrected by downloading it > > and placed it in the current directory. > > > ! LaTeX Error: File `acm_proc_article-sp.cls' not found. > > This file is not shipped in TeX Live. > > > Is it a debian-supplied file? > > No. > > > downloaded it and stored it under current directory where these > > commands ought to find them. > > But they did NOT for whatever the reason. > > And that is *WHERE*? > > > username@vm-debian-amd64:/home/username/Dropbox/CONFERENCE-DIR$ ls > > ./ ci-vio.txt sigproc-sp-copy.log > > ../ ci-vio.txt~ sigproc-sp-copy.pdf > > Makefile sig-alternate.cls sigproc-sp-copy.tex > > Makefile~ sigproc-sp copy.pdf texput.log > > acm_proc_article-sp.cls sigproc-sp copy.tex > > If it is in the same directory you are running latex (or platex) > then it is found. > > UNLESS you have overridden some TEX* settings. > > See the following on a standard TeX installation on DebianL: > [~] mkdir foo > [~] cd foo > [~/foo] ls > [~/foo] touch acm_proc_article-sp.cls > [~/foo] kpsewhich acm_proc_article-sp.cls > ./acm_proc_article-sp.cls > [~/foo] > > So it *does* work, unless you changed something. > > > > PPS: The search by environment variable. > > Does the searched and disovered file ends up in a system-wide cache > (shared > > among users) ? > > No. > > I repeat from the beginning: Please send the output of: > tlmgr conf > and > kpsewhich -all texmf.cnf > and > dpkg -l texlive-lang-cjk > and > ls /var/lib/texmf/web2c/ptex/ > > > 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 > ------------------------------------------------------------------------ >