我正在尝试使用 MikTeX 从本地文件夹手动安装软件包。我有一个文件夹,里面有从加拿大运输安全局喜欢:
folder/
biblatex.zip
pgfplots.tar.lzma
acronym.tar.lzma
...
我使用命令行安装包,例如:
mpm --install acronym
它适用于大多数软件包但不适用于biblatex
和pgfplots
,日志文件告诉我:
2016-02-03 08:29:07,206+0100 INFO mpmcli - starting: mpmcli 2.9.5700 (MiKTeX 2.9)
2016-02-03 08:29:07,206+0100 INFO mpmcli - starting package maintenance...
2016-02-03 08:29:07,206+0100 INFO mpmcli - installation directory: "****\MiKTeX 2.9"
2016-02-03 08:29:07,206+0100 INFO mpmcli - package repository: "****\packages"
2016-02-03 08:29:07,424+0100 INFO mpmcli - lightweight database digest: b23bd77b3f11400395e77f07730e1abf
2016-02-03 08:29:07,424+0100 INFO mpmcli - going to install 112 file(s) (1 package(s))
2016-02-03 08:29:07,471+0100 INFO mpmcli - visiting repository "****\packages"...
2016-02-03 08:29:07,471+0100 INFO mpmcli - repository type: local package repository
2016-02-03 08:29:07,471+0100 INFO mpmcli - loading lightweight database...
2016-02-03 08:29:07,674+0100 INFO mpmcli - lightweight database digest: b23bd77b3f11400395e77f07730e1abf
2016-02-03 08:29:07,736+0100 FATAL mpmcli - The operation could not be completed because the following file failed verification: ****\packages\pgfplots.tar.lzma
2016-02-03 08:29:07,736+0100 FATAL mpmcli - Info:
2016-02-03 08:29:07,736+0100 FATAL mpmcli - Source: Libraries\MiKTeX\PackageManager\PackageInstaller.cpp
2016-02-03 08:29:07,736+0100 FATAL mpmcli - Line: 3291
我发现一些帖子有同样的错误,但这些都对我没有帮助:
- 每次尝试更新 MiKTeX 时,临时文件验证均失败
- https://tex.stackexchange.com/questions/256258/need-help-for-failed-verification-error-when-install-miktex-2-9-through-net-in?bcsi-ac-95bb4efa6a1646c8=24CAB8E000000303WtjD040us9/v3aM/r4dSi+O/X2MNEQAAAwMAACVhSgEIBwAAAAAAACNYRgA=
我检查了安装该包时没有运行 MikTeX 可执行文件(latex
,, ...)。pdflatex
为什么有些软件包可以工作,而有些却不可以?