
Estou no Fedora Silverblue 39 e costumava rpm-ostree
instalar o texlive-scheme-full
.
Tentei compilar um arquivo .tex na linha de comando, pdflatex
mas ele retornou este erro.
kpathsea: Running mktexfmt pdflatex.fmt
mktexfmt: mktexfmt is using the following fmtutil.cnf files (in precedence order):
mktexfmt: mktexfmt is using the following fmtutil.cnf file for writing changes:
mktexfmt: /var/home/stevicheliz/.texlive2023/texmf-config/web2c/fmtutil.cnf
mktexfmt [INFO]: writing formats under /var/home/stevicheliz/.texlive2023/texmf-var/web2c
mktexfmt [INFO]: Did not find entry for byfmt=pdflatex skipped
mktexfmt [INFO]: total formats: 0
mktexfmt [INFO]: exiting with status 0
I can't find the format file `pdflatex.fmt'!
Pesquisei on-line e tentei executar sudo fmtutil -sys --all
o que retornou:
fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order):
fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes:
fmtutil: /usr/share/texlive/texmf-config/web2c/fmtutil.cnf
fmtutil [INFO]: writing formats under /var/lib/texmf/web2c
fmtutil [WARNING]: You seem to have no formats defined in your fmtutil.cnf files!
fmtutil [INFO]: total formats: 0
fmtutil [INFO]: exiting with status 0
O arquivo ainda não será compilado.
Tentei reinstalar texlive-scheme-full
e ainda retornou o mesmo erro. Também tentei desinstalar texlive-scheme-full
e instalar texlive-scheme-basic
e ainda assim não compilava. rpm-ostree
atualiza automaticamente todos os pacotes antes da instalação, portanto não deve haver problemas de dependência. Mesmo assim fiz uma atualização do sistema, reiniciei, instalei o texlive e reiniciei novamente. Ainda não compila.
Editar: fmtutil.cnf
não existe em nenhum dos caminhos registrados.
Responder1
Eu instalei tex-live
e tug.org
pós-instalei, recomendo instalar o pacote LWP. Acontece que o Fedora Silverblue não possui nenhum pacote perl além do próprio perl. Assim que instalei o Perl Essentials e o LWP, pude compilar sem problemas. fmtutil-sys
também funcionou perfeitamente depois, embora eu tenha que mexer nele sudo
para encontrar comandos tex.