linux系统安装sublime的问题
发布于 10 年前 作者 hc2014 12600 次浏览 最后一次编辑是 8 年前 来自 问答
nstallArchives() failed:  ...

 ...

 ...
 
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 197864 files and directories currently installed.)
Preparing to unpack .../sublime-text_2.0.2-1~webupd8~3_all.deb ...
Downloading...
--2014-10-29 14:50:10--  https://c758482.ssl.cf2.rackcdn.com/Sublime%20Text%202.0.2.tar.bz2
 c758482.ssl.cf2.rackcdn.com (c758482.ssl.cf2.rackcdn.com)... 
wget:  c758482.ssl.cf2.rackcdn.com
download failed
Download done.
Removing outdated cached downloads...
sha256sum mismatch Sublime Text 2.0.2.tar.bz2
Sublime Text is NOT installed.
dpkg: error processing archive /var/cache/apt/archives/sublime-text_2.0.2-1~webupd8~3_all.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/sublime-text_2.0.2-1~webupd8~3_all.deb
Error in function: 

顺带说一下:以上是在ubuntu 自带的软件中心中安装的,之前用 这几个命令安装过,但是也失败了 add-apt-repository ppa:webupd8team/sublime-text-2 apt-get update apt-get install sublime-text 我初入Linux系统,求大神帮忙解决

11 回复

直接去官网下啊。然后还有一个问题等着你,sublime不能输入中文。

@coolicer 你有什么比较好的工具推荐下?编写html 和js就行了

@hc2014 自带的gedit也行啊,或者Vim

都Linux了,用sublime干什么,用好Vim多省事儿

中文输入法也可以解决的,可以看看我整理的这个: Ubuntu安装Sublime Text 3以及中文输入支持

@coolicer 自带的不给力啊,比如缩进,看的就特别别扭

@hc2014 VIM吧。或者webstrom

可以看看我的vim配置, 偏前端方向:)

@ruanyl 我没得linux基础,看其他人的教程尝试过几次配置vim 都失败了,你这边的教程我也试过了…o(╯□╰)o,

@hc2014 报什么错误呢?如果可以的话,你可以把问题贴到github的issue,我们可以一起看看问题出在哪。

回到顶部