安装 MiKTeX 时出现问题

安装 MiKTeX 时出现问题

我已成功下载 ProTeX 软件包并安装 TeXstudio。但是,安装 MiKTeX 一直失败。(我尝试从不同的地方下载了几次,以确保这不是由于文件错误造成的。)

文件报告是

Loading package database...
starting package maintenance...
installation directory: "C:\Program Files\MiKTeX 2.9_3"
package repository: C:\Users\roenholt\AppData\Local\Temp\mik8802
visiting repository C:\Users\roenholt\AppData\Local\Temp\mik8802...
repository type: local package repository
loading lightweight database...
lightweight database digest: 619596a31709591ed2c339e41c0fb1d7
going to install 9522 file(s) (159 package(s))
problem: C:\Program Files\MiKTeX 2.9_3\miktex/bin\MiKTeX209-core-PS.dll does not exist
problem: C:\Program Files\MiKTeX 2.9_3\miktex/bin\MiKTeX209-core.dll does not exist
problem: C:\Program Files\MiKTeX 2.9_3\miktex/bin\MiKTeX209-packagemanager-PS.dll does not exist
problem: C:\Program Files\MiKTeX 2.9_3\miktex/bin\MiKTeX209-packagemanager.dll does not exist
extracting files from ae.tar.lzma...
extracting files from amsfonts.tar.lzma...
extracting files from amslatex.tar.lzma...
extracting files from avantgar.cab...
extracting files from babel.tar.lzma...
extracting files from bidi.tar.lzma...
extracting files from bookman.cab...
extracting files from carlisle.tar.lzma...
extracting files from cbcoptic.tar.lzma...
extracting files from cm.tar.lzma...
extracting files from courier.tar.lzma...
extracting files from dehyph-exptl.tar.lzma...
extracting files from ec.tar.lzma...
extracting files from elhyphen.tar.lzma...
extracting files from enctex.tar.lzma...
extracting files from euenc.tar.lzma...
extracting files from eurosym.tar.lzma...
extracting files from float.cab...
extracting files from fontspec.tar.lzma...
extracting files from geometry.tar.lzma...
extracting files from graphics.tar.lzma...
extracting files from helvetic.cab...
extracting files from hoekwater.tar.lzma...
extracting files from hyperref.tar.lzma...
extracting files from hyph-utf8.tar.lzma...
extracting files from ifxetex.tar.lzma...
extracting files from jknappen.cab...
extracting files from latex-fonts.tar.lzma...
extracting files from latex2e-help-texinfo.tar.lzma...
extracting files from lm.tar.lzma...
extracting files from ltxbase.tar.lzma...
extracting files from ltxmisc.tar.lzma...
extracting files from lua-alt-getopt.tar.lzma...
extracting files from luainputenc.tar.lzma...
extracting files from lualibs.tar.lzma...
extracting files from luamplib.tar.lzma...
extracting files from luaotfload.tar.lzma...
extracting files from luatexbase.tar.lzma...
extracting files from luatextra.tar.lzma...
extracting files from mflogo.cab...
extracting files from miktex-arctrl-bin-2.9.tar.lzma...
extracting files from miktex-biber-bin.tar.lzma...
extracting files from miktex-bibtex-base.cab...
extracting files from miktex-bibtex-bin-2.9.tar.lzma...
extracting files from miktex-bibtex8bit-base.cab...
extracting files from miktex-bibtex8bit-bin-2.9.tar.lzma...
extracting files from miktex-bin-2.9.tar.lzma...

Error: Permission denied: C:\Program Files\MiKTeX 2.9_3\miktex/bin/internal/miktex-update.exe

论坛中有人知道如何解决这个问题吗?

答案1

经过几个小时的测试,我们发现问题根源很可能是......病毒扫描程序!我们的程序在任何情况下都不允许在 MikTeX 安装过程中创建可执行文件——甚至不允许在管理模式。关掉之后一切都顺利了。

A快速搜索找到了以下链接:1 2 3

也可以看看:在 TeX Live 安装期间是否需要禁用病毒扫描程序?如果需要,为什么?

答案2

可能是因为你在安装 MikTeX 时选择了“是”而不是“先询问我”。这可能会导致软件包的自动更新功能出现问题。

尝试使用“先询问我”而不是“是”进行安装。这可以解决问题。

我的错误代码是:Permission denied: C:\Miktex\source\latex\jknappen\jknappen-src.cab

相关内容