MiKTeX 配置实用程序失败

MiKTeX 配置实用程序失败

我今天运行了 MiKTeX 更新,然后像往常一样,我在 MiKTeX 设置(MiKTeX 选项)中运行了Refresh FNDB它。Update Formats

问题是后者The MiKTeX Configuration Utility failed在为 LaTeX2e 创建格式文件时出现错误:

记录内容如下:

Creating the etex format file...

Sorry, but makefmt did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

  C:/Users/myuser/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makefmt.log

You may want to visit the MiKTeX project page, if you need help.

Sorry, but "MiKTeX Configuration Utility" did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

  C:/Users/myuser/AppData/Local/MiKTeX/2.9/miktex/log/initexmf.log

You may want to visit the MiKTeX project page, if you need help.

说道initexmf.log

2016-11-06 10:05:40,276+0100 INFO  initexmf - starting: MiKTeX Configuration Utility (MiKTeX 2.9.6100 64-bit)
2016-11-06 10:05:40,348+0100 INFO  initexmf - Creating language.dat, language.dat.lua and language.def...
2016-11-06 10:05:40,880+0100 INFO  initexmf - starting: MiKTeX Configuration Utility (MiKTeX 2.9.6100 64-bit)
2016-11-06 10:05:40,896+0100 INFO  initexmf - running 'miktex-makefmt.exe --engine=pdftex --dest-name=etex --no-dump etex.ini --engine-option=-tcx=cp227.tcx --verbose --enable-installer'
2016-11-06 10:05:41,365+0100 FATAL initexmf - The executed process did not succeed.
2016-11-06 10:05:41,365+0100 FATAL initexmf - Info: fileName="C:\Users\myuser\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64\miktex-makefmt.exe", arguments="--engine=pdftex --dest-name=etex --no-dump etex.ini --engine-option=-tcx=cp227.tcx --verbose --enable-installer", exitCode="1"
2016-11-06 10:05:41,365+0100 FATAL initexmf - Source: Libraries\MiKTeX\Core\Process\Process.cpp
2016-11-06 10:05:41,365+0100 FATAL initexmf - Line: 159
2016-11-06 10:05:53,137+0100 INFO  initexmf - starting: MiKTeX Configuration Utility (MiKTeX 2.9.6100 64-bit)
2016-11-06 10:05:53,159+0100 INFO  initexmf - running 'miktex-makefmt.exe --engine=pdftex --dest-name=latex --no-dump latex.ini --engine-option=-tcx=cp227.tcx --verbose --enable-installer'
2016-11-06 10:05:53,307+0100 FATAL initexmf - The executed process did not succeed.
2016-11-06 10:05:53,307+0100 FATAL initexmf - Info: fileName="C:\Users\myuser\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64\miktex-makefmt.exe", arguments="--engine=pdftex --dest-name=latex --no-dump latex.ini --engine-option=-tcx=cp227.tcx --verbose --enable-installer", exitCode="1"
2016-11-06 10:05:53,307+0100 FATAL initexmf - Source: Libraries\MiKTeX\Core\Process\Process.cpp
2016-11-06 10:05:53,307+0100 FATAL initexmf - Line: 159
2016-11-06 10:05:59,799+0100 INFO  initexmf - starting: MiKTeX Configuration Utility (MiKTeX 2.9.6100 64-bit)
2016-11-06 10:05:59,815+0100 INFO  initexmf - running 'miktex-makebase.exe --dest-name=mf --no-dump mf.ini --engine-option=-tcx=cp227.tcx --verbose --enable-installer'
2016-11-06 10:06:00,884+0100 INFO  initexmf - starting: MiKTeX Configuration Utility (MiKTeX 2.9.6100 64-bit)
2016-11-06 10:06:00,915+0100 INFO  initexmf - running 'miktex-makefmt.exe --engine=pdftex --dest-name=pdfetex --no-dump pdfetex.ini --engine-option=-tcx=cp227.tcx --verbose --enable-installer'
2016-11-06 10:06:01,216+0100 FATAL initexmf - The executed process did not succeed.
2016-11-06 10:06:01,216+0100 FATAL initexmf - Info: fileName="C:\Users\myuser\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64\miktex-makefmt.exe", arguments="--engine=pdftex --dest-name=pdfetex --no-dump pdfetex.ini --engine-option=-tcx=cp227.tcx --verbose --enable-installer", exitCode="1"
2016-11-06 10:06:01,216+0100 FATAL initexmf - Source: Libraries\MiKTeX\Core\Process\Process.cpp
2016-11-06 10:06:01,216+0100 FATAL initexmf - Line: 159
2016-11-06 10:06:05,115+0100 INFO  initexmf - starting: MiKTeX Configuration Utility (MiKTeX 2.9.6100 64-bit)
2016-11-06 10:06:05,130+0100 INFO  initexmf - running 'miktex-makefmt.exe --engine=pdftex --dest-name=pdflatex --no-dump pdflatex.ini --engine-option=-tcx=cp227.tcx --verbose --enable-installer'
2016-11-06 10:06:05,284+0100 FATAL initexmf - The executed process did not succeed.
2016-11-06 10:06:05,284+0100 FATAL initexmf - Info: fileName="C:\Users\myuser\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64\miktex-makefmt.exe", arguments="--engine=pdftex --dest-name=pdflatex --no-dump pdflatex.ini --engine-option=-tcx=cp227.tcx --verbose --enable-installer", exitCode="1"
2016-11-06 10:06:05,284+0100 FATAL initexmf - Source: Libraries\MiKTeX\Core\Process\Process.cpp
2016-11-06 10:06:05,284+0100 FATAL initexmf - Line: 159
2016-11-06 10:06:08,899+0100 INFO  initexmf - starting: MiKTeX Configuration Utility (MiKTeX 2.9.6100 64-bit)
2016-11-06 10:06:08,930+0100 INFO  initexmf - running 'miktex-makefmt.exe --engine=pdftex --dest-name=pdftex --no-dump pdftex.ini --engine-option=-tcx=cp227.tcx --verbose --enable-installer'
2016-11-06 10:06:09,084+0100 FATAL initexmf - The executed process did not succeed.
2016-11-06 10:06:09,084+0100 FATAL initexmf - Info: fileName="C:\Users\myuser\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64\miktex-makefmt.exe", arguments="--engine=pdftex --dest-name=pdftex --no-dump pdftex.ini --engine-option=-tcx=cp227.tcx --verbose --enable-installer", exitCode="1"
2016-11-06 10:06:09,084+0100 FATAL initexmf - Source: Libraries\MiKTeX\Core\Process\Process.cpp
2016-11-06 10:06:09,084+0100 FATAL initexmf - Line: 159
2016-11-06 10:06:13,729+0100 INFO  initexmf - starting: MiKTeX Configuration Utility (MiKTeX 2.9.6100 64-bit)
2016-11-06 10:06:13,745+0100 INFO  initexmf - running 'miktex-makefmt.exe --engine=tex --dest-name=tex --no-dump tex.ini --verbose --enable-installer'

说道miktex-makefmt.log

2016-11-06 10:06:01,185+0100 INFO  makex - Creating the pdfetex format file...
2016-11-06 10:06:05,246+0100 INFO  makex - Creating the pdflatex format file...
2016-11-06 10:06:09,046+0100 INFO  makex - Creating the pdftex format file...
2016-11-06 10:06:14,029+0100 INFO  makex - Creating the tex format file...
2016-11-06 10:06:14,045+0100 INFO  makex - Running miktex-tex.exe...

我还尝试在 MiKTeX 包管理器中同步存储库,检查所有以 开头的包是否miktex都已安装,例如这里,然后重新运行所有操作,但没有成功。

我访问过 MiKTeX 项目页面,但我不知道本通知与问题相关。

但我的文档仍然可以顺利编译。

编辑:这是我尝试手动构建的etex

initexmf.log

2016-11-06 15:05:14,369+0100 INFO  initexmf - starting: MiKTeX Configuration Utility (MiKTeX 2.9.6100 64-bit)
2016-11-06 15:05:14,401+0100 INFO  initexmf - running 'miktex-makefmt.exe --engine=pdftex --dest-name=etex --no-dump etex.ini --engine-option=-tcx=cp227.tcx --verbose --enable-installer'
2016-11-06 15:05:14,785+0100 FATAL initexmf - The executed process did not succeed.
2016-11-06 15:05:14,785+0100 FATAL initexmf - Info: fileName="C:\Users\myuser\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64\miktex-makefmt.exe", arguments="--engine=pdftex --dest-name=etex --no-dump etex.ini --engine-option=-tcx=cp227.tcx --verbose --enable-installer", exitCode="1"
2016-11-06 15:05:14,785+0100 FATAL initexmf - Source: Libraries\MiKTeX\Core\Process\Process.cpp
2016-11-06 15:05:14,785+0100 FATAL initexmf - Line: 159

miktex-makefmt.log

2016-11-06 15:05:14,689+0100 INFO  makex - Creating the etex format file...

答案1

这个问题是 MiKTeK 的一个 bug,他们现在已经解决了,请参阅这里

今天我又运行了另一次更新加Refresh FNDBUpdate Formats

第一次Update Formats出现了错误,而且记录比以前说的更详细(抱歉,我没有抄下来),但是从第二次开始,这个错误就不再出现。

PS=我应该删除我的问题吗?

相关内容