Não consigo encontrar o arquivo de formato 'pdflatex.fmt'!

Não consigo encontrar o arquivo de formato 'pdflatex.fmt'!

Estou no Fedora Silverblue 39 e costumava rpm-ostreeinstalar o texlive-scheme-full.

Tentei compilar um arquivo .tex na linha de comando, pdflatexmas 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 --allo 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-fulle ainda retornou o mesmo erro. Também tentei desinstalar texlive-scheme-fulle instalar texlive-scheme-basice ainda assim não compilava. rpm-ostreeatualiza 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.cnfnão existe em nenhum dos caminhos registrados.

Responder1

Eu instalei tex-livee tug.orgpó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-systambém funcionou perfeitamente depois, embora eu tenha que mexer nele sudopara encontrar comandos tex.

informação relacionada