更新 miktex 2.9 后 pdflatex 中断

更新 miktex 2.9 后 pdflatex 中断

整个问题始于我想用我的Windows 10LuaLaTeXXeLaTex在我的 Windows 10 上编译一些东西。Tex StudioMikTex 2.9

我刚刚收到一个utf-8错误,因此根据 上的一些建议TEX.SE,我决定更新我的MikTex。我成功了,更新后可以看到以下日志:

MiKTeX Update Wizard Report

Version: 2.9.4913
Date: Thursday, January 26, 2017
Time: 19:45:08
starting package maintenance...

installation directory: "C:\Program Files\MiKTeX 2.9"

package repository: http://mirrors.rit.edu/CTAN/systems/win32/miktex/tm/packages/

lightweight database digest: 524ebef2c248e9780b88a6c588605d24

going to download 18543326 bytes

going to install 91 file(s) (12 package(s))

going to remove 1308 file(s) (45 package(s))

downloading http://mirrors.rit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-bibarts-bin.tar.lzma...

123555 bytes, 504.85 KB/Sec

extracting files from miktex-bibarts-bin.tar.lzma...

downloading http://mirrors.rit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-bin-2.9.tar.lzma...

6513392 bytes, 1336.29 KB/Sec

extracting files from miktex-bin-2.9.tar.lzma...

downloading http://mirrors.rit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-dvips.tar.lzma...

3101 bytes, 151.42 KB/Sec

extracting files from miktex-dvips.tar.lzma...

downloading http://mirrors.rit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-epstopdf-bin-2.9.tar.lzma...

28432 bytes, 645.71 KB/Sec

extracting files from miktex-epstopdf-bin-2.9.tar.lzma...

downloading http://mirrors.rit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-fontconfig.tar.lzma...

3555 bytes, 192.87 KB/Sec

extracting files from miktex-fontconfig.tar.lzma...

downloading http://mirrors.rit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-int-bin-2.9.tar.lzma...

5607529 bytes, 1095.88 KB/Sec

extracting files from miktex-int-bin-2.9.tar.lzma...

downloading http://mirrors.rit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-md5-bin-2.9.tar.lzma...

7385 bytes, 240.40 KB/Sec

extracting files from miktex-md5-bin-2.9.tar.lzma...

downloading http://mirrors.rit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-mpmcli-bin-2.9.tar.lzma...

1770005 bytes, 820.37 KB/Sec

extracting files from miktex-mpmcli-bin-2.9.tar.lzma...

downloading http://mirrors.rit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-tdsutil-bin-2.9.tar.lzma...

51218 bytes, 847.76 KB/Sec

extracting files from miktex-tdsutil-bin-2.9.tar.lzma...

downloading http://mirrors.rit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-ucrt-bin.tar.lzma...

446760 bytes, 1407.38 KB/Sec

extracting files from miktex-ucrt-bin.tar.lzma...

downloading http://mirrors.rit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-vc140-bin.tar.lzma...

2275432 bytes, 1329.01 KB/Sec

extracting files from miktex-vc140-bin.tar.lzma...

downloading http://mirrors.rit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-xindy-bin.tar.lzma...

1712962 bytes, 1437.13 KB/Sec

extracting files from miktex-xindy-bin.tar.lzma...

removing package hoekwater...

removing package miktex-bibtex-base...

removing package miktex-bibtex8bit-base...

removing package miktex-cweb-base...

removing package miktex-dvipdfm-base-2.7...

removing package miktex-dvipdfmx-base-2.7...

removing package miktex-dvips-base...

removing package miktex-dvips-doc...

removing package miktex-etex-base-2.9...

removing package miktex-fontconfig-base...

removing package miktex-fontname-base...

removing package miktex-freetype-base...

removing package miktex-freetype-bin-2.9...

removing package miktex-ghostscript-base-2.9...

removing package miktex-ghostscript-bin-2.9...

removing package miktex-graphics-bin-2.9...

removing package miktex-gsf2pk-base...

removing package miktex-hyph-french...

removing package miktex-hyph-german...

removing package miktex-hyph-usenglish...

removing package miktex-icu-bin-2.9...

removing package miktex-latex-config-2.9...

removing package miktex-luatex-base...

removing package miktex-makeindex-base...

removing package miktex-metafont-base...

removing package miktex-metafont-misc...

removing package miktex-metapost-base-2.7...

removing package miktex-mft-base...

removing package miktex-mtx-bin...

removing package miktex-pdftex-base-2.9...

removing package miktex-pdftex-doc-2.6...

removing package miktex-pmx-bin...

removing package miktex-poppler-base...

removing package miktex-psutils-base...

removing package miktex-qt4-bin-2.9...

removing package miktex-tex-base...

removing package miktex-tex-misc...

removing package miktex-texinfo-base...

removing package miktex-texinfo-bin-2.9...

removing package miktex-texworks-doc-2.9...

removing package miktex-vc100-bin...

removing package miktex-xdvipdfmx-bin-2.9...

removing package miktex-xetex-base...

removing package pdftex-def...

removing package vertex...

mpm --register-components --verbose --admin:
configuring fontconfig\config\fonts.conf


registering C:\Program Files\MiKTeX 2.9\miktex/bin\MiKTeX209-core.dll


registering C:\Program Files\MiKTeX 2.9\miktex/bin\MiKTeX209-core-PS.dll


registering C:\Program Files\MiKTeX 2.9\miktex/bin\MiKTeX209-packagemanager.dll


registering C:\Program Files\MiKTeX 2.9\miktex/bin\MiKTeX209-packagemanager-PS.dll


log4cxx: No appender could be found for logger (mpmcli).


log4cxx: Please initialize the log4cxx system properly.


initexmf --update-fndb --verbose --admin:
Skipping user root directory (C:\Users\Matiking\AppData\Roaming\MiKTeX\2.9)...


Skipping user root directory (C:\Users\Matiking\AppData\Local\MiKTeX\2.9)...


Creating fndb for common root directory (C:\ProgramData\MiKTeX\2.9)...


Creating fndb for common root directory ("C:\Program Files\MiKTeX 2.9")...


initexmf --force --mklinks --verbose --admin:
Making format links...


Making script links...


  C:\Program Files\MiKTeX 2.9\miktex/bin\miktex-taskbar-icon.exe


  C:\Program Files\MiKTeX 2.9\miktex/bin\miktex-update.exe


initexmf --mkmaps --mklangs --verbose --admin:
Entering administrative mode...


Parsing config file "C:\Program Files\MiKTeX 2.9\miktex\config\updmap.cfg"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\tetex\dvips35.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\tetex\pdftex35.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\tetex\dvipdfm35.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\tetex\ps2pk35.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\amsfonts\cm.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\amsfonts\cmextra.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\amsfonts\cyrillic.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\amsfonts\euler.map"...


Parsing "C:\Program Files\MiKTeX 2.9\dvips\eurosym\eurosym.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\amsfonts\latxfont.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\rsfs\rsfs.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\sansmathaccent\sansmathaccent.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\amsfonts\symbols.map"...


Parsing "C:\Program Files\MiKTeX 2.9\dvips\tipa\tipa.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\xypic\xypic.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\psnfss\charter.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\psnfss\fpls.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\lm\lm.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\psnfss\pazo.map"...


Parsing "C:\Program Files\MiKTeX 2.9\dvips\pslatex\pcrr8rn.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\psnfss\psnfss.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\rsfso\rsfso.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\avantgar\uag.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\bookman\ubk.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\courier\ucr.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\helvetic\uhv.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\ncntrsbk\unc.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\palatino\upl.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\symbol\usy.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\times\utm.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\psnfss\utopia.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\zapfchan\uzc.map"...


Parsing "C:\Program Files\MiKTeX 2.9\fonts\map\dvips\zapfding\uzd.map"...


Writing C:\ProgramData\MiKTeX\2.9\dvips\config\ps2pk.map...


Writing C:\ProgramData\MiKTeX\2.9\dvips\config\download35.map...


Writing C:\ProgramData\MiKTeX\2.9\dvips\config\builtin35.map...


Writing C:\ProgramData\MiKTeX\2.9\dvips\config\psfonts_t1.map...


Writing C:\ProgramData\MiKTeX\2.9\dvips\config\psfonts_pk.map...


Writing C:\ProgramData\MiKTeX\2.9\pdftex\config\pdftex_ndl14.map...


Writing C:\ProgramData\MiKTeX\2.9\pdftex\config\pdftex_dl14.map...


Writing C:\ProgramData\MiKTeX\2.9\dvipdfm\config\dvipdfm_dl14.map...


Writing C:\ProgramData\MiKTeX\2.9\dvipdfm\config\dvipdfm_ndl14.map...


Copying C:\ProgramData\MiKTeX\2.9\dvips\config\psfonts_t1.map


     to C:\ProgramData\MiKTeX\2.9\dvips\config\psfonts.map...


Copying C:\ProgramData\MiKTeX\2.9\dvipdfm\config\dvipdfm_dl14.map


     to C:\ProgramData\MiKTeX\2.9\dvipdfm\config\dvipdfm.map...


Copying C:\ProgramData\MiKTeX\2.9\pdftex\config\pdftex_dl14.map


     to C:\ProgramData\MiKTeX\2.9\pdftex\config\pdftex.map...


C:/Windows/Fonts: skipping, existing cache is valid: 1129 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1: skipping, existing cache is valid: 0 fonts, 5 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/adobe: skipping, existing cache is valid: 0 fonts, 2 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/adobe/courier: skipping, existing cache is valid: 6 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/adobe/utopia: skipping, existing cache is valid: 4 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/groff: caching, new cache contents: 0 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/hoekwater: skipping, existing cache is valid: 0 fonts, 3 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/hoekwater/mflogo: caching, new cache contents: 0 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/hoekwater/misc: caching, new cache contents: 0 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/hoekwater/rsfs: caching, new cache contents: 0 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/public: skipping, existing cache is valid: 0 fonts, 7 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts: skipping, existing cache is valid: 0 fonts, 6 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm: skipping, existing cache is valid: 75 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cmextra: skipping, existing cache is valid: 15 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cyrillic: skipping, existing cache is valid: 5 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/euler: skipping, existing cache is valid: 22 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/latxfont: skipping, existing cache is valid: 14 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/symbols: skipping, existing cache is valid: 12 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/public/cbcoptic: skipping, existing cache is valid: 2 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/public/eurosym: skipping, existing cache is valid: 12 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/public/lm: skipping, existing cache is valid: 92 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/public/rsfs: skipping, existing cache is valid: 3 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/public/tipa: skipping, existing cache is valid: 68 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/public/xypic: skipping, existing cache is valid: 23 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/urw: skipping, existing cache is valid: 0 fonts, 10 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/urw/avantgar: skipping, existing cache is valid: 4 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/urw/bookman: skipping, existing cache is valid: 4 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/urw/courier: skipping, existing cache is valid: 4 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/urw/helvetic: skipping, existing cache is valid: 14 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/urw/ncntrsbk: skipping, existing cache is valid: 4 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/urw/palatino: skipping, existing cache is valid: 4 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/urw/symbol: skipping, existing cache is valid: 1 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/urw/times: skipping, existing cache is valid: 4 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/urw/zapfchan: skipping, existing cache is valid: 1 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/type1/urw/zapfding: skipping, existing cache is valid: 1 fonts, 0 dirs


C:/Program Files/MiKTeX 2.9/fonts/opentype: skipping, existing cache is valid: 0 fonts, 1 dirs


C:/Program Files/MiKTeX 2.9/fonts/opentype/public: skipping, existing cache is valid: 0 fonts, 1 dirs


C:/Program Files/MiKTeX 2.9/fonts/opentype/public/lm: skipping, existing cache is valid: 72 fonts, 0 dirs


C:/Users/Matiking/AppData/Local/MiKTeX/2.9/fontconfig/cache: cleaning cache directory


C:\Program Files\MiKTeX 2.9\miktex\bin\fc-cache.EXE: succeeded


Creating language.dat, language.dat.lua and language.def...

然后,我发现不仅LuaLaTeX仍然XeLaTeX不起作用,而且我的pdfLaTeX也被损坏了,编译器说:MiKTeX209-jpeg.dll is missing。根据答案这里,我确实从包管理器安装了所有内容\Miktex X.X executables (windows-x86),甚至同步了包。

然后,initexmf已经提出了两个包裹,我做了人们所断言的事情这里Update Formats。但是:

在此处输入图片描述

当我点击时Yes,什么也没有发生,只有一个空白的Transcript窗口。

然后(下次尝试编译后)错误变为:

在此处输入图片描述

因此,我尝试了以下答案这个问题,通过直接pdfLaTeX寻址Configure TeX Studio"C:/Program Files/MiKTeX 2.9/miktex/bin/pdflatex.exe" %.tex

现在我遇到了这个错误:Error: Command crashed: "C:/Program Files/MiKTeX 2.9/miktex/bin/pdflatex.exe" "root".tex

在此处输入图片描述

在命令中添加选项-synctex=1 -interaction=nonstopmode也会对错误产生影响。

我甚至尝试pdflatex sample2e从 Windows 命令提示符中执行以下操作:

在此处输入图片描述

更糟糕的是,当我将编辑器切换到时TeX Maker,出现了一个与之前不同的新错误TeX Studio!!!!:

在此处输入图片描述

我被困在这儿了……

有什么帮助吗?

答案1

我也遇到了同样的问题。

卸载并重新安装 miktek-pdftek... 软件包后,我使用终端中的以下命令(在管理员模式下)从 pdftex 手动复制了 pdflatex。

copy miktex-pdftex.exe pdflatex.exe

它为我解决了这个问题。

我在这里找到了这个解决方案,如果它可以帮助你: https://sourceforge.net/p/miktex/bugs/2499/

相关内容