New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package Control: There are no packages available for installation #179

Closed
samzhao opened this Issue Aug 11, 2012 · 112 comments

Comments

Projects
None yet
@samzhao
Copy link

samzhao commented Aug 11, 2012

Hi, I just installed a new Windows 7 Ultimate SP1 64 bit, and I'm trying to install packages on Sublime Text 2. I get the following error when I tried to install packages (package control is installed without any errors):

Package Control: There are no packages available for installation

And this in the console:

Package Control: Error downloading channel. URL error _ssl.c:480: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed downloading https://sublime.wbond.net/repositories.json.
error: Package Control: There are no packages available for installation.

Is it a problem with the server, or is there something wrong with my installation?

Thanks

@wbond

This comment has been minimized.

Copy link
Owner

wbond commented Aug 16, 2012

It is a problem with a proxy on your network most likely.

@samzhao

This comment has been minimized.

Copy link
Author

samzhao commented Aug 16, 2012

But I don't use proxy

@wbond

This comment has been minimized.

Copy link
Owner

wbond commented Aug 16, 2012

Then I think something on your network or computer is messing with the connection. I just testing Windows 7 Pro SP1 64bit and had no problems, and everything worked fine.

@samzhao

This comment has been minimized.

Copy link
Author

samzhao commented Aug 16, 2012

I was using it on another Win 7 64 bit OS on the exact machine without any problem. I just think if there's something that's messed up when I was installing it, is there a way to completely uninstall package-control so that I can do a clean install? It's kinda painful without package-control now :p

@wbond

This comment has been minimized.

Copy link
Owner

wbond commented Aug 16, 2012

If you go to Preferences > Browse Packages… and delete the "Package Control" folder, that will remove it. There are also the preferences for Package Control, which are stored in Packages\User.

@samzhao

This comment has been minimized.

Copy link
Author

samzhao commented Aug 16, 2012

argh.... Now I can't seem to able to correctly install it. I do the normal installation where I copy that snippet and copy it into sublime, then restart when it says so. Package control doesn't appear in the Preferences any more and it's also not in the box thing where I go ctrl+shift+p. However, there is a folder package control if I browse the packages

EDIT: the Package Control folder in packages is actually empty, and this appears in the console:

package /C/Users/Sam/AppData/Roaming/Sublime Text 2/Installed Packages/Package Control.sublime-package is newer than the installed version (/C/Users/Sam/AppData/Roaming/Sublime Text 2/Pristine Packages/Package Control.sublime-package), running PackageSetup

@wbond

This comment has been minimized.

Copy link
Owner

wbond commented Aug 17, 2012

Check Preferences > Settings - User and make sure Package Control is not in the list of ignored packages.

@samzhao

This comment has been minimized.

Copy link
Author

samzhao commented Aug 17, 2012

I actually got it re-installed successfully, had to delete a few files from some other folders. Now the error is this in the console:

Package Control: Error submitting usage information. URL error _ssl.c:480: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed downloading https://sublime.wbond.net/submit?package_control_version=1.5.0&sublime_platform=windows&package=Package+Control&sublime_version=2217&version=1.5.0&operation=install.
Package Control: Error downloading channel. URL error _ssl.c:480: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed downloading https://sublime.wbond.net/repositories.json.
Package Control: Skipping automatic upgrade, last run at 2012-08-16 16:40:50, next run at 2012-08-16 17:40:50 or after
error: Package Control: There are no packages available for installation.
@novalex

This comment has been minimized.

Copy link

novalex commented Aug 17, 2012

I found a solution to your original problem, which I too was getting:

Select Package Control: Add Repository, and paste in: http://sublime.wbond.net/repositories.json.

Using plain http will not require a certificate, which seems to be the cause of the problem.

@wbond

This comment has been minimized.

Copy link
Owner

wbond commented Aug 17, 2012

@novalex This also causes you to be vulnerable to MITM attacks where users can run arbitrary python code on your machine via the automatic upgrade mechanism.

@samzhao

This comment has been minimized.

Copy link
Author

samzhao commented Aug 17, 2012

So is turning off SSL verification a better option?

@wbond

This comment has been minimized.

Copy link
Owner

wbond commented Aug 17, 2012

No, because verification is what prevents man-in-the-middle attacks from working.

Really, we need to figure out why a small number of machines don't verify the SSL cert, when the vast majority do.

@samzhao

This comment has been minimized.

Copy link
Author

samzhao commented Aug 17, 2012

github is to blame?

@novalex

This comment has been minimized.

Copy link

novalex commented Aug 17, 2012

For the record, I have 4 certificates in the certs folder, one of which is the one in the settings file.

I also disabled my antivirus' web protection and filtering, to no avail.

@wbond

This comment has been minimized.

Copy link
Owner

wbond commented Aug 17, 2012

Can you both try installing the testing version (instructions at #130 (comment)) and see if that helps? I am wondering if it is having trouble loading the ca-bundle file.

@samzhao

This comment has been minimized.

Copy link
Author

samzhao commented Aug 17, 2012

too bad.. same thing.

Package Control: Error submitting usage information. URL error _ssl.c:480: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed downloading https://sublime.wbond.net/submit?package_control_version=1.5.0.12&sublime_platform=windows&package=Package+Control&sublime_version=2217&version=1.5.0.12&operation=install.
Package Control: Error downloading channel. URL error _ssl.c:480: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed downloading https://sublime.wbond.net/repositories.json.
Package Control: Error downloading channel. URL error _ssl.c:480: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed downloading https://sublime.wbond.net/repositories.json.
Package Control: No updated packages
Package Control: Error downloading channel. URL error _ssl.c:480: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed downloading https://sublime.wbond.net/repositories.json.
error: Package Control: There are no packages available for installation.
@novalex

This comment has been minimized.

Copy link

novalex commented Aug 17, 2012

Same as @samzhao, except I don't get the first error about submitting usage information. Other than that, same exact errors.

@wbond

This comment has been minimized.

Copy link
Owner

wbond commented Aug 17, 2012

Ok, let's try a different angle.

What files are present in Packages\Package Control\certs? Can you paste the contents of the ca-bundle.crt file? (Use the three backticks for a fenced code block here in GitHub Flavored Markdown)

@samzhao

This comment has been minimized.

Copy link
Author

samzhao commented Aug 17, 2012

five files with no extension and their file names are random strings + one ca-bundle.crt file

@wbond

This comment has been minimized.

Copy link
Owner

wbond commented Aug 17, 2012

Could you list the actual filenames? I'd like to verify that I have the same environment. Can you also paste the contents of that ca-bundle.crt file?

@samzhao

This comment has been minimized.

Copy link
Author

samzhao commented Aug 17, 2012

Is there a better way for me to send it to you? The ca-bundle.crt file is 1000 lines long.

@wbond

This comment has been minimized.

Copy link
Owner

wbond commented Aug 17, 2012

Sure, you can email it to support@wbond.net.

@emilime

This comment has been minimized.

Copy link

emilime commented Aug 20, 2012

I have the same error on Windows 7 Pro 64bit. Have you find a solution?

@samzhao

This comment has been minimized.

Copy link
Author

samzhao commented Aug 20, 2012

@emilime, I realize this might have nothing to do with Package Control. It's either that Win7 64bit has some issues with SSL, or it's github. This is extremely annoying because Package Control is like the real meat of Sublime Text. Without it, writing code is such a hassle.

EDIT: and no, the problem still remain unsolved. I can't clone repos from command line or anything related to that because it will just fail the authentication. Also, I have a Ubuntu and Mac Mountain Lion installed in in VMWare and Virtualbox, and I can't do clone repos on those either. So it might be an indication that my network is corrupted. Albeit that, it can also be Win7's fault because it's the host and all those virtual machines are on NAT. Really hope someone can help us figure it out.

@novalex

This comment has been minimized.

Copy link

novalex commented Aug 22, 2012

@samzhao I agree, this is most likely because of the 64bit version of Win. I installed Package Control on a 32bit Win7 laptop, and it went without a hitch.

@samzhao

This comment has been minimized.

Copy link
Author

samzhao commented Aug 22, 2012

@novalex, for me, it happened only to an installation of Win7 64bit SP1. Another partition on the same computer had Win7 64bit without SP1, and package control worked in that.

@novalex

This comment has been minimized.

Copy link

novalex commented Aug 22, 2012

@samzhao I think we found the culprit. After all, Package Control had no problems before I formatted and installed the latest version of Win7. I had 64bit before that as well.

@wbond Any idea what security changes are made by SP1 that would cause these problems with SSL and certificates?

@darcyclarke

This comment has been minimized.

Copy link

darcyclarke commented Aug 28, 2012

Have the same issue, Mac OSX 10.7.4, looking for fixes now.

@samzhao

This comment has been minimized.

Copy link
Author

samzhao commented Sep 1, 2012

Guys, try this if you haven't

http://stackoverflow.com/questions/3777075/https-github-access/4454754#4454754

I tried it, but it didn't work for me. However, I still encourage you guys to try it, since the solution has worked for other people. I guess I'm just out of luck...

@ghost

This comment has been minimized.

Copy link

ghost commented Sep 10, 2012

Same issue for me, Windos 7 64bits.

@firhatsungkar

This comment has been minimized.

Copy link

firhatsungkar commented Aug 26, 2015

@nihilon Thanks you sooooo much! thats working for me.

@zyaba

This comment has been minimized.

Copy link

zyaba commented Oct 28, 2015

Had the same problem on my Mac.
https://packagecontrol.io/docs/troubleshooting#Purging_and_Reinstalling
^ This helped me

@tcoyle20

This comment has been minimized.

Copy link

tcoyle20 commented Nov 9, 2015

On OSX 10.10 I was able to solve the problem by adding the package's url to my proxies bypass list. In this case it was jQuery: https://codeload.github.com/*

On the mac Network > Advanced > Proxies > Bypass

@bobvanderlinden

This comment has been minimized.

Copy link

bobvanderlinden commented Jan 2, 2016

Same problem here. It seems packagecontrol.io is down: http://downforeveryoneorjustme.com/packagecontrol.io

@zbreit

This comment has been minimized.

Copy link

zbreit commented Jan 2, 2016

Looks up now.

@tpaksu

This comment has been minimized.

Copy link

tpaksu commented Jan 2, 2016

Still seems down.

@aarome-dev

This comment has been minimized.

Copy link

aarome-dev commented Jan 2, 2016

^ Ditto.

@ivancucer

This comment has been minimized.

Copy link

ivancucer commented Jan 2, 2016

Ah, yeah looks like the PC website is down...

@nonami

This comment has been minimized.

Copy link

nonami commented Jan 2, 2016

https://packagecontrol.io does not seem down when I access it from the browser but I can't install anything.
https://packagecontrol.io/channel_v3.json gives the following response:

{
  "dependencies_cache": {},
  "repositories": [],
  "packages_cache": {},
  "schema_version": "3.0.0"
}
@deanshelton913

This comment has been minimized.

Copy link

deanshelton913 commented Jan 2, 2016

This is exactly what i see. Clearing the cache in sublimetext manually does not resolve the issue either because, like you said @nonami, there is nothing in the JSON response at the actual endpoint

@wsarles

This comment has been minimized.

Copy link

wsarles commented Jan 2, 2016

I'm having the same issue. It seems that https://packagecontrol.io/channel_v3.json shoud return something meatier. Check out this archived version of the same file: https://web.archive.org/web/20150406110812/https://packagecontrol.io/channel_v3.json

@neverfox

This comment has been minimized.

Copy link

neverfox commented Jan 2, 2016

I just started having the same problem.

@deanshelton913

This comment has been minimized.

Copy link

deanshelton913 commented Jan 2, 2016

Something is wrong with package controls list of packages globally.
Searching for git returns nothing. lol. The site is up now atleast, but it seems evident that they have yet to resolve 100% of their data issues.
this is empty for me: https://packagecontrol.io/search/git

@harrynewsome

This comment has been minimized.

Copy link

harrynewsome commented Jan 3, 2016

This just started happening to me on my MacBook. Can confirm the website is back up though.

@tam5

This comment has been minimized.

Copy link

tam5 commented Jan 3, 2016

same problem

@Birowsky

This comment has been minimized.

Copy link

Birowsky commented Jan 3, 2016

site up, manager down

@camilodelvasto

This comment has been minimized.

Copy link

camilodelvasto commented Jan 3, 2016

...tried all the solutions listed here until I realized packagecontrol.io is down, so it seems not machine related (hopefully!)

@rezzafr33

This comment has been minimized.

Copy link

rezzafr33 commented Jan 3, 2016

we really need mirror for packagecontrol.io..

@harrynewsome

This comment has been minimized.

Copy link

harrynewsome commented Jan 3, 2016

related:

#1045 (comment)

@Whoaa512

This comment has been minimized.

Copy link

Whoaa512 commented Jan 3, 2016

Temp fix: #959 (comment)

@camilodelvasto

This comment has been minimized.

Copy link

camilodelvasto commented Jan 3, 2016

Thanks @Whoaa512 that did the trick for me!

@tapiwan

This comment has been minimized.

Copy link

tapiwan commented Jan 3, 2016

Worked for me too @Whoaa512

@royduin

This comment has been minimized.

Copy link

royduin commented Jan 3, 2016

Thanks @Whoaa512! I hope @wbond will fix this soon.

@msoedov

This comment has been minimized.

Copy link

msoedov commented Jan 3, 2016

Bump !

@FichteFoll

This comment has been minimized.

Copy link
Contributor

FichteFoll commented Jan 3, 2016

http://status.linode.com/

The rest will solve itself with time (crawler needs time to run).

@tobsn

This comment has been minimized.

Copy link

tobsn commented Jan 3, 2016

was working 5 min ago, installed a package - now same response as OP.

@nonameolsson

This comment has been minimized.

Copy link

nonameolsson commented Jan 4, 2016

Confirmed. Doesn't work for me. But this fix solved it #959 (comment)

@tobsn

This comment has been minimized.

Copy link

tobsn commented Jan 4, 2016

https://packagecontrol.io/channel_v3.json

just keep checking this - it seems to work just fine now - I guess it's a linode issue. maybe there should be a fallback built into package control.

@wbond maybe write to maxcdn (hey @eamonnscu), they probably happily help with mirroring the .json catalogues and package infos.

https://www.maxcdn.com/open-source/ - the whole page could be mirrored for free by them.

@wbond

This comment has been minimized.

Copy link
Owner

wbond commented Jan 4, 2016

@tobsn Please see #1057

Repository owner locked and limited conversation to collaborators Jan 4, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.