mpm手动安装,文件验证失败

mpm手动安装,文件验证失败

我正在尝试使用 MikTeX 从本地文件夹手动安装软件包。我有一个文件夹,里面有从加拿大运输安全局喜欢:

folder/
  biblatex.zip
  pgfplots.tar.lzma
  acronym.tar.lzma
  ...

我使用命令行安装包,例如:

mpm --install acronym

它适用于大多数软件包但不适用于biblatexpgfplots,日志文件告诉我:

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 可执行文件(latex,, ...)。pdflatex

为什么有些软件包可以工作,而有些却不可以?

相关内容