Sublime Text 2 - No packages to install

So many Sublime Text 2 users get error (or) no action

it when they want to install any sublime text 2 package @via Package Control.

When I am clicked on Package Control: Install Package

from Ctrl+Shift+P

.

I got the following error message:

No packages to install

enter image description here

Note. Several times the error message is not displayed and no action is taken.

When I trace the error report from the console. I got this error below on console.

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

      

How to solve this problem?

+3


source to share


4 answers


This error occurs with an IPv6 issue. If your Internet Service Provider (ISP) does not support IPv6, you will receive this error.



How to solve this problem on Unix (OSX / Linux / Ubuntu / CentOS / etc ...):

Open terminal and run this command line below.

sudo echo "50.116.34.243 sublime.wbond.net" >> /etc/hosts

      




How to fix this problem on Windows:

Click the start button on the Windows desktop and search for cmd .
Now right click on the Command Prompt option and select Run as administrator .

Run this command line in CMD.

echo 50.116.34.243 sublime.wbond.net >> "C:\Windows\system32\drivers\etc\hosts"

      

+11


source


Don't hardcode the current ip of sublime.wbond.net. This will not fix the problem and will only break your machine connection to Package Control in the near future.

If you have problems with ipv6 please use the latest version https://github.com/wbond/package_control . This has a fix for curl and wget when they run into problems with computers that provide ipv6 over DNS, but cannot actually access sites through ipv6.



If you are still having problems with package management, follow the instructions at https://packagecontrol.io/docs/issues . Make sure to enable the debug log, otherwise I can't help it.

+6


source


Three stands for solving this problem on a Mac in China.

  • add "0.116.34.243 sublime.wbond.net" to / etc / host
  • open global Shadowsocks mode (required only in China)
  • restart Sublime
0


source


I had the same problem today and after a long search I found out that the packagecontrol.io site is not working!

0


source







All Articles