MiKTeX 错误:无法安装 koma-script 包“已传输部分文件”

MiKTeX 错误:无法安装 koma-script 包“已传输部分文件”

我正在尝试koma-script使用 MiKTeX 控制台安装包,但在安装过程中出现错误。为什么会发生这种情况?我附上了屏幕截图,并将错误信息复制到下面。

错误

GENERAL MIKTEX INFORMATION Date: 2020-07-27 15:17:11 MiKTeX: 2.9.6960
OS: Windows 10 Pro, 64-bit, build 18362 SharedSetup: no PathOkay: yes
LastUpdateCheck: 2019-02-01 16:19:09 LastUpdate: 2019-02-01 16:34:21
SystemAdmin: yes RootPrivileges: no AdminMode: no Root0:
C:\Users\eldon\AppData\Roaming\MiKTeX\2.9 Root1:
C:\Users\eldon\AppData\Local\MiKTeX\2.9 Root2:
C:\Users\eldon\AppData\Local\Programs\MiKTeX 2.9 Root3:
C:\ProgramData\MiKTeX\2.9 Root4: C:\Program Files\MiKTeX 2.9
UserInstall: C:\Users\eldon\AppData\Local\Programs\MiKTeX 2.9
UserConfig: C:\Users\eldon\AppData\Roaming\MiKTeX\2.9 UserData:
C:\Users\eldon\AppData\Local\MiKTeX\2.9 CommonInstall: C:\Program
Files\MiKTeX 2.9 CommonConfig: C:\ProgramData\MiKTeX\2.9 CommonData:
C:\ProgramData\MiKTeX\2.9 Invokers: non-existing/explorer

Warning: the following problems were detected:   1: it has been a long
time since updates were checked   2: installation is not up-to-date

ERROR DETAILS Program: C:\Users\eldon\AppData\Local\Programs\MiKTeX
2.9\miktex\bin\x64\miktex-console.exe Source: Libraries\MiKTeX\PackageManager\CurlWebSession.cpp:264 Error:
Transferred a partial file Details:    code: 18   url:
https://mirror.yongbok.net/ctan/systems/win32/miktex/tm/packages/koma-script.tar.lzma

答案1

看起来存储库出了点问题

我通过在更新时包含代理并将源存储库更改为 japan HTTP 解决了该问题。您可以找到免费代理这里

更改代理

相关内容