E: Unable to locate package neovim

New to Debian (Or Linux in general)? Ask your questions here!

E: Unable to locate package neovim

Postby Tamim » 2017-03-20 23:33

Hello, I installed Debian 8.7.1 amd64 a few days ago. I know little about GNU/Linux. Please help me install packages with 'apt-get'.

I have changed my sources.list file to
Code: Select all
deb http://ftp.at.debian.org/debian jessie main
deb-src http://ftp.at.debian.org/debian jessie main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

For example to install Neovim, I ran
Code: Select all
sudo apt-get update
sudo apt-get install neovim

in the terminal, however I only get the error
Code: Select all
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package neovim


Where is the problem? The repository has the package: ftp://ftp.at.debian.org/debian/pool/main/n/neovim/. Do I have to install additional packages to be able to install all the packages from the '/main' folder of the server?
Tamim
 
Posts: 1
Joined: 2017-03-20 23:13

Re: E: Unable to locate package neovim

Postby sunrat » 2017-03-20 23:55

Looky here - https://packages.debian.org/search?keyw ... lla-search
No neovim package for Jessie.

You can check if it's available for you current system with
Code: Select all
apt-cache policy neovim

I guess what you're seeing in the repo of your posted link are the Stretch or Sid versions.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 1874
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: E: Unable to locate package neovim

Postby TonyT » 2017-03-21 00:02

Are you in Austria?
at.debian.org = Austria

deb http://ftp.at.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.at.debian.org/debian/ stable main contrib non-free

deb http://ftp.at.debian.org/debian/ stable/updates main contrib non-free
deb-src http://ftp.at.debian.org/debian/ stable/updates main contrib non-free

You could try a different mirror:
https://www.debian.org/mirror/list
TonyT
 
Posts: 439
Joined: 2006-09-04 11:57

Re: E: Unable to locate package neovim

Postby stevepusser » 2017-03-21 01:18

TonyT wrote:Are you in Austria?
at.debian.org = Austria

deb http://ftp.at.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.at.debian.org/debian/ stable main contrib non-free

deb http://ftp.at.debian.org/debian/ stable/updates main contrib non-free
deb-src http://ftp.at.debian.org/debian/ stable/updates main contrib non-free

You could try a different mirror:
https://www.debian.org/mirror/list


Since neovim is only in the testing and unstable repositories, you can switch mirrors forever, but it won't do jack squat.

The correct way to see if you can get it into Jessie is to try a backport...I'll look at it at it and see if it's possible.

Tamin, don't fall into the trap so many beginners do, and read this: https://wiki.debian.org/DontBreakDebian
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.3.0, Liquorix kernel 4.11-4, mpv 0.25.0, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8208
Joined: 2009-10-06 05:53

Re: E: Unable to locate package neovim

Postby GarryRicketson » 2017-03-21 01:26

====edited===
Steve posted while I was writing, so apology for repeating, also
I have included some additional links to documentation, for anyone
willing to take the time to read it.
===end edit===

Unread postby sunrat » 2017-03-20 17:55
Looky here - https://packages.debian.org/search?keyw ... lla-search
No neovim package for Jessie.


Based on this, it is not available for the current stable version
of Debian,...I looked at the link as well, and it says it is only
available for "Debian stretch" , testing and "SID".
Exact hits
Package neovim

stretch (testing) (editors): heavily refactored vim fork
0.1.7-3: amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x
sid (unstable) (editors): heavily refactored vim fork
0.1.7-3: alpha amd64 arm64 armel armhf hppa i386 kfreebsd-amd64 kfreebsd-i386 mips mips64el mipsel powerpc ppc64 ppc64el s390x sparc64
0.1.5-8 [debports]: x32


Changing ones sources to different mirrors, will not change the fact
that it is not available for Debian Jessie (stable) .
If the OP wanted to upgrade their system to Debian Stretch (testing)
it would be available,
That is a decision for the OP , if it is that important to have the package.
Since :
by Tamim » I know little about GNU/Linux. Please help me install packages with 'apt-get'.

It also would be a good idea to maybe read:
https://wiki.debian.org/DontBreakDebian
and also read some of the documentation on what Debian testing is, and who should or shouldn't use it, before deciding to upgrade or not.
===
On "please help me install packages with 'apt-get'"
I would suggest reading these to anybody "new" to Debian.

https://wiki.debian.org/DebianPackageManagement
Is a good place to start, there are many details.


Also :
https://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html

There is more using this search string:
How to install packages using apt-get on Debian
User avatar
GarryRicketson
 
Posts: 3859
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: E: Unable to locate package neovim

Postby stevepusser » 2017-03-21 01:33

Neovim is not a simple backport--it has several build-dependencies that are not in Jessie either, and would require their own possibly troubled backports.

I'm pooped from trying to get Audacity 2.1.3 packaged on a Jessie base, but I think I'm making progress. (Hint: backport libflac 1.3.2 from Stretch and revert the gcc-5 changes for that package first)
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.3.0, Liquorix kernel 4.11-4, mpv 0.25.0, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8208
Joined: 2009-10-06 05:53

Re: E: Unable to locate package neovim

Postby stevepusser » 2017-03-21 02:44

I found a PPA that's building a neovim for older Ubuntu versions with the current source snapshots, so I can try and port that version. No doubt that would cause a snag for an in-place Jessie to Stretch upgrade, so one would have to remember to remove neovim first if that's planned.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.3.0, Liquorix kernel 4.11-4, mpv 0.25.0, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8208
Joined: 2009-10-06 05:53

Re: E: Unable to locate package neovim

Postby stevepusser » 2017-03-21 18:54

I backported the Stretch lua-mpack and then rebuilt the unstable git pull of Neovim from the Neovim-unstable PPA in one of my existing repositories on the openSUSE Build Service. Note that this version won't upgrade smoothly in a Jessie-Stretch in-place upgrade, since it's newer that what's in Stretch. I think I can build from the 0.17 source instead in Stretch by doing some fiddling around in the debian folder in order to make the upgrade possible, though...anyway, my build will also launch with "neovim" in the terminal as well as with the standard "nvim", just to make things a little easier.

It's in my existing repo for backports of the Liquorix kernel, so it should just appear if you already have that enabled. Otherwise, the instructions to add the repo and its key follow, and they must both be run as root, not with sudo. Sudo users can become root with
"sudo -i" in the terminal.

https://software.opensuse.org//download ... age=neovim
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.3.0, Liquorix kernel 4.11-4, mpv 0.25.0, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8208
Joined: 2009-10-06 05:53

Re: E: Unable to locate package neovim

Postby millpond » 2017-03-23 08:27

https://neovim.io/
Possibly the simplest solution would be to compile it with ./configure --prefix=/opt

make install will dump it in /opt and keep it out of the system's way.
millpond
 
Posts: 582
Joined: 2014-06-25 04:56

Re: E: Unable to locate package neovim

Postby stevepusser » 2017-03-23 17:40

millpond wrote:https://neovim.io/
Possibly the simplest solution would be to compile it with ./configure --prefix=/opt

make install will dump it in /opt and keep it out of the system's way.


Have you tried that to make sure it works?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.3.0, Liquorix kernel 4.11-4, mpv 0.25.0, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8208
Joined: 2009-10-06 05:53


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable