我想安装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未命名:
Linux myserver 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64 GNU/LinuxLsb_Release:
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.7 (jessie)
Release: 8.7
Codename: jessie有谁可以帮我?
发布于 2017-03-07 05:05:51
它无法找到这个包,因为据我所知,Debian稳定版中没有neovim。在测试存储库中有一个。
发布于 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
https://stackoverflow.com/questions/42634011
复制相似问题