Got the problem while installing latex-cjk-chinese
fmtutil-sys failed. Output has been stored in /tmp/fmtutil.t6EnBlWW Please include this file if you report a bug. dpkg: error processing tex-common (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: tex-common E: Sub-process /usr/bin/dpkg returned an error code (1)
After checking the file fmtutil.t6EnBlWW
, I find the problem is
! I can’t find file `loadhyph-zh-latn.tex’.
This is due to the inconsistence between texlive 2011 and tex2012. In tex2012, the file is renamed to `loadhyph-zh-latn-pinyin.tex’. Therefore, the solution is
- go to
/etc/texmf/hyphen.d
- change
loadhyph-zh-latn.tex
toloadhyph-zh-latn-pinyin.tex
- reinstall tex-common