问题
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
解决方案
This error is happened with IPv6 problem. If your Internet Service Provider (ISP) does not support for IPv6 you got this error.
If you have IPv6 problem curl prints this type of error.
curl: (7) Failed to connect to bla bla bla...
How to solve this on 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.
How to solve this on Unix (Linux/OSX):
Step 1:
Get IPv4 address of sublime.wbond.net
Try this command line on terminal dig @8.8.8.8 -t A sublime.wbond.net +noall +answer
The output look like this:
; <<>> 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
The IPv4 address is 50.116.34.243.
Step 2:
Root sublime.wbond.net to IPv4 address by hosts file.
Open /etc/hosts file with sudo nano /etc/hosts and add this line (replcae {IPv4 address})
{IPv4 address} sublime.wbond.net.
All is ok. Let's play with Package controller.
参考
http://stackoverflow.com/questions/25105139/sublime-text-2-there-are-no-packages-available-for-installation