以下解决办法来自:stack overflowSublime Text 2 – There are no packages available for installation
So many Sublime Text 2 users get error (or) no action when they want to install any sublime text 2 package @via Package Control.
When I’m clicked on Package Control: Install Package from Ctrl+Shift+P.
I got this below error:
There are no packages available for installation
在 Mac 的解决方法是:
第一步:
获取 sublime.wbond.net 的 IPv4 地址;
在终端中运行该代码:dig @{DNS} -t A sublime.wbond.net +noall +answer
({DNS}替换成你的DNS)
输出结果类似这样:
; <<>> DiG 9.9.5-3-Ubuntu <<>> @8.8.8.8 -t A sublime.wbond.net +noall +answer
; (1 server found)
;; global options: +cmd
sublime.wbond.net. 82 IN A 50.116.34.243
IPv4 地址就是:50.116.34.243
第二步:
把该地址添加到 hosts 文件内;
打开 /etc/hosts 文件;
以 {IPv4 address} sublime.wbond.net
格式添加到 hosts 文件内({IPv4 address}替换成 IPv4 地址)
大功告成
在 Windows 下的解决方法类似:
Step 1:
Get IPv4 address of sublime.wbond.net
Try this command line on terminal ping sublime.wbond.net
Now you can get IPv4 address of sublime.wbond.net.
Step 2:
Now open hosts file from C:\Windows\system32\drivers\etc\ folder and add this line (replcae {IPv4 address})
{IPv4 address} sublime.wbond.net.
All is ok. Let’s play with Package controller.