2017-03-06 74 views
0

我想安装Neovim,但我得到了以下错误:无法在Debian GNU/Linux来找到特定软件包8.7

~ » sudo apt-get install neovim 
Reading package lists... Done 
Building dependency tree 
Reading state information... Done 
E: Unable to locate package neovim 

我的sources.list:

deb http://httpredir.debian.org/debian jessie main 
deb-src http://httpredir.debian.org/debian jessie main 
deb http://httpredir.debian.org/debian jessie-updates main 
deb-src http://httpredir.debian.org/debian jessie-updates main 
deb http://security.debian.org/ jessie/updates main 
deb-src http://security.debian.org/ jessie/updates main 
deb http://ftp.debian.org/debian jessie main non-free contrib 
deb-src http://ftp.debian.org/debian jessie main non-free contrib 
deb http://ftp.debian.org/debian jessie-updates main contrib non-free 
deb-src http://ftp.debian.org/debian jessie-updates main contrib non-free 

UNAME:

Linux myserver 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64 GNU/Linux 

Lsb_Release:

No LSB modules are available. 
Distributor ID: Debian 
Description: Debian GNU/Linux 8.7 (jessie) 
Release:  8.7 
Codename:  jessie 

任何人都可以帮助我吗?

回答

1

以及它无法找到包因为我知道Debian中没有neovim稳定。测试存储库中有一个。

1

Neovim在Testing(Stretch)中可用,所以它应该可以通过使用Backports提供给Stable(Jessie)。

一般这里的想法:https://backports.debian.org/

方法在这里:https://backports.debian.org/Instructions/

对于杰西此行

deb http://ftp.debian.org/debian jessie-backports main

添加到您的sources.list(或添加一个新的文件与 “.LIST”扩展到/etc/apt/sources.list.d/)您还可以在https://www.debian.org/mirror/list

找到其他镜像列表运行apt-get update

然后

apt-get -t jessie-backports install neovim