Thank you.
I will send the output of the following commands later today or tomorrow (I am on a different PC in a different building) I think my TeX installation is severely messed up as you suggested. TeXLive and friends worked like a charm (albeit some unpleasant features) back in 2012 and I removed the packages since due to file space issues. It is only recently that I needed to run off some TeX files in the archive and encountered really strange issues. (But to my unaided eyes all the installation steps using aptitude succeeded. I did not discern anything strange when the command execution finished. So I have no idea how it could be messed up like this. Silently corrupted file system?) One thing that bothers me is that the execution of latex command under superuser last night may have healed broken link/symlink/permission, etc. once for all. I hope some traces of irregularity still remain now so that we can possibly figure out which installation failed, and make the error output from the installer better. Thank you again for your help. Again, I will send the output later today or tomorrow. (hopefully today. I had a kpsewhich trace during my debugging efforts, still somewhere I hope, and so will include it. I was so stumped as to why my installation could not find some files.) >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/ 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 > ------------------------------------------------------------------------ >