我安装了全新的 Windows 10 操作系统。我无法在 Windows 中安装 MiKTeX 2.9 最新更新。安装过程失败后,我在日志文件末尾收到以下内容:
updating package definition directory ("C:\Program Files\MiKTeX 2.9\tpm\packages")...
installed 3066 package definition files
visiting repository C:\Users\HARIKR~1\AppData\Local\Temp\mik77723...
repository type: local package repository
loading lightweight database...
"C:\Program Files\MiKTeX 2.9\miktex/bin/x64\initexmf.exe" --common-install="C:\Program Files\MiKTeX 2.9" --set-config-value=[Core]SharedSetup=1 --admin --log-file="C:\Program Files\MiKTeX 2.9\miktex/config\uninst.log" --verbose:
log4cxx: No appender could be found for logger (initexmf).
log4cxx: Please initialize the log4cxx system properly.
Sorry, but "MiKTeX Configuration Utility" did not succeed.
You may want to visit the MiKTeX project page, if you need help.
An error occurred:
source file: Libraries\MiKTeX\Core\Process\Process.cpp
source line: 159
message: The executed process did not succeed.
info: fileName="C:\Program Files\MiKTeX 2.9\miktex/bin/x64\initexmf.exe", arguments="--common-install="C:\Program Files\MiKTeX 2.9" --set-config-value=[Core]SharedSetup=1 --admin --log-file="C:\Program Files\MiKTeX 2.9\miktex/config\uninst.log" --verbose", exitCode="1"
我尝试卸载 Adobe Reader,并关闭防病毒软件。
答案1
请安装 Texlive 2017 而不是 MikTeX,它包含完整的 Latex 包,可以在 Windows 和 Linux 系统中安装
http://ctan.imsc.res.in/systems/texlive/Images/texlive2017.iso