After upgrade to 13.1 TeXLive ceased to work. See the output of pdflatex
> pdflatex myfile
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/TeX Live for SUSE Linux)
restricted \write18 enabled.
kpathsea: Running mktexfmt pdflatex.fmt
/usr/bin/mktexfmt: line 400: /usr/lib/texmf/texconfig/tcfmgr: No such file or directory
fmtutil: config file `fmtutil.cnf' not found.
I can't find the format file `pdflatex.fmt'!
Another strange thing that might be related is that /usr/lib/texmf had the wrong permissions (should be drwxr-xr-t, but it had an x at the end). Also, a large number of packages was NOT installed in the first place. I then installed texlive-collection and some extra 1900
packages were installed. I believe I have now all texlive* packages installed. However, it does not work.
Any idea why this happened?
Should I reinstall? How? sudo zypper in texlive responds “nothing to do”.
Thanks.
On 2014-01-19 16:16, mnatiello wrote:
>
> nrickert;2617423 Wrote:
>>
>> I think you need to delete all of texlive, then install afresh. You
>> seem to have an old version that was never updated because of the
>> repackaging.
> This was my guess there are about 2000 packages… After asking yast I
> deleted /etc/texmf, /usr/share/texmf and /usr/lib/texmf
> Hope it’s enough…
Please explain how exactly you did that upgrade.
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)
On 2014-01-19, mnatiello <mnatiello@no-mx.forums.opensuse.org> wrote:
> Any idea why this happened?
> Should I reinstall? How? sudo zypper in texlive responds “nothing to
> do”.
> Thanks.
Please post the results of the following:
sh-4.2$ su -
sh-4.2$ zypper lr -d
sh-4.2$ zypper info texlive
sh-4.2$ exit
Hi, here’s an update.
I deleted via yast all of texlive and deleted all existing directories with texmf.
Then reinstalled via yast, some 2260 packages.
LaTeX works, but something is still missing. Specifically, I get the following error now:
> pdflatex myfile
...]
No file LGRcmr.fd.
! LaTeX Error: This NFSS system isn't set up properly.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.79 \begin{document}
? h
For encoding scheme LGR the defaults cmr/m/n do not form a valid font shape
?
Doing some research in TUG I found out that LGRcmr.fd is present in the package cbfonts-fd
Now, I could not find a package with that name in OpenSuSE. There exists texlive-cbfonts but not texlive-cbfonts-fd.
Both are needed, but I can’t find the rpm for cbfonts-fd in OpenSuSE’s official repositories.
How should I proceed?
It might be helpful if you post the latex file you are trying to compile (or at least the preamble). Generally I’m far
too lazy to work out latex dependencies are generally required especially as the >500 packages are poorly organised in
my opinion. For this reason I usually install kile (in KDE) or latexilla (in GNOME) which usually pulls in whatever
dependencies are required even though I never use them.
On 2014-01-20, mnatiello <mnatiello@no-mx.forums.opensuse.org> wrote:
> The files in cbfonts-fd are apparently missing in OpenSuSE’s texlive
> package.
If you want to it added to multitude of texlive packages, you might consider reporting a bugzilla for it.
TeXLive 2013 was released on 18 June 2013. cbfonts-fd were released on 1 September 2013. That is why they are not TeXLive 2013 and therefore not in openSUSE’s TeXLive packages. They will be in TeXLive 2014.
Kind of related; I installed 13.1 on my machines but there is no pdflatex nor does zypper se yield anything. Where is it (ie which package)? I am lost without it
You can use the command “cnf” to find out which package contains a specific command.
# cnf pdflatex
The program 'pdflatex' can be found in the following package:
* texlive-latex-bin-bin path: /usr/bin/pdflatex, repository: zypp (repo-oss) ]
Try installing with:
sudo zypper install texlive-latex-bin-bin
Actually the terminal should even propose that when you run a command that is not installed…
# pdflatex
If 'pdflatex' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf pdflatex
Yes, that message is printed by the /etc/bash_command_not_found script in bash, which is called automatically by bash when you enter a non-existing command. The “command-not-found” package also contains another script /etc/zsh_command_not_found so it should work the same in zsh.
The command “cnf” (or “command-not-found”) to find out which package contains a certain program should work in any shell though.