帮助解决重新安装 MiKTeX 2.9 的问题

帮助解决重新安装 MiKTeX 2.9 的问题

由于一些未知的原因,六天前更新后,由于控制台问题,我不得不卸载旧版 MikTeX,最近安装 MiKTeX 2.9.6930 时,我遇到了编译问题。我添加了图像和错误。我已经用CCleaner和其他程序和regedit注册表,删除以前安装的所有残留物,清理 Appdata 并手动删除 MikTeX 2.9。卸载图标不存在。我对格式化非常担心。我恳请您提供宝贵的帮助。

第一个问题initexmf

2019-01-15 20:06:42,701+0100 INFO  initexmf - starting: MiKTeX Configuration Utility 2.9.6937 (MiKTeX 2.9.6930)
2019-01-15 20:06:42,702+0100 INFO  initexmf - Operating on the private (per-user) MiKTeX setup
2019-01-15 20:06:42,702+0100 INFO  initexmf - starting with command line: initexmf --quiet --update-fndb
2019-01-15 20:06:42,790+0100 INFO  initexmf - Creating fndb for user root directory (C:\Users\utente\AppData\Roaming\MiKTeX\2.9)...
2019-01-15 20:06:42,959+0100 INFO  initexmf - Creating fndb for user root directory (C:\Users\utente\AppData\Local\MiKTeX\2.9)...
2019-01-15 20:06:43,016+0100 INFO  initexmf - Skipping common root directory (C:\ProgramData\MiKTeX\2.9)...
2019-01-15 20:06:43,016+0100 INFO  initexmf - Skipping common root directory ("C:\Program Files\MiKTeX 2.9")...
2019-01-15 20:06:54,833+0100 INFO  initexmf - finishing with exit code 0
2019-01-15 20:06:55,620+0100 INFO  initexmf - starting: MiKTeX Configuration Utility 2.9.6937 (MiKTeX 2.9.6930)
2019-01-15 20:06:55,621+0100 INFO  initexmf - Operating on the private (per-user) MiKTeX setup
2019-01-15 20:06:55,621+0100 INFO  initexmf - starting with command line: initexmf --quiet --mkmaps
2019-01-15 20:06:55,631+0100 INFO  initexmf - running: mkfntmap --miktex-disable-maintenance
2019-01-15 20:08:36,118+0100 INFO  initexmf - starting: MiKTeX Configuration Utility 2.9.6937 (MiKTeX 2.9.6930)
2019-01-15 20:08:36,119+0100 INFO  initexmf - Operating on the private (per-user) MiKTeX setup
2019-01-15 20:08:36,119+0100 INFO  initexmf - starting with command line: initexmf --dump-by-name=pdflatex --engine=pdftex
2019-01-15 20:08:36,145+0100 INFO  initexmf - running: miktex-makefmt.exe --engine=pdftex --dest-name=pdflatex --no-dump pdflatex.ini --engine-option=-tcx=cp227.tcx --miktex-disable-maintenance
2019-01-15 20:08:57,054+0100 INFO  initexmf - finishing with exit code 0
2019-01-15 20:10:34,266+0100 INFO  initexmf - starting: MiKTeX Configuration Utility 2.9.6937 (MiKTeX 2.9.6930)
2019-01-15 20:10:34,267+0100 INFO  initexmf - Operating on the private (per-user) MiKTeX setup
2019-01-15 20:10:34,267+0100 INFO  initexmf - starting with command line: initexmf --quiet --update-fndb
2019-01-15 20:10:34,491+0100 INFO  initexmf - Creating fndb for user root directory (C:\Users\utente\AppData\Roaming\MiKTeX\2.9)...
2019-01-15 20:10:34,532+0100 FATAL initexmf - Windows API error 1224: Impossibile eseguire l'operazione specificata su un file la cui sezione mappata dall'utente è aperta.

2019-01-15 20:10:34,532+0100 FATAL initexmf - Info: path="C:\Users\utente\AppData\Local\MiKTeX\2.9\miktex/data/le\e97fd10829234ff4e140154c5987356e.fndb-5", modeString="wb"
2019-01-15 20:10:34,532+0100 FATAL initexmf - Source: Libraries\MiKTeX\Core\File\win\winFile.cpp
2019-01-15 20:10:34,532+0100 FATAL initexmf - Line: 551
2019-01-15 20:14:54,228+0100 INFO  initexmf - starting: MiKTeX Configuration Utility 2.9.6937 (MiKTeX 2.9.6930)
2019-01-15 20:14:54,268+0100 INFO  initexmf - Operating on the private (per-user) MiKTeX setup
2019-01-15 20:14:54,269+0100 INFO  initexmf - starting with command line: initexmf --quiet --update-fndb
2019-01-15 20:14:54,480+0100 INFO  initexmf - Creating fndb for user root directory (C:\Users\utente\AppData\Roaming\MiKTeX\2.9)...
2019-01-15 20:14:54,594+0100 FATAL initexmf - Windows API error 1224: Impossibile eseguire l'operazione specificata su un file la cui sezione mappata dall'utente è aperta.

2019-01-15 20:14:54,594+0100 FATAL initexmf - Info: path="C:\Users\utente\AppData\Local\MiKTeX\2.9\miktex/data/le\e97fd10829234ff4e140154c5987356e.fndb-5", modeString="wb"
2019-01-15 20:14:54,594+0100 FATAL initexmf - Source: Libraries\MiKTeX\Core\File\win\winFile.cpp
2019-01-15 20:14:54,594+0100 FATAL initexmf - Line: 551
2019-01-15 20:31:44,034+0100 INFO  initexmf - starting: MiKTeX Configuration Utility 2.9.6937 (MiKTeX 2.9.6930)
2019-01-15 20:31:44,063+0100 INFO  initexmf - Operating on the private (per-user) MiKTeX setup
2019-01-15 20:31:44,063+0100 INFO  initexmf - starting with command line: initexmf --quiet --update-fndb
2019-01-15 20:31:44,288+0100 INFO  initexmf - Creating fndb for user root directory (C:\Users\utente\AppData\Roaming\MiKTeX\2.9)...
2019-01-15 20:31:44,301+0100 FATAL initexmf - Windows API error 1224: Impossibile eseguire l'operazione specificata su un file la cui sezione mappata dall'utente è aperta.

2019-01-15 20:31:44,317+0100 FATAL initexmf - Info: path="C:\Users\utente\AppData\Local\MiKTeX\2.9\miktex/data/le\e97fd10829234ff4e140154c5987356e.fndb-5", modeString="wb"
2019-01-15 20:31:44,317+0100 FATAL initexmf - Source: Libraries\MiKTeX\Core\File\win\winFile.cpp
2019-01-15 20:31:44,317+0100 FATAL initexmf - Line: 551
2019-01-15 20:36:34,643+0100 INFO  initexmf - starting: MiKTeX Configuration Utility 2.9.6937 (MiKTeX 2.9.6930)
2019-01-15 20:36:34,643+0100 INFO  initexmf - Operating on the private (per-user) MiKTeX setup
2019-01-15 20:36:34,643+0100 INFO  initexmf - starting with command line: initexmf --quiet --update-fndb
2019-01-15 20:36:34,799+0100 INFO  initexmf - Creating fndb for user root directory (C:\Users\utente\AppData\Roaming\MiKTeX\2.9)...
2019-01-15 20:36:34,924+0100 INFO  initexmf - Creating fndb for user root directory (C:\Users\utente\AppData\Local\MiKTeX\2.9)...
2019-01-15 20:36:35,377+0100 INFO  initexmf - Skipping common root directory (C:\ProgramData\MiKTeX\2.9)...
2019-01-15 20:36:35,377+0100 INFO  initexmf - Skipping common root directory ("C:\Program Files\MiKTeX 2.9")...
2019-01-15 20:38:39,297+0100 INFO  initexmf - starting: MiKTeX Configuration Utility 2.9.6937 (MiKTeX 2.9.6930)
2019-01-15 20:38:39,297+0100 INFO  initexmf - Operating on the private (per-user) MiKTeX setup
2019-01-15 20:38:39,297+0100 INFO  initexmf - starting with command line: initexmf -u
2019-01-15 20:38:39,469+0100 INFO  initexmf - Creating fndb for user root directory (C:\Users\utente\AppData\Roaming\MiKTeX\2.9)...
2019-01-15 20:38:39,485+0100 INFO  initexmf - Creating fndb for user root directory (C:\Users\utente\AppData\Local\MiKTeX\2.9)...
2019-01-15 20:38:39,579+0100 INFO  initexmf - Skipping common root directory (C:\ProgramData\MiKTeX\2.9)...
2019-01-15 20:38:39,579+0100 INFO  initexmf - Skipping common root directory ("C:\Program Files\MiKTeX 2.9")...
2019-01-15 20:38:48,610+0100 INFO  initexmf - finishing with exit code 0
2019-01-15 20:39:08,728+0100 INFO  initexmf - starting: MiKTeX Configuration Utility 2.9.6937 (MiKTeX 2.9.6930)
2019-01-15 20:39:08,728+0100 INFO  initexmf - Operating on the private (per-user) MiKTeX setup
2019-01-15 20:39:08,728+0100 INFO  initexmf - starting with command line: initexmf -u
2019-01-15 20:39:08,916+0100 INFO  initexmf - Creating fndb for user root directory (C:\Users\utente\AppData\Roaming\MiKTeX\2.9)...
2019-01-15 20:39:08,947+0100 INFO  initexmf - Creating fndb for user root directory (C:\Users\utente\AppData\Local\MiKTeX\2.9)...
2019-01-15 20:39:09,041+0100 INFO  initexmf - Skipping common root directory (C:\ProgramData\MiKTeX\2.9)...
2019-01-15 20:39:09,041+0100 INFO  initexmf - Skipping common root directory ("C:\Program Files\MiKTeX 2.9")...
2019-01-15 20:39:18,056+0100 INFO  initexmf - finishing with exit code 0

第二个问题texify

2019-01-15 20:06:41,846+0100 INFO  texify - starting with command line: "C:\Program Files\MiKTeX 2.9\miktex\bin\texify.exe" --pdf --synctex=1 --clean "2 domande aperte.tex"
2019-01-15 20:06:42,073+0100 INFO  texify - running 'initexmf' to refresh the file name database
2019-01-15 20:06:54,889+0100 INFO  texify - running 'initexmf' to create font map files
2019-01-15 20:08:32,060+0100 INFO  texify - starting with command line: "C:\Program Files\MiKTeX 2.9\miktex\bin\texify.exe" --pdf --synctex=1 --clean "2 domande aperte.tex"
2019-01-15 20:10:32,409+0100 INFO  texify - starting with command line: "C:\Program Files\MiKTeX 2.9\miktex\bin\texify.exe" --pdf --synctex=1 --clean "2 domande aperte.tex"
2019-01-15 20:10:32,454+0100 INFO  texify - running 'initexmf' to refresh the file name database
2019-01-15 20:10:34,656+0100 FATAL texify - Windows API error 1224: Impossibile eseguire l'operazione specificata su un file la cui sezione mappata dall'utente è aperta.
2019-01-15 20:10:34,657+0100 FATAL texify - Info: path="C:\Users\utente\AppData\Local\MiKTeX\2.9\miktex/data/le\e97fd10829234ff4e140154c5987356e.fndb-5", modeString="wb"
2019-01-15 20:10:34,657+0100 FATAL texify - Source: Libraries\MiKTeX\Core\File\win\winFile.cpp
2019-01-15 20:10:34,657+0100 FATAL texify - Line: 551
2019-01-15 20:14:52,735+0100 INFO  texify - starting with command line: "C:\Program Files\MiKTeX 2.9\miktex\bin\texify.exe" --pdf --synctex=1 --clean "2 domande aperte.tex"
2019-01-15 20:14:52,869+0100 INFO  texify - running 'initexmf' to refresh the file name database
2019-01-15 20:14:54,633+0100 FATAL texify - Windows API error 1224: Impossibile eseguire l'operazione specificata su un file la cui sezione mappata dall'utente è aperta.
2019-01-15 20:14:54,634+0100 FATAL texify - Info: path="C:\Users\utente\AppData\Local\MiKTeX\2.9\miktex/data/le\e97fd10829234ff4e140154c5987356e.fndb-5", modeString="wb"
2019-01-15 20:14:54,634+0100 FATAL texify - Source: Libraries\MiKTeX\Core\File\win\winFile.cpp
2019-01-15 20:14:54,634+0100 FATAL texify - Line: 551
2019-01-15 20:31:42,068+0100 INFO  texify - starting with command line: "C:\Program Files\MiKTeX 2.9\miktex\bin\texify.exe" --pdf --synctex=1 --clean "2 domande aperte.tex"
2019-01-15 20:31:42,480+0100 INFO  texify - running 'initexmf' to refresh the file name database
2019-01-15 20:31:44,388+0100 FATAL texify - Windows API error 1224: Impossibile eseguire l'operazione specificata su un file la cui sezione mappata dall'utente è aperta.
2019-01-15 20:31:44,388+0100 FATAL texify - Info: path="C:\Users\utente\AppData\Local\MiKTeX\2.9\miktex/data/le\e97fd10829234ff4e140154c5987356e.fndb-5", modeString="wb"
2019-01-15 20:31:44,388+0100 FATAL texify - Source: Libraries\MiKTeX\Core\File\win\winFile.cpp
2019-01-15 20:31:44,388+0100 FATAL texify - Line: 551

第三个问题: 使用 TeXworks 编译 .tex 文件时:

Remedy:%%%%%%%<---done!


Close running MiKTeX programs and try again.

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

  C:\Users\utente\AppData\Local\MiKTeX\2.9\miktex\log\texify.log

For more information, visit: https://miktex.org/kb/fix-file-in-use

第四个问题miktex-mf

2019-01-15 20:36:33,690+0100 INFO  miktex-mf - starting with command line: "C:\Program Files\MiKTeX 2.9\miktex\bin\miktex-mf.exe"
2019-01-15 20:36:33,721+0100 INFO  miktex-mf - running 'initexmf' to refresh the file name database
2019-01-15 20:36:41,487+0100 FATAL miktex-mf - The executed process did not succeed.
2019-01-15 20:36:41,487+0100 FATAL miktex-mf - Info: fileName="C:\Program Files\MiKTeX 2.9\miktex\bin\initexmf.exe", exitCode="-1073741510"
2019-01-15 20:36:41,487+0100 FATAL miktex-mf - Source: 
2019-01-15 20:36:41,487+0100 FATAL miktex-mf - Line: 0

第五个问题miktex-pdftex

2019-01-15 20:08:38,228+0100 INFO  miktex-pdftex - starting with command line: miktex-pdftex.exe --miktex-disable-maintenance --initialize --interaction=nonstopmode --halt-on-error --alias=pdflatex --job-name=pdflatex -tcx=cp227.tcx --enable-etex pdflatex.ini
2019-01-15 20:08:38,247+0100 INFO  miktex-pdftex - allowing known shell commands
2019-01-15 20:08:38,250+0100 INFO  miktex-pdftex - enabling input (output) from (to) processes
2019-01-15 20:08:56,138+0100 INFO  miktex-pdftex - finishing with exit code 0

第六个问题?

2019-01-15 20:06:57,824+0100 INFO  mkfntmap - starting with command line: mkfntmap --miktex-disable-maintenance
2019-01-15 20:06:57,831+0100 INFO  mkfntmap - Parsing config file "C:\Program Files\MiKTeX 2.9\miktex/config\updmap.cfg"...
2019-01-15 20:06:57,834+0100 INFO  mkfntmap - Parsing config file C:\Users\utente\AppData\Roaming\MiKTeX\2.9\miktex/config\updmap.cfg...
2019-01-15 20:07:07,415+0100 INFO  mkfntmap - Writing C:\Users\utente\AppData\Local\MiKTeX\2.9\dvips\config\ps2pk.map...
2019-01-15 20:07:08,141+0100 INFO  mkfntmap - Writing C:\Users\utente\AppData\Local\MiKTeX\2.9\dvips\config\download35.map...
2019-01-15 20:07:08,225+0100 INFO  mkfntmap - Writing C:\Users\utente\AppData\Local\MiKTeX\2.9\dvips\config\builtin35.map...
2019-01-15 20:07:08,313+0100 INFO  mkfntmap - Writing C:\Users\utente\AppData\Local\MiKTeX\2.9\dvips\config\psfonts_t1.map...
2019-01-15 20:07:09,331+0100 INFO  mkfntmap - Writing C:\Users\utente\AppData\Local\MiKTeX\2.9\dvips\config\psfonts_pk.map...
2019-01-15 20:07:10,305+0100 INFO  mkfntmap - Writing C:\Users\utente\AppData\Local\MiKTeX\2.9\pdftex\config\pdftex_ndl14.map...
2019-01-15 20:07:11,585+0100 INFO  mkfntmap - Writing C:\Users\utente\AppData\Local\MiKTeX\2.9\pdftex\config\pdftex_dl14.map...
2019-01-15 20:07:12,458+0100 INFO  mkfntmap - Writing C:\Users\utente\AppData\Local\MiKTeX\2.9\dvipdfm\config\dvipdfm_dl14.map...
2019-01-15 20:07:13,745+0100 INFO  mkfntmap - Writing C:\Users\utente\AppData\Local\MiKTeX\2.9\dvipdfm\config\dvipdfm_ndl14.map...
2019-01-15 20:07:14,648+0100 INFO  mkfntmap - Copying C:\Users\utente\AppData\Local\MiKTeX\2.9\dvips\config\psfonts_t1.map
2019-01-15 20:07:14,648+0100 INFO  mkfntmap -      to C:\Users\utente\AppData\Local\MiKTeX\2.9\dvips\config\psfonts.map...
2019-01-15 20:07:14,897+0100 INFO  mkfntmap - Copying C:\Users\utente\AppData\Local\MiKTeX\2.9\dvipdfm\config\dvipdfm_dl14.map
2019-01-15 20:07:14,897+0100 INFO  mkfntmap -      to C:\Users\utente\AppData\Local\MiKTeX\2.9\dvipdfm\config\dvipdfm.map...
2019-01-15 20:07:15,499+0100 INFO  mkfntmap - Copying C:\Users\utente\AppData\Local\MiKTeX\2.9\pdftex\config\pdftex_dl14.map
2019-01-15 20:07:15,500+0100 INFO  mkfntmap -      to C:\Users\utente\AppData\Local\MiKTeX\2.9\pdftex\config\pdftex.map...
2019-01-15 20:07:16,428+0100 INFO  mkfntmap - running: miktex-fc-cache --miktex-disable-maintenance

图片:

在此处输入图片描述 来自 TeXworks 在此处输入图片描述

答案1

如果您需要再次重新安装,请考虑单用户基本安装。

MiKTeX 总是在指南中说,但单个用户忽略了不要安装用于管理员的建议。你必须做两次

这次我建议你

1)首先退出并重启电脑
2)然后不要打开编辑器因为文件可能会被一个文件锁定而阻止另一个文件打开
3)只需打开 MiKTeX 控制台。作为管理员,首先进行全面更新
4) 前往TASKS 更新 FNDB 和字体映射(注意错误)
5)与用户做同样的事情。
6)现在测试编辑器

您的目录很短,因为两个目录相同,但这些是正常的 COMMON 默认值,只需检查它们是否存在于预期的文件集合中。

之前可能缺少的是额外的用户定义目录,例如 blah\blah\mytexmf

如果您有通用用户 texmf,则可能需要将其添加回来。

管理员和用户的目录可能不同?但我不在双模式下运行

相关内容