Description
When trying to download a new package, ex: Phpcs, I am getting following error:
ignored packages updated to: [Vintage, Phpcs]
found 1 files for base name Default.sublime-theme
theme loaded
reloading Packages/User/Preferences.sublime-settings
found 1 files for base name Default.sublime-theme
theme loaded
Package Control: Error downloading package. b'curl: (60) SSL certificate problem: certificate has expired\nMore details here: http://curl.haxx.se/docs/sslcerts.html\n\ncurl performs SSL certificate verification by default, using a "bundle"\n of Certificate Authority (CA) public keys (CA certs). If the default\n bundle file isn't adequate, you can specify an alternate file\n using the --cacert option.\nIf this HTTPS server uses a certificate signed by a CA represented in\n the bundle, the certificate verification probably failed due to a\n problem with the certificate (it might be expired, or the name might\n not match the domain name in the URL).\nIf you'd like to turn off curl's verification of the certificate, use\n the -k (or --insecure) option.' downloading https://codeload.github.com/benmatselby/sublime-phpcs/zip/master.
error: Package Control
Unable to download Phpcs. Please view the console for more details.
ignored packages updated to: [Vintage]
found 1 files for base name Default.sublime-theme
theme loaded
reloading Packages/User/Preferences.sublime-settings
found 1 files for base name Default.sublime-theme
theme loaded
Activity
masnick commentedon Aug 11, 2014
I am having the same problem. The relevant error from the console is as follows:
cschreib commentedon Aug 11, 2014
Same here. I have tried to remove the PackageControle.ca_bundle and .ca_list files to rebuild them (they were both last modified in april), but that did not change anything.
Debug log:
zoechi commentedon Aug 12, 2014
+1
Any idea, workaround, ...?
zoechi commentedon Aug 12, 2014
I deleted the
~/.config/sublime-text-3/Packages/Package Control
folder and the~/.config/sublime-text-3/Installed Packages/Package Control.sublime-package
file and reinstalled the package manager. Now it's working again.cschreib commentedon Aug 13, 2014
Doing so, don't you loose the packages that were installed using Package Control? Or are they still there, but Package Control does not "own" them any more (i.e. no automatic update)?
FichteFoll commentedon Aug 13, 2014
No, Packages are not removed when removing Package Control and PC also does not lose track of them. They are referenced in
User/Package Control.sublime-settings
.cschreib commentedon Aug 13, 2014
I confirm this solution does work.
srikanth-dhondi commentedon Aug 13, 2014
Zoechi's solution worked for me as well. Thanks.
wbond commentedon Aug 14, 2014
@cschreib You were running an ancient alpha version of Package Control, which is probably part of the issue.
If anyone else is running into this issue, please see what version of Package Control you are using. It should be
2.0.0
or2.0.1-beta2
.If you see
2.0.0-alpha7
you need to delete thePackages/Package Control/
folder on your machine and install Package Control fresh. There was a bug during the alpha that got some users stuck on alpha 7.tnguyen14 commentedon Aug 27, 2014
recently ran into this issue through a rather convoluted path. my theme is outdated, and I could not update it no matter what I was trying to do. I removed the theme, and could not re-install it and after looking at the console I saw the same error as @masnick. Following @wbond's instruction helped solve the issue.
masnick commentedon Aug 28, 2014
@wbond how do you tell what version of Package Control you're running? Thanks for your help! ❤️
FichteFoll commentedon Aug 28, 2014
Package Control: List Packages
, then filter Package Control.srph commentedon Sep 1, 2014
It solved my problem, however after an installation of a new package, I had to repeat the @zoechi's workaround
michaelbutler commentedon Sep 2, 2014
I'm running Ubuntu 14.04 LTS, almost fresh install of Sublime Text 3. Even doing workaround by @zoechi did not fix the problem for me.
To solve it, I installed curl with sudo apt-get install curl. Before that, it was using wget which did not work.
With curl it seems to work fine.
33 remaining items