On Sun, Nov 15, 2020 at 11:25 PM Christoph Junghans <junghans(a)votca.org> wrote:
On Fri, Nov 13, 2020 at 8:19 AM Christoph Junghans <junghans(a)votca.org> wrote:
>
> Hi,
>
> Using latex in Docker on Rawhide gives an "I can't find the format
> file `latex.fmt'!" error.
> I have seen this before but I don't recall how to fix it.
>
> Mini reproducer using the following Dockerfile:
> FROM
registry.fedoraproject.org/fedora:rawhide
> RUN dnf -y update
> RUN dnf -y install texlive
> RUN printf
'\\documentclass{article}\n\\begin{document}\ntest\n\\end{document}'
> > test.tex
> RUN latex test.tex
>
> Any ideas?
I did some follow up research - summary here:
https://bugzilla.redhat.com/show_bug.cgi?id=1897839
In short, same texlive version works fine in a F33 container, so it
must be something else in Rawhide that triggers this.
>
> Thanks,
>
> Christoph
I found that sometimes, the order in which texlive packages are
installed makes them either work - or not. I suspect some scriptlet or
RPM file trigger is not being executed as needed in some cases. If you
are hitting the same issue, then "dnf reinstall"ing all texlive*
packages should fix the issue (I think).
Fabio