![](https://seccdn.libravatar.org/avatar/d2f7bef0955962945cf8aef4a147f5d1.jpg?s=120&d=mm&r=g)
On Wed, Jul 31, 2013 at 01:40:28PM +0200, Josef Wolf wrote:
On Wed, Jul 31, 2013 at 01:10:22PM +0200, Dr. Werner Fink wrote:
On Wed, Jul 31, 2013 at 12:47:22PM +0200, Josef Wolf wrote:
Thanks for your quick replies,
On Wed, Jul 31, 2013 at 12:28:13PM +0200, Dr. Werner Fink wrote:
On Wed, Jul 31, 2013 at 11:48:23AM +0200, Marcus Meissner wrote:
On Wed, Jul 31, 2013 at 10:34:40AM +0200, Josef Wolf wrote:
$ latex labels.tex This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/TeX Live for SUSE Linux) restricted \write18 enabled. /var/lib/texmf/web2c/pdftex/latex.fmt: Permission denied /var/lib/texmf/web2c/pdftex/latex.fmt: Permission denied /var/lib/texmf/web2c/pdftex/latex.fmt: Permission denied /var/lib/texmf/web2c/pdftex/latex.fmt: Permission denied
kpathsea: Running mktexfmt latex.fmt fmtutil: format directory `/var/lib/texmf/web2c' is not writable. I can't find the format file `latex.fmt'! $
IMHO the update script has not been executed. Don't know why this had failed. Nevertheless become root and do
/usr/lib/texmf/texconfig/update
Unfortunately, that did not help. Same error. Something other I could try?
Hmmm .... do as root fmtutil-sys --missing
This command runs without any output.
and report, that is if this fails please attach
/var/lib/texmf/web2c/pdftex/latex.log
The command also don't modify this log file in any way. I'll attach it anyway.
This does mean that /var/lib/texmf/web2c/pdftex/latex.fmt exists: d88 /suse/werner> sudo -i d88:~ # fmtutil --missing d88:~ # ls -l /var/lib/texmf/web2c/pdftex/latex.* -rw-r--r-- 1 root mktex 3675805 Jul 31 13:53 /var/lib/texmf/web2c/pdftex/latex.fmt -rw-r--r-- 1 root mktex 29660 Jul 31 13:53 /var/lib/texmf/web2c/pdftex/latex.log otherwise you would see: d88:~ # rm /var/lib/texmf/web2c/pdftex/latex.fmt d88:~ # fmtutil --missing fmtutil: running `pdftex -ini -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' ... This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/TeX Live for SUSE Linux) (INITEX) restricted \write18 enabled. (/usr/lib/texmf/web2c/cp227.tcx) entering extended mode (/usr/share/texmf/tex/latex/latexconfig/latex.ini (/etc/texmf/tex/generic/config/pdftexconfig.tex) (/usr/share/texmf/tex/latex/base/latex.ltx (/usr/share/texmf/tex/lat [...] No pages of output. Transcript written on latex.log. fmtutil: /var/lib/texmf/web2c/pdftex/latex.fmt installed. d88:~ # logout d88 /suse/werner> IMHO your system is broken. Please check for correct permissions and ownership of the tree /var/lib/texmf/ and for the file /var/lib/texmf/web2c/pdftex/latex.fmt Do you have changed /etc/texmf/web2c/mktex.cnf and/or removed the group `mktex' from /etc/group? Or do you have removed the program /usr/lib/mktex/public or some of the symbolic links d88 /suse/werner> ll /usr/bin/mktex* lrwxrwxrwx 1 root root 7 May 3 12:07 /usr/bin/mktexfmt -> fmtutil lrwxrwxrwx 1 root root 21 May 3 12:07 /usr/bin/mktexlsr -> /usr/lib/mktex/public lrwxrwxrwx 1 root root 21 May 3 12:07 /usr/bin/mktexmf -> /usr/lib/mktex/public lrwxrwxrwx 1 root root 21 May 3 12:07 /usr/bin/mktexpk -> /usr/lib/mktex/public lrwxrwxrwx 1 root root 21 May 3 12:07 /usr/bin/mktextfm -> /usr/lib/mktex/public d88 /suse/werner> ll /usr/bin/texhash lrwxrwxrwx 1 root root 21 May 3 12:07 /usr/bin/texhash -> /usr/lib/mktex/public ... the program /usr/lib/mktex/public is used to drop root privileges as otherwise the tex scripts could be used to spy other users. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr