系统: Ubuntu16.04
打开控制台查看Ctrl + 反引号
Package Control: Fetching list of available packages and dependencies
Platform: linux-x64
Sublime Text Version: 3126
Package Control Version: 3.3.0
ignored packages updated to: ["10% Too Dull for My Tastes Color Scheme", "ActionScript", "AppleScript", "ASP", "Batch File", "C#", "C++", "Clojure", "ColorSchemeEditor", "D", "Diff", "Erlang", "FormatLua", "Go", "Graphviz", "Groovy", "Haskell", "HexViewer", "Java", "LaTeX", "LaTeX Equation Preview", "Lisp", "Lua", "Makefile", "Matlab", "Objective-C", "OCaml", "Package Bundler", "PackageDev-master", "Pandoc", "Pascal", "Perl", "PHP", "Python", "R", "Rails", "RestructuredText", "Ruby", "Rust", "Scala", "ShellScript", "SQL", "TCL", "TeXPreview", "Textile", "Vintage", "xml2json"]
reloading settings Packages/User/Package Control.sublime-settings
Package Control: Fetching list of available packages and dependencies
Platform: linux-x64
Sublime Text Version: 3126
Package Control Version: 3.3.0
reloading settings Packages/User/Preferences.sublime-settings
Package Control: Download Debug
URL: https://codeload.github.com/scotch-io/10-percent-too-dull-for-my-tastes/zip/1.0.0
Timeout: 30
Resolved IP: 54.251.140.56
Package Control: Urllib Debug Proxy
http_proxy:
https_proxy:
proxy_username:
proxy_password:
Package Control: Found system CA bundle at /usr/lib/ssl/certs/ca-certificates.crt (233394 bytes)
Package Control: Urllib HTTPS Debug General
Connecting to codeload.github.com on port 443
Package Control: Urllib HTTPS Debug General
Upgrading connection to SSL using CA certs file at /home/homary/.config/sublime-text-3/Packages/User/Package Control.merged-ca-bundle
Using hostname "codeload.github.com" for TLS SNI extension
Package Control: Error downloading package. HTTP exception InvalidCertificateException (Host codeload.github.com returned an invalid certificate ([SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:548))) downloading https://codeload.github.com/scotch-io/10-percent-too-dull-for-my-tastes/zip/1.0.0.
error: Package Control
由于
github
采用https
协议,sublime
使用urllib
就会报错
解决方法:
Preference
-> Package Setting
-> Package Control
-> User Setting
添加以下代码
"downloader_precedence":
{
"linux":
[
"curl",
"urllib",
"wget"
],
"osx":
[
"curl",
"wget"
],
"windows":
[
"wininet"
]
},
将curl
作为首选项