sublimetext – Sublime Text 3 – 软件包控制:尝试通过安全渠
发布时间:2020-12-14 21:49:54 所属栏目:资源 来源:网络整理
导读:我在Ubuntu 14.04 LTS 64位上运行Sublime。我尝试使用简单的脚本和手动安装方法在Sublime Text 3上安装Package Installer。 每当我尝试运行安装包选项时,我会收到一条错误消息“没有可用的安装包” 控制台显示以下跟踪: Package Control: Error downloadin
我在Ubuntu 14.04 LTS 64位上运行Sublime。我尝试使用简单的脚本和手动安装方法在Sublime Text 3上安装Package Installer。
每当我尝试运行安装包选项时,我会收到一条错误消息“没有可用的安装包” 控制台显示以下跟踪: Package Control: Error downloading channel. b'curl: (77) error setting certificate verify locations:n CAfile: /usr/lib/ssl/certs/ca-certificates.crtn CApath: /etc/ssl/certs' downloading https://sublime.wbond.net/channel.json. error: Package Control There are no packages available for installation 如果我添加http://sublime.wbond.net/repositories.json作为通道,安装软件包开始显示软件包列表。但是,当我尝试安装一个软件包(例如Pretty JSON)时,我再次收到与安全证书相关的错误,并带有以下控制台跟踪: reloading Packages/User/Preferences.sublime-settings found 1 files for base name Default.sublime-theme Package Control: Error downloading package. b'curl: (77) error setting certificate verify locations:n CAfile: /usr/lib/ssl/certs/ca-certificates.crtn CApath: /etc/ssl/certs' downloading https://codeload.github.com/dzhibas/SublimePrettyJson/zip/master. error: Package Control Unable to download Pretty JSON. Please view the console for more details. theme loaded 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 欢迎任何建议使软件包控制与安全渠道一起工作。 用于包装控制的附加调试跟踪: 启用对软件包控制的调试我得到以下跟踪: Package Control: Fetching list of available packages Platform: linux-x64 Sublime Text Version: 3059 Package Control Version: 2.0.0 Package Control: Download Debug URL: https://sublime.wbond.net/channel.json Resolved IP: 50.116.34.243 Timeout: 30 Package Control: Found system CA bundle at /usr/lib/ssl/certs/ca-certificates.crt Package Control: Curl Debug Proxy http_proxy: https_proxy: proxy_username: proxy_password: Package Control: Trying to execute command /usr/bin/curl --user-agent 'Sublime Package Control v2.0.0' --connect-timeout 30 -sSL --compressed --dump-header /tmp/tmp_i20fq --cacert /usr/lib/ssl/certs/ca-certificates.crt -v https://sublime.wbond.net/channel.json Package Control: Curl HTTP Debug General Hostname was NOT found in DNS cache Trying 50.116.34.243... Connected to sublime.wbond.net (50.116.34.243) port 443 (#0) error setting certificate verify locations: CAfile: /usr/lib/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs Closing connection 0 CAfile: /usr/lib/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs Package Control: Error downloading channel. curl: (77) error setting certificate verify locations: downloading https://sublime.wbond.net/channel.json. ignored packages updated to: [Vintage,Pretty JSON] found 1 files for base name Default.sublime-theme Package Control: Fetching list of available packages Platform: linux-x64 Sublime Text Version: 3059 Package Control Version: 2.0.0 theme loaded Package Control: Download Debug URL: https://sublime.wbond.net/channel.json Resolved IP: 50.116.34.243 Timeout: 30 Package Control: Found system CA bundle at /usr/lib/ssl/certs/ca-certificates.crt Package Control: Curl Debug Proxy http_proxy: https_proxy: proxy_username: proxy_password: Package Control: Trying to execute command /usr/bin/curl --user-agent 'Sublime Package Control v2.0.0' --connect-timeout 30 -sSL --compressed --dump-header /tmp/tmpcg0ent --cacert /usr/lib/ssl/certs/ca-certificates.crt -v https://sublime.wbond.net/channel.json Package Control: Curl HTTP Debug General Hostname was NOT found in DNS cache Trying 50.116.34.243... Connected to sublime.wbond.net (50.116.34.243) port 443 (#0) error setting certificate verify locations: CAfile: /usr/lib/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs Closing connection 0 CAfile: /usr/lib/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs Package Control: Error downloading channel. curl: (77) error setting certificate verify locations: downloading https://sublime.wbond.net/channel.json. Package Control: Unable to find a sublime-package file for Pretty JSON Package Control: Unable to find file package-metadata.json in the package Pretty JSON Package Control: Download Debug URL: https://codeload.github.com/dzhibas/SublimePrettyJson/zip/master Resolved IP: 192.30.252.146 Timeout: 30 Package Control: Found system CA bundle at /usr/lib/ssl/certs/ca-certificates.crt Package Control: Curl Debug Proxy http_proxy: https_proxy: proxy_username: proxy_password: Package Control: Trying to execute command /usr/bin/curl --user-agent 'Sublime Package Control v2.0.0' --connect-timeout 30 -sSL --compressed --dump-header /tmp/tmpueshe5 --cacert /usr/lib/ssl/certs/ca-certificates.crt -v https://codeload.github.com/dzhibas/SublimePrettyJson/zip/master reloading Packages/User/Preferences.sublime-settings found 1 files for base name Default.sublime-theme Package Control: Curl HTTP Debug General Hostname was NOT found in DNS cache Trying 192.30.252.147... Connected to codeload.github.com (192.30.252.147) port 443 (#0) error setting certificate verify locations: CAfile: /usr/lib/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs Closing connection 0 CAfile: /usr/lib/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs Package Control: Error downloading package. curl: (77) error setting certificate verify locations: downloading https://codeload.github.com/dzhibas/SublimePrettyJson/zip/master. error: Package Control Unable to download Pretty JSON. Please view the console for more details. 解决方法
今天有同样的问题。重新安装程序包控件:
> Sublime Text 3中的已删除软件包控制文件夹>软件包文件夹 即… >单击首选项>浏览包…菜单 像魅力一样工作! (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |