Skip to content
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

There are no packages available for installation #957

Closed
discern opened this issue Jun 10, 2015 · 21 comments
Closed

There are no packages available for installation #957

discern opened this issue Jun 10, 2015 · 21 comments
Labels

Comments

@discern
Copy link

discern commented Jun 10, 2015

“There are no packages available for installation” started happening recently. The certificate validates in the browser, and others within the local network are not having this issue. I've got (homebrew) GNU Wget 1.16.3 installed.

OS X 10.10.3.

Package Control: Fetching list of available packages
  Platform: osx-x64
  Sublime Text Version: 3083
  Package Control Version: 3.0.1
Package Control: Download Debug
  URL: https://packagecontrol.io/channel_v3.json
  Resolved IPv6: 2600:3c02::f03c:91ff:fedf:6883
  Resolved IP: 50.116.33.29
  Timeout: 30
Package Control: Urllib Debug Proxy
  http_proxy: 
  https_proxy: 
  proxy_username: 
  proxy_password: 
Package Control: Found previously exported CA bundle at /Users/user/Library/Application Support/Sublime Text 3/Packages/User/Package Control.system-ca-bundle
Package Control: Urllib HTTPS Debug General
  Connecting to packagecontrol.io on port 443
Package Control: Urllib HTTPS Debug General
  Connecting to packagecontrol.io on port 443
  CA certs file at /Users/user/Library/Application Support/Sublime Text 3/Packages/User/Package Control.merged-ca-bundle
Package Control: Error downloading channel. URL error unknown error (_ssl.c:2228) downloading https://packagecontrol.io/channel_v3.json.
error: Package Control

There are no packages available for installation

Thoughts?

@wbond
Copy link
Owner

wbond commented Jun 10, 2015

According to the Python source (https://hg.python.org/cpython/file/c3896275c0f6/Modules/_ssl.c#l2228) it would appear there is an issue loading the file /Users/user/Library/Application Support/Sublime Text 3/Packages/User/Package Control.merged-ca-bundle.

Can you paste the contents of that?

@wbond wbond added the bug label Jun 10, 2015
@discern
Copy link
Author

discern commented Jun 10, 2015 via email

@wbond
Copy link
Owner

wbond commented Jun 10, 2015

So the merged file combines any user CA certs with the ones from the system. What does /Users/user/Library/Application Support/Sublime Text 3/Packages/User/Package Control.system-ca-bundle have in it?

@wbond
Copy link
Owner

wbond commented Jun 10, 2015

You can delete the Package Control.system-ca-bundle and Package Control.merged-ca-bundle files and try installing a package again. This will regenerate the system one and then merge with your user ca bundle.

@discern
Copy link
Author

discern commented Jun 10, 2015 via email

@wbond
Copy link
Owner

wbond commented Jun 10, 2015

So it sounds like I need to add a check for that. Did you see any errors after deleting those files?

@discern
Copy link
Author

discern commented Jun 10, 2015

I do not see any further errors. Package Manager is successfully retrieving the packages. Thanks again, Will.

@discern discern closed this as completed Jun 10, 2015
@wbond
Copy link
Owner

wbond commented Jun 10, 2015

No problem!

@wbond
Copy link
Owner

wbond commented Jun 10, 2015

This should be prevented in the future by 120b433

@t-bltg
Copy link

t-bltg commented Jul 20, 2015

Hi,
Reinstalling ca-certificates did the trick for me (linux mint - virtualbox)

sudo apt-get install --reinstall ca-certificates

@n8finch
Copy link

n8finch commented Jan 2, 2016

Thanks Will, just deleted Package Control.system-ca-bundle and Package Control.merged-ca-bundle files and it's working again. Just wanted to say this still works. Cheers!

@sisihagen
Copy link

Hello,

i have same mistake. I has delete the files, restart sublime and same mistake. No Packages availible for Installation. I have try with sublime 2/3. Ever same. New install, delete config and so on. Its ever the same.

I use Gentoo 32 Bit.

Silvio

debug output in console
Package Control: Settings change detected, clearing cache
Package Control: Fetching list of available packages
Platform: linux-x32
Sublime Text Version: 2221
Package Control Version: 3.1.2
Package Control: Download Debug
URL: https://packagecontrol.io/channel_v3.json
Timeout: 30
Resolved IP: 50.116.33.29
Resolved IPv6: 2600:3c02::f03c:91ff:fedf:6883
Package Control: Urllib Debug Proxy
http_proxy:
https_proxy:
proxy_username:
proxy_password:
Package Control: Found system CA bundle at /etc/ssl/certs/ca-certificates.crt
Package Control: Urllib HTTPS Debug General
Connecting to packagecontrol.io on port 443
Traceback (most recent call last):
File "./package_control/thread_progress.py", line 27, in
File "./package_control/thread_progress.py", line 51, in run
AttributeError: 'NoneType' object has no attribute 'set_status'
Package Control: Urllib HTTPS Debug General
Upgrading connection to SSL using CA certs file at /home/siefke/.config/sublime-text-2/Packages/User/Package Control.merged-ca-bundle
Successfully upgraded connection to packagecontrol.io:443 with SSL Using TLSv1/SSLv3 with cipher ECDHE-RSA-AES128-SHA
Server SSL certificate:
subject: CN=codexns.io,O=Codex Non Sufficit LC,L=Newbury,S=Massachusetts,C=US,serialNumber=471714639,businessCategory=Private Organization,jurisdictionStateOrProvinceName=Massachusetts,jurisdictionCountryName=US
subject alt name: codexns.com, packagecontrol.io, wbond.net, rc.codexns.io, codexns.io, www.codexns.io
expire date: Nov 27 23:59:59 2016 GMT
Certificate validated for packagecontrol.io
Package Control: Urllib HTTPS Debug Write
GET /channel_v3.json HTTP/1.1
Host: packagecontrol.io
If-Modified-Since: Sun, 03 Jan 2016 00:10:01 GMT
Connection: Keep-Alive
Accept-Encoding: gzip,deflate
User-Agent: Package Control v3.1.2
Package Control: Urllib HTTPS Debug Read
HTTP/1.1 200 OK
Server: nginx
Date: Sun, 03 Jan 2016 00:20:51 GMT
Content-Type: application/json
Last-Modified: Sun, 03 Jan 2016 00:20:01 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
Strict-Transport-Security: max-age=15552000
Content-Encoding: gzip
Package Control: Caching https://packagecontrol.io/channel_v3.json in /home/siefke/.config/sublime-text-2/Packages/User/Package Control.cache/01524fae79697630d0454ba3fabd9414
Package Control: Urllib HTTPS Debug General
Closing connection to packagecontrol.io on port 443 after 1 request

@darko-komericki
Copy link

This gist helped me out https://gist.github.com/nick1m/0bb2e77f98666583a7f1

@sisihagen
Copy link

This gist work for me not, but i has installed the json file from archive.org to my server and now run again. Sure the mistake will be repair next week.

@ozai
Copy link

ozai commented Jan 3, 2016

I deleted the Package Control.system-ca-bundle and Package Control.merged-ca-bundle
but I'm still getting the same error. Package Manager is not retrieving the packages :S
It was working just fine only yesterday! I'm wondering what's the culprit?
Could it be the memory clean software I'm using? :s

UPDATE: Now it's working again! All by itself lol.
I don't get it. Probably a network issue with ST servers? :)
thanks anyway! happy new year.

@nonameolsson
Copy link

This solved it for me: #959 (comment)

@FichteFoll
Copy link
Collaborator

#1057

@linux-chaina
Copy link

linux-chaina commented Jul 11, 2016

You can delete the Package Control.system-ca-bundle and Package Control.merged-ca-bundle files and try installing a package again. This will regenerate the system one and then merge with your user ca bundle. @wbond I did it as what you suggested, but it still failed.
image

@atjiu
Copy link

atjiu commented Aug 13, 2016

@805056790 me too

@benjam-es
Copy link

Im having this issue currently. Is it a server issue?

@brelian
Copy link

brelian commented Dec 4, 2017

@neok-m4700 fixed, tks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests