【问题标题】:Unable to locate a specific package under Debian GNU / Linux 8.7在 Debian GNU / Linux 8.7 下无法找到特定的软件包
【发布时间】:2017-03-06 19:29:38
【问题描述】:

我想安装Neovim,但出现以下错误:

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

我的来源.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/Linux

Lsb_Release:

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

谁能帮帮我?

【问题讨论】:

    标签: linux list debian deb neovim


    【解决方案1】:

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

    【讨论】:

      【解决方案2】:

      Neovim 在测试 (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 更新

      然后

      apt-get -t jessie-backports 安装 neovim

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多