gpt4 book ai didi

sublimetext2 - Sublime Text 2 - 没有可供安装的软件包

转载 作者:行者123 更新时间:2023-12-01 07:06:53 25 4
gpt4 key购买 nike

如此多的 Sublime Text 2 用户获得 error (or) no action当他们想要安装任何 sublime text 2 package @via Package Control 时。

当我点击 Package Control: Install Package来自 Ctrl+Shift+P .

我收到以下错误:

没有可供安装的软件包

enter image description here

注:有时不显示错误消息,也不采取任何措施。

当我从控制台跟踪错误报告时。我在控制台上收到以下错误。

Package Control: Trying to execute command /usr/bin/curl --user-agent 'Sublime Package Control v2.0.0' --connect-timeout 30 -sSL --compressed --dump-header /tmp/tmpwQjJVT --header 'If-Modified-Since: Sun, 03 Aug 2014 12:10:13 GMT' --cacert /usr/lib/ssl/certs/ca-certificates.crt -v https://sublime.wbond.net/channel.json
Package Control: Curl HTTP Debug General
Hostname was NOT found in DNS cache
Trying 50.116.34.243...
Trying 2600:3c02:e000:42::1...
connect to 2600:3c02:e000:42::1 port 443 failed: Network is unreachable
Failed to connect to sublime.wbond.net port 443: Network is unreachable
Closing connection 0
Package Control: Error downloading channel. curl: (7) Failed to connect to sublime.wbond.net port 443: Network is unreachable downloading https://sublime.wbond.net/channel.json.
error: Package Control

There are no packages available for installation

如何解决这个问题呢?

最佳答案

This error is happened with IPv6 problem. If your Internet Service Provider (ISP) does not support for IPv6 you will get this error.



如何在 Unix (OSX/Linux/Ubuntu/CentOS/etc...) 上解决这个问题:

打开终端并在命令行下运行它。
sudo echo "50.116.34.243 sublime.wbond.net" >> /etc/hosts

如何在 Windows 上解决此问题:

Click on start button on your windows desktop and find cmd.
Now right click on Command Prompt option and select Run as administrator.



在 CMD 上运行下面的命令行。
echo 50.116.34.243 sublime.wbond.net >> "C:\Windows\system32\drivers\etc\hosts"

关于sublimetext2 - Sublime Text 2 - 没有可供安装的软件包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25105139/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com