正如标题所说,MiKTeX 在安装后直接进行的更新使其无法使用。
- 我想在我公司的 DOM 中的 Windows 10 上安装 MiKTeX。
- 安装链接:https://miktex.org/download
- 安装仅在本地用户上进行。
- 安装工作正常。
- 如果我强制 MiKTeX 不进行更新,我可以毫无问题地编译标准 .tex 文档。但每个编译过程只安装一个包。所以我不得不启动编译大约 5 次才能获得基本包。
- 如果我在安装后直接执行 MiKTeX 推荐的 102 个更新(或在尝试第 5 步后执行),则会收到错误消息。安装似乎已完全完成,但仍然出现错误:
- 如果我单击“是”,我会收到此消息
The executed procress did not succeed.
:fileName="C:\Users\xxxxxx\AppData\Local\Programs\MiKTeX\miktex\bin\x64\miktex-fc-cache.exe", exitCode="1"
- 复制信息提供以下文本:
GENERAL MIKTEX INFORMATION
ReportDate: 2021-03-29 14:04:13
CurrentVersion: 21.2
SetupDate: 2021-03-29 14:02:00
SetupVersion: 21.2
Configuration: Regular
GitInfo: 7a7e645 / 2021-02-20 10:38:14
OS: Windows 10 Education, 64-bit, build 18363
SharedSetup: no
LinkTargetDirectory: C:\Users\xxxxxx\AppData\Local\Programs\MiKTeX\miktex\bin\x64
PathOkay: no
LastUpdateCheck: 2021-03-29 14:02:53
LastUpdate: 2021-03-29 14:03:35
LastUpdateDb: 2021-03-29 14:02:51
SystemAdmin: no
RootPrivileges: no
AdminMode: no
Root0: C:\Users\xxxxxx\AppData\Roaming\MiKTeX
Root1: C:\Users\xxxxxx\AppData\Local\MiKTeX
Root2: C:\Users\xxxxxx\AppData\Local\Programs\MiKTeX
Root3: C:\ProgramData\MiKTeX
Root4: C:\Program Files\MiKTeX
UserInstall: C:\Users\xxxxxx\AppData\Local\Programs\MiKTeX
UserConfig: C:\Users\xxxxxx\AppData\Roaming\MiKTeX
UserData: C:\Users\xxxxxx\AppData\Local\MiKTeX
CommonInstall: C:\Program Files\MiKTeX
CommonConfig: C:\ProgramData\MiKTeX
CommonData: C:\ProgramData\MiKTeX
Invokers: non-existing/cmd
ERROR DETAILS
Program: miktex-fc-cache.exe
Error: The executed process did not succeed.
Details:
fileName: C:\Users\xxxxxx\AppData\Local\Programs\MiKTeX\miktex\bin\x64\miktex-fc-cache.exe
exitCode: 1
- 这次更新失败后,MiKTeX 将不再显示任何更新。它只是说:“没有新的可用更新”。
- 但是如果我现在尝试编译任何 LaTeX 文档(例如在 TeXMaker 或 TeXworks 中),我会收到此错误消息:
Die Ausführung des Codes kann nicht fortgesetzt werden, da MiKTeX210200-png.dll nicht gefunden wurde. Durch eine Neuinstallation des Programms kann das Problem möglicherweise behoben werden.
或The execution of the code cannot continue because MiKTeX210200-png.dll was not found. Reinstalling the program may fix the problem.
(翻译成英文) - 我可以使用“TeXworks”从这个问题中得到一种日志文件。它的内容如下:
2021-03-29 15:04:02,156+0200 INFO texify - this process (18644) started by 'miktex-texworks' with command line: C:\Users\xxxxxx\AppData\Local\Programs\MiKTeX\miktex\bin\x64\texify.exe --pdf --synctex=1 --clean Beispiel.tex
2021-03-29 15:04:02,204+0200 INFO texify.core - start process: pdflatex --synctex=1 C:/Users/xxxxxx/Downloads\Beispiel.tex
2021-03-29 15:04:02,248+0200 ERROR texify.core - Das System kann die angegebene Datei nicht finden.
2021-03-29 15:04:02,248+0200 ERROR texify.core - Function: CopyFileW
2021-03-29 15:04:02,248+0200 ERROR texify.core - Result: 2
2021-03-29 15:04:02,248+0200 ERROR texify.core - Data: existing="Beispiel.log", path="C:/Users/xxxxxx/Downloads\Beispiel.log"
2021-03-29 15:04:02,248+0200 ERROR texify.core - Source: Libraries\MiKTeX\Core\File\win\winFile.cpp:390
2021-03-29 15:04:02,248+0200 FATAL texify.core - TeX engine failed for some reason.
2021-03-29 15:04:02,248+0200 FATAL texify.core - Data:
2021-03-29 15:04:02,248+0200 FATAL texify.core - Source: Programs\MiKTeX\texify\mcd.cpp:1529
2021-03-29 15:04:02,248+0200 FATAL texify - TeX engine failed for some reason.
2021-03-29 15:04:02,248+0200 FATAL texify - Info:
2021-03-29 15:04:02,248+0200 FATAL texify - Source: Programs\MiKTeX\texify\mcd.cpp
2021-03-29 15:04:02,248+0200 FATAL texify - Line: 1529
- 我重装了好几次 MiKTeX。也很累:
- 以本地管理员身份安装
- 使用选项进行安装,新软件包将自动安装而无需询问
那么。有人有想法吗?4 小时后我还是无法解决问题,现在有点绝望了。到目前为止,我在 www 上也找不到解决方案。提前非常感谢!