-
Notifications
You must be signed in to change notification settings - Fork 17.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debian install procedure has you changing the entire distribution to unstable to install Neovim #859
Comments
This edit was done last month by @dam9000 a222805 A better way for the Linux's is probably just to use upstream neovim's prebundled binary if that works for you, https://github.com/neovim/neovim/blob/master/INSTALL.md#pre-built-archives-2 |
@EvanCarroll I see what you mean. As an interim step, would you or anyone commenting here please consider updating the verbiage in the install instructions to warn appropriately? A problem I see is that in order to update Debian to the point where you can build Neovim, you kind of have to go unstable. Perhaps simply stating that up front and offering the pre-built binary as an alternative is the way to go here? I'll leave it to the Debian folks to craft an appropriate and best practice conformant set of install instructions. |
I don't believe this is true. I don't know why specifically you couldn't build Neovim 0.9 on Debian stable (bookworm).
I would use either the binaries from neovim, or flatpak. Or we could beg the Debian neovim/vim maintainer to onboard me, and I'll personally start rolling out backports for stable. But I don't think he'd be down. Can we just yank the Debian instructions pending the discussion. I think changing the distribution is a bit too sledgehammery to be useful. I can't see that making anyone happy. |
No one is asking you to take over Maintainersship of a package. All I'm suggesting is that since you were kind enough to point out problems with our documentation as it currently stands and since most of us do not run Debian, perhaps you would consider crafting alternative text that does not violate best practices. |
Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
@EvanCarroll I'm sorry about the confusion I caused with this. I'm not a regular debian user so I was going from various guides on the net and was under impression that the unstable repo will be used only if the |
@dam9000 Please don't apologize. You've been working super hard here and trying to support everyone on myriad platforms, whether or not you use them regularly yourself. Great that we've got folks who "live" there actually helping us craft something better! |
Attempted fix for #859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
* upstream/master: (46 commits) Automatically set detached state as needed. (nvim-lua#925) fix: debug.lua (nvim-lua#918) Add diff to treesitter's ensure_installed languages (nvim-lua#908) Move LspDetach handler near kickstart-lsp-highlight group (nvim-lua#900) README: add clipboard tool dependency (nvim-lua#886) Update README.md (nvim-lua#875) fix: highlight group clear on each attach (nvim-lua#874) Fix highlight errors when lsp crash or stop (nvim-lua#864) Fix deprecation notice of inlay hints (nvim-lua#873) Add a commented out example of the classic complete keymaps. Fixes nvim-lua#866 (nvim-lua#868) Minor improvements of debian install instructions. Fixes nvim-lua#859 (nvim-lua#869) Update README.md (nvim-lua#860) fix: restore Mason config timing for DAP startup (again) (nvim-lua#865) Add gitsigns recommended keymaps as an optional plugin (nvim-lua#858) Move plugin examples from README to optional plugin files (nvim-lua#831) Enable inlay hints for the supporting servers (nvim-lua#843) Fix: nvim-lua#847 - add prefer_git to treesitter config (nvim-lua#856) Comment about nerd font selection. Fixes nvim-lua#853 (nvim-lua#854) Arch, btw (nvim-lua#852) Update README (nvim-lua#832) Add a pull request template (nvim-lua#825) README: move backup and paths from external deps to install section (nvim-lua#819) Don't lazy load conform plugin (nvim-lua#818) Add a keymap space-f to format buffer using conform (nvim-lua#817) Add instructions to quit :lazy. Fixes nvim-lua#761 fix nvim-lua#799 (nvim-lua#800) README: wrap long lines (nvim-lua#784) Update README.md (nvim-lua#781) Add nvim-nio as dependency for nvim-dap-ui (nvim-lua#774) Some suggestions and capitalised a few words (nvim-lua#771) ... > **NOTE**
Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
Currently the documentation for Debian instructs you to do this,
The problem is this line,
That effectively moves you to the unstable version of debian. If you run
apt-get dist-upgrade
and download all of your packages, and then you run the above code and you rerunapt-get dist-upgrade
you will be on the unstable version of Debian.This is probably not what you want.
The problem that you're trying to solve is that Debian stable (right now "bookworm") ships Neovim 0.7.2. Unfortunately, there is no newer version of Neovim in the repository, nor in the backports repository (because of a shortage of manpower). However, upgrading your entire distribution to unstable is a very poor suggestion that can cause all kinds of problems and pain, including total failure.
At the very least, the user should be informed
The text was updated successfully, but these errors were encountered: