[opensuse] Latex not working in 12.3
Hello, when running latex in 12.3, I get the following error: $ 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'! $ Searching the web, I found http://forums.opensuse.org/english/get-technical-help-here/applications/4852... and https://forums.opensuse.org/english/get-technical-help-here/applications/484... but installing texlive-collection-latexextra, texlive-collection-fontsextra and texlive-filesystem did not help at all. Any additional recommendations? -- Josef Wolf jw@raven.inka.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, Jul 31, 2013 at 10:34:40AM +0200, Josef Wolf wrote:
Hello,
when running latex in 12.3, I get the following error:
$ 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'! $
Searching the web, I found
http://forums.opensuse.org/english/get-technical-help-here/applications/4852...
and
https://forums.opensuse.org/english/get-technical-help-here/applications/484...
but installing texlive-collection-latexextra, texlive-collection-fontsextra and texlive-filesystem did not help at all.
Any additional recommendations?
Open a bugreport. Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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:
Hello,
when running latex in 12.3, I get the following error:
$ 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'! $
Searching the web, I found
http://forums.opensuse.org/english/get-technical-help-here/applications/4852...
and
https://forums.opensuse.org/english/get-technical-help-here/applications/484...
but installing texlive-collection-latexextra, texlive-collection-fontsextra and texlive-filesystem did not help at all.
Any additional recommendations?
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
Open a bugreport.
I'll close it without full description *how* this had happen. This because I'm not able to reproduce. Using zypper or YaST2 to install texlive packages this should not happen. Also using rpm without diabling install scripts and respecting the dependcies had worked here. Clearly I've used latest update of the TeXLive packages. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr
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?
Open a bugreport.
I'll close it without full description *how* this had happen. This because I'm not able to reproduce. Using zypper or YaST2 to install texlive packages this should not happen. Also using rpm without diabling install scripts and respecting the dependcies had worked here.
I always use zypper to install anything. Never used rpm directly. Never changed/ignored any dependencies. -- Josef Wolf jw@raven.inka.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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 and report, that is if this fails please attach /var/lib/texmf/web2c/pdftex/latex.log then we may see on the last few lines what has gone wrong here. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr
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. -- Josef Wolf jw@raven.inka.de
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
On Wed, Jul 31, 2013 at 02:13:18PM +0200, Dr. Werner Fink wrote:
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
chmod 644 /var/lib/texmf/web2c/pdftex/latex.fmt fixed the problem.
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
Nope. But I use a umask of 0077 for root. Guess that was the reason latex.fmt was created with wrong permissions. Never had any problems with umask 0077 in the last 10 years. If the file needs to be public readable, maybe the generating script should ensure that? Thanks for your Help! -- Josef Wolf jw@raven.inka.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Dr. Werner Fink
-
Josef Wolf
-
Marcus Meissner