首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Debian GNU / Linux 8.7下找不到特定的包

在Debian GNU / Linux 8.7下找不到特定的包
EN

Stack Overflow用户
提问于 2017-03-07 03:29:38
回答 2查看 432关注 0票数 0

我想安装Neovim,但得到以下错误:

代码语言:javascript
复制
~ » sudo apt-get install neovim
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package neovim

我的sources.list:

代码语言:javascript
复制
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

未命名:

代码语言:javascript
复制
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:

代码语言:javascript
复制
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.7 (jessie)
Release:        8.7
Codename:       jessie

有谁可以帮我?

EN

回答 2

Stack Overflow用户

发布于 2017-03-07 05:05:51

它无法找到这个包,因为据我所知,Debian稳定版中没有neovim。在测试存储库中有一个。

票数 1
EN

Stack Overflow用户

发布于 2017-03-07 05:41:23

Neovim在测试(Stretch)中是可用的,因此应该可以通过使用Backports将其提供给稳定(Jessie)。

这里的总体思路是:https://backports.debian.org/

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

对于杰西,添加下面这一行

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

在您的sources.list中(或者向/etc/apt/Soures.list.d/添加一个扩展名为".list“的新文件),您还可以在https://www.debian.org/mirror/list中找到其他镜像的列表

运行apt-get update

然后

apt-get neovim-backports install -t

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42634011

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档