MikTeX 编译失败

MikTeX 编译失败

我的 MikTeX 出现了以下问题:它是在运行每周构建的 docker 容器中为 CI 设置的。直到上周它还运行良好,但现在出现故障(没有对环境或目标文件进行任何更改)。在查看日志后,我发现最具体的错误消息来自miktex-makefmt.log

2023-11-28 13:39:03,070Z INFO  miktex-makefmt - this process (8153) started by 'initexmf' with command line: miktex-makefmt --engine=pdftex --dest-name=pdflatex --no-dump pdflatex.ini --engine-option=-tcx=cp227.tcx --enable-installer --miktex-disable-maintenance --miktex-disable-diagnose
2023-11-28 13:39:03,071Z WARN  miktex-makefmt - security risk: running with elevated privileges
2023-11-28 13:39:03,072Z INFO  miktex-makefmt - installing package miktex-latex triggered by tex/latex/00miktex/pdflatex.ini
2023-11-28 13:39:03,073Z INFO  miktex-makefmt.packagemanager - going to download https://api2.miktex.org/hello
2023-11-28 13:39:03,424Z INFO  miktex-makefmt.packagemanager - going to download https://api2.miktex.org/repositories?&releaseState=Stable&orderBy=ranking&take=1&onlySecure=true
2023-11-28 13:39:03,490Z INFO  miktex-makefmt - mpm: starting package maintenance...
2023-11-28 13:39:03,490Z INFO  miktex-makefmt - mpm: installation directory: /root/.miktex/texmfs/install
2023-11-28 13:39:03,490Z INFO  miktex-makefmt - mpm: package repository: https://ftp.fau.de/ctan/systems/win32/miktex/tm/packages/
2023-11-28 13:39:03,756Z INFO  miktex-makefmt - mpm: visiting repository https://ftp.fau.de/ctan/systems/win32/miktex/tm/packages/...
2023-11-28 13:39:03,756Z INFO  miktex-makefmt - mpm: repository type: remote package repository
2023-11-28 13:39:03,756Z INFO  miktex-makefmt - mpm: loading package repository manifest...
2023-11-28 13:39:03,756Z INFO  miktex-makefmt - mpm: downloading https://ftp.fau.de/ctan/systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma...
2023-11-28 13:39:03,757Z INFO  miktex-makefmt.packagemanager - going to download https://ftp.fau.de/ctan/systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma
2023-11-28 13:39:04,382Z INFO  miktex-makefmt - mpm: 0.34 MB, 120.53 Mbit/s
2023-11-28 13:39:04,508Z INFO  miktex-makefmt - mpm: package repository digest: eb93a288a00e139dd41badad530d38e9
2023-11-28 13:39:04,508Z INFO  miktex-makefmt - mpm: going to download 932 bytes
2023-11-28 13:39:04,508Z INFO  miktex-makefmt - mpm: going to install 4 file(s) (1 package(s))
2023-11-28 13:39:04,508Z INFO  miktex-makefmt.packagemanager - installing package miktex-latex
2023-11-28 13:39:04,508Z INFO  miktex-makefmt - mpm: downloading https://ftp.fau.de/ctan/systems/win32/miktex/tm/packages/miktex-latex.tar.lzma...
2023-11-28 13:39:04,508Z INFO  miktex-makefmt.packagemanager - going to download https://ftp.fau.de/ctan/systems/win32/miktex/tm/packages/miktex-latex.tar.lzma
2023-11-28 13:39:04,575Z INFO  miktex-makefmt - mpm: 0.00 MB, 18.23 Mbit/s
2023-11-28 13:39:04,575Z INFO  miktex-makefmt - mpm: extracting files from miktex-latex.tar.lzma...
2023-11-28 13:39:04,629Z INFO  miktex-makefmt.core - forking...
2023-11-28 13:39:04,630Z INFO  miktex-makefmt.core - execv: "/usr/bin/initexmf", [ "initexmf", "--mkmaps" ]
2023-11-28 13:39:05,226Z FATAL miktex-makefmt.core - The installed file does not exist.
2023-11-28 13:39:05,226Z FATAL miktex-makefmt.core - Data: fileName="/root/.miktex/texmfs/install/tex/latex/00miktex/pdflatex.ini"
2023-11-28 13:39:05,226Z FATAL miktex-makefmt.core - Source: Libraries/MiKTeX/Core/Session/findfile.cpp:61
2023-11-28 13:39:05,226Z FATAL miktex-makefmt - The installed file does not exist.
2023-11-28 13:39:05,226Z FATAL miktex-makefmt - Info: fileName="/root/.miktex/texmfs/install/tex/latex/00miktex/pdflatex.ini"
2023-11-28 13:39:05,226Z FATAL miktex-makefmt - Source: Libraries/MiKTeX/Core/Session/findfile.cpp
2023-11-28 13:39:05,226Z FATAL miktex-makefmt - Line: 61

我尝试更新 apt 软件包,结果有时可以正常工作,但通常情况下无法正常工作。有人知道如何修复此错误吗?

相关内容