2017-03-06 75 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