我尝试在 win 7 上更新 miktex2.9,但每次尝试安装新包时,MiKTeX 包管理器都会显示“无法解析主机名”。我可以寻求您的建议,了解如何克服这个问题吗?提前谢谢您。
这是我尝试安装新包时的日志错误:
MiKTeX Problem Report
Message: Couldn't resolve host name
Data:
Source: Libraries\MiKTeX\PackageManager\CurlWebSession.cpp
Line: 329
MiKTeX: 2.9
OS: Windows 7 Ultimate, 64-bit, Service Pack 1, build 7601
Invokers: explorer
SystemAdmin: yes
PowerUser: no
Root0: C:\Users\sanae\AppData\Roaming\MiKTeX\2.9
Root1: C:\Users\sanae\AppData\Local\MiKTeX\2.9
Root2: C:\ProgramData\MiKTeX\2.9
Root3: C:\Program Files\MiKTeX 2.9
UserInstall: C:\Users\sanae\AppData\Roaming\MiKTeX\2.9
UserConfig: C:\Users\sanae\AppData\Roaming\MiKTeX\2.9
UserData: C:\Users\sanae\AppData\Local\MiKTeX\2.9
CommonInstall: C:\Program Files\MiKTeX 2.9
CommonConfig: C:\ProgramData\MiKTeX\2.9
CommonData: C:\ProgramData\MiKTeX\2.9
这是我尝试更新向导时的日志错误:
MiKTeX Problem Report
Message: MiKTeX encountered an internal error.
Data:
Source: Programs\MiKTeX\PackageManager\MFC\MpmView.cpp
Line: 918
MiKTeX: 2.9
OS: Windows 7 Ultimate, 64-bit, Service Pack 1, build 7601
Invokers: explorer
SystemAdmin: yes
PowerUser: no
Root0: C:\Users\sanae\AppData\Roaming\MiKTeX\2.9
Root1: C:\Users\sanae\AppData\Local\MiKTeX\2.9
Root2: C:\ProgramData\MiKTeX\2.9
Root3: C:\Program Files\MiKTeX 2.9
UserInstall: C:\Users\sanae\AppData\Roaming\MiKTeX\2.9
UserConfig: C:\Users\sanae\AppData\Roaming\MiKTeX\2.9
UserData: C:\Users\sanae\AppData\Local\MiKTeX\2.9
CommonInstall: C:\Program Files\MiKTeX 2.9
CommonConfig: C:\ProgramData\MiKTeX\2.9
CommonData: C:\ProgramData\MiKTeX\2.9
任何想法如何解决这一问题 ?
答案1
打开 MikTex 包管理器并检查存储库配置。
如果您想要从互联网安装并且位于代理防火墙后面,则需要设置代理服务器信息。选择所需的镜像来下载软件包。如果镜像站点在您尝试使用时不可用,您可能会收到错误,并且需要更改存储库位置。
答案2
如果您选择从互联网安装软件包,则必须在连接中提供代理设置。设置代理后,您需要提供代理身份验证。