无法在Debian GNU / Linux 8.7下找到特定的软件包

时间:2017-03-06 19:29:38

标签: linux list debian deb neovim

我想安装Neovim但是我收到以下错误:

~ » 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

任何人都可以帮助我吗?

2 个答案:

答案 0 :(得分:1)

好吧,它无法找到包,因为据我所知,Debian中没有neovim。测试库中有一个。

答案 1 :(得分:1)

Neovim可用于测试(拉伸),因此Stable(Jessie)可以使用Backports。

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

方法:https://backports.debian.org/Instructions/

为jessie添加此行

  

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

到您的sources.list(或添加一个新文件,其中包含" .list"扩展名为/etc/apt/sources.list.d/)您还可以在{{}找到其他镜像列表{3}}

运行apt-get update

然后

  

apt-get -t jessie-backports install neovim