Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

E: Unable to locate package neovim

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
Tamim
Posts: 1
Joined: 2017-03-20 23:13

E: Unable to locate package neovim

#1 Post by Tamim »

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?

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: E: Unable to locate package neovim

#2 Post by sunrat »

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!

TonyT
Posts: 575
Joined: 2006-09-04 11:57

Re: E: Unable to locate package neovim

#3 Post by TonyT »

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

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: E: Unable to locate package neovim

#4 Post by stevepusser »

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
MX Linux packager and developer

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: E: Unable to locate package neovim

#5 Post by GarryRicketson »

====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/debi ... ls.en.html

There is more using this search string:
How to install packages using apt-get on Debian

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: E: Unable to locate package neovim

#6 Post by stevepusser »

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)
MX Linux packager and developer

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: E: Unable to locate package neovim

#7 Post by stevepusser »

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.
MX Linux packager and developer

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: E: Unable to locate package neovim

#8 Post by stevepusser »

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
MX Linux packager and developer

millpond
Posts: 698
Joined: 2014-06-25 04:56

Re: E: Unable to locate package neovim

#9 Post by millpond »

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.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: E: Unable to locate package neovim

#10 Post by stevepusser »

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?
MX Linux packager and developer

Post Reply