700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > 问题:There are no packages available for installation 问题的解决办法

问题:There are no packages available for installation 问题的解决办法

时间:2018-09-29 21:31:34

相关推荐

问题:There are no packages available for installation 问题的解决办法

以下解决办法来自: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 的解决方法是:

第一步:

获取 的 IPv4 地址;

在终端中运行该代码:dig @{DNS} -t A +noall +answer({DNS}替换成你的DNS)

输出结果类似这样:

; <<>> DiG 9.9.5-3-Ubuntu <<>> @8.8.8.8 -t A +noall +answer; (1 server found);; global options: +. 82 IN A 50.116.34.243

IPv4 地址就是:50.116.34.243

第二步:

把该地址添加到 hosts 文件内;

打开 /etc/hosts 文件;

{IPv4 address}格式添加到 hosts 文件内({IPv4 address}替换成 IPv4 地址)

大功告成

在 Windows 下的解决方法类似:

Step 1:

Get IPv4 address of

Try this command line on terminal ping

Now you can get IPv4 address of .

Step 2:

Now open hosts file from C:\Windows\system32\drivers\etc\ folder and add this line (replcae {IPv4 address})

{IPv4 address} .

All is ok. Let's play with Package controller.

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。