安装sublime-text出错,ubuntu小白
发表于 : 2017-12-29 1:24
刚接触ubuntu,很多书都说vim编辑器很好,可是我还用不惯,想在展握vim之前拿sublime凑合着用,于是我就按网上的教程
wuzsh5@wuzsh5-X555UJ:~$ sudo add-apt-repository ppa:webupd8team/sublime-text-3
Sublime Text 3 Installer: the package in this PPA downloads and installs the latest Sublime Text 3 beta builds.
For more info, see: http://www.webupd8.org/2013/07/sublime- ... lable.html
更多信息: https://launchpad.net/~webupd8team/+arc ... ime-text-3
按回车继续或者 Ctrl+c 取消添加
gpg: 钥匙环‘/tmp/tmplyfdisg_/secring.gpg’已建立
gpg: 钥匙环‘/tmp/tmplyfdisg_/pubring.gpg’已建立
gpg: 下载密钥‘EEA14886’,从 hkp 服务器 keyserver.ubuntu.com
gpg: /tmp/tmplyfdisg_/trustdb.gpg:建立了信任度数据库
gpg: 密钥 EEA14886:公钥“Launchpad VLC”已导入
gpg: 没有找到任何绝对信任的密钥
gpg: 合计被处理的数量:1
gpg: 已导入:1 (RSA: 1)
OK
第一步貌似没有问题
wuzsh5@wuzsh5-X555UJ:~$ sudo apt-get update
命中:1 http://mirrors.aliyun.com/ubuntu xenial InRelease
命中:2 http://mirrors.aliyun.com/ubuntu xenial-security InRelease
命中:3 http://mirrors.aliyun.com/ubuntu xenial-updates InRelease
命中:4 http://mirrors.aliyun.com/ubuntu xenial-backports InRelease
命中:5 http://mirrors.aliyun.com/ubuntu xenial-proposed InRelease
命中:6 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial InRelease
命中:7 http://ppa.launchpad.net/diesch/testing/ubuntu xenial InRelease
命中:8 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease
获取:9 http://ppa.launchpad.net/webupd8team/su ... t-3/ubuntu xenial InRelease [17.6 kB]
获取:10 http://ppa.launchpad.net/webupd8team/su ... t-3/ubuntu xenial/main amd64 Packages [532 B]
获取:11 http://ppa.launchpad.net/webupd8team/su ... t-3/ubuntu xenial/main i386 Packages [532 B]
获取:12 http://ppa.launchpad.net/webupd8team/su ... t-3/ubuntu xenial/main Translation-en [276 B]
已下载 18.9 kB,耗时 10秒 (1,736 B/s)
正在读取软件包列表... 完成
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial InRelease' 不支持 'x86' 体系结构,跳过配置文件 'restricted/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial InRelease' 不支持 'x86' 体系结构,跳过配置文件 'universe/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial InRelease' 不支持 'x86' 体系结构,跳过配置文件 'multiverse/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-security InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-security InRelease' 不支持 'x86' 体系结构,跳过配置文件 'restricted/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-security InRelease' 不支持 'x86' 体系结构,跳过配置文件 'universe/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-security InRelease' 不支持 'x86' 体系结构,跳过配置文件 'multiverse/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-updates InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-updates InRelease' 不支持 'x86' 体系结构,跳过配置文件 'restricted/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-updates InRelease' 不支持 'x86' 体系结构,跳过配置文件 'universe/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-updates InRelease' 不支持 'x86' 体系结构,跳过配置文件 'multiverse/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-backports InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-backports InRelease' 不支持 'x86' 体系结构,跳过配置文件 'restricted/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-backports InRelease' 不支持 'x86' 体系结构,跳过配置文件 'universe/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-backports InRelease' 不支持 'x86' 体系结构,跳过配置文件 'multiverse/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-proposed InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-proposed InRelease' 不支持 'x86' 体系结构,跳过配置文件 'restricted/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-proposed InRelease' 不支持 'x86' 体系结构,跳过配置文件 'universe/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-proposed InRelease' 不支持 'x86' 体系结构,跳过配置文件 'multiverse/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://ppa.launchpad.net/atareao/atareao/ubuntu xenial InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://ppa.launchpad.net/diesch/testing/ubuntu xenial InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://ppa.launchpad.net/webupd8team/su ... t-3/ubuntu xenial InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
然后再更新软件源的时候,就出现了这个问题
但我依旧照着指令打
wuzsh5@wuzsh5-X555UJ:~$ sudo apt-get install sublime-text-installer
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列【新】软件包将被安装:
sublime-text-installer
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 222 个软件包未被升级。
需要下载 0 B/9,566 B 的归档。
解压缩后会消耗 26.6 kB 的额外空间。
正在预设定软件包 ...
(正在读取数据库 ... 系统当前共安装有 226449 个文件和目录。)
正准备解包 .../sublime-text-installer_3126-2~webupd8~1_all.deb ...
Downloading...
--2017-12-29 00:54:22-- https://download.sublimetext.com/sublim ... 64.tar.bz2
正在解析主机 download.sublimetext.com (download.sublimetext.com)... 104.236.0.104
正在连接 download.sublimetext.com (download.sublimetext.com)|104.236.0.104|:443... 已连接。
无法建立 SSL 连接。
download failed
Download done.
Removing outdated cached downloads...
sha256sum mismatch sublime_text_3_build_3126_x64.tar.bz2
Sublime Text is NOT installed.
dpkg: 处理归档 /var/cache/apt/archives/sublime-text-installer_3126-2~webupd8~1_all.deb (--unpack)时出错:
子进程 新的 pre-installation 脚本 返回错误状态 1
在处理时有错误发生:
/var/cache/apt/archives/sublime-text-installer_3126-2~webupd8~1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
出现了无法建立SSL链接的问题,在网上找了解决方法,都是说输入--no-check certificate什么的,但我这个不是wegt指令??
很方,被这个问题困惑了很久,希望能得到各位老手们的帮助!!!!!
wuzsh5@wuzsh5-X555UJ:~$ sudo add-apt-repository ppa:webupd8team/sublime-text-3
Sublime Text 3 Installer: the package in this PPA downloads and installs the latest Sublime Text 3 beta builds.
For more info, see: http://www.webupd8.org/2013/07/sublime- ... lable.html
更多信息: https://launchpad.net/~webupd8team/+arc ... ime-text-3
按回车继续或者 Ctrl+c 取消添加
gpg: 钥匙环‘/tmp/tmplyfdisg_/secring.gpg’已建立
gpg: 钥匙环‘/tmp/tmplyfdisg_/pubring.gpg’已建立
gpg: 下载密钥‘EEA14886’,从 hkp 服务器 keyserver.ubuntu.com
gpg: /tmp/tmplyfdisg_/trustdb.gpg:建立了信任度数据库
gpg: 密钥 EEA14886:公钥“Launchpad VLC”已导入
gpg: 没有找到任何绝对信任的密钥
gpg: 合计被处理的数量:1
gpg: 已导入:1 (RSA: 1)
OK
第一步貌似没有问题
wuzsh5@wuzsh5-X555UJ:~$ sudo apt-get update
命中:1 http://mirrors.aliyun.com/ubuntu xenial InRelease
命中:2 http://mirrors.aliyun.com/ubuntu xenial-security InRelease
命中:3 http://mirrors.aliyun.com/ubuntu xenial-updates InRelease
命中:4 http://mirrors.aliyun.com/ubuntu xenial-backports InRelease
命中:5 http://mirrors.aliyun.com/ubuntu xenial-proposed InRelease
命中:6 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial InRelease
命中:7 http://ppa.launchpad.net/diesch/testing/ubuntu xenial InRelease
命中:8 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease
获取:9 http://ppa.launchpad.net/webupd8team/su ... t-3/ubuntu xenial InRelease [17.6 kB]
获取:10 http://ppa.launchpad.net/webupd8team/su ... t-3/ubuntu xenial/main amd64 Packages [532 B]
获取:11 http://ppa.launchpad.net/webupd8team/su ... t-3/ubuntu xenial/main i386 Packages [532 B]
获取:12 http://ppa.launchpad.net/webupd8team/su ... t-3/ubuntu xenial/main Translation-en [276 B]
已下载 18.9 kB,耗时 10秒 (1,736 B/s)
正在读取软件包列表... 完成
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial InRelease' 不支持 'x86' 体系结构,跳过配置文件 'restricted/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial InRelease' 不支持 'x86' 体系结构,跳过配置文件 'universe/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial InRelease' 不支持 'x86' 体系结构,跳过配置文件 'multiverse/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-security InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-security InRelease' 不支持 'x86' 体系结构,跳过配置文件 'restricted/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-security InRelease' 不支持 'x86' 体系结构,跳过配置文件 'universe/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-security InRelease' 不支持 'x86' 体系结构,跳过配置文件 'multiverse/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-updates InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-updates InRelease' 不支持 'x86' 体系结构,跳过配置文件 'restricted/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-updates InRelease' 不支持 'x86' 体系结构,跳过配置文件 'universe/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-updates InRelease' 不支持 'x86' 体系结构,跳过配置文件 'multiverse/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-backports InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-backports InRelease' 不支持 'x86' 体系结构,跳过配置文件 'restricted/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-backports InRelease' 不支持 'x86' 体系结构,跳过配置文件 'universe/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-backports InRelease' 不支持 'x86' 体系结构,跳过配置文件 'multiverse/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-proposed InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-proposed InRelease' 不支持 'x86' 体系结构,跳过配置文件 'restricted/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-proposed InRelease' 不支持 'x86' 体系结构,跳过配置文件 'universe/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://mirrors.aliyun.com/ubuntu xenial-proposed InRelease' 不支持 'x86' 体系结构,跳过配置文件 'multiverse/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://ppa.launchpad.net/atareao/atareao/ubuntu xenial InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://ppa.launchpad.net/diesch/testing/ubuntu xenial InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
N: 鉴于仓库 'http://ppa.launchpad.net/webupd8team/su ... t-3/ubuntu xenial InRelease' 不支持 'x86' 体系结构,跳过配置文件 'main/binary-x86/Packages' 的捕获。
然后再更新软件源的时候,就出现了这个问题
但我依旧照着指令打
wuzsh5@wuzsh5-X555UJ:~$ sudo apt-get install sublime-text-installer
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列【新】软件包将被安装:
sublime-text-installer
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 222 个软件包未被升级。
需要下载 0 B/9,566 B 的归档。
解压缩后会消耗 26.6 kB 的额外空间。
正在预设定软件包 ...
(正在读取数据库 ... 系统当前共安装有 226449 个文件和目录。)
正准备解包 .../sublime-text-installer_3126-2~webupd8~1_all.deb ...
Downloading...
--2017-12-29 00:54:22-- https://download.sublimetext.com/sublim ... 64.tar.bz2
正在解析主机 download.sublimetext.com (download.sublimetext.com)... 104.236.0.104
正在连接 download.sublimetext.com (download.sublimetext.com)|104.236.0.104|:443... 已连接。
无法建立 SSL 连接。
download failed
Download done.
Removing outdated cached downloads...
sha256sum mismatch sublime_text_3_build_3126_x64.tar.bz2
Sublime Text is NOT installed.
dpkg: 处理归档 /var/cache/apt/archives/sublime-text-installer_3126-2~webupd8~1_all.deb (--unpack)时出错:
子进程 新的 pre-installation 脚本 返回错误状态 1
在处理时有错误发生:
/var/cache/apt/archives/sublime-text-installer_3126-2~webupd8~1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
出现了无法建立SSL链接的问题,在网上找了解决方法,都是说输入--no-check certificate什么的,但我这个不是wegt指令??
很方,被这个问题困惑了很久,希望能得到各位老手们的帮助!!!!!