You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sudo apt update
sudo apt install make gcc ripgrep unzip git
echo"deb https://deb.debian.org/debian unstable main"| sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt install -t unstable neovim
The problem is this line,
echo "deb https://deb.debian.org/debian unstable main" | sudo tee -a /etc/apt/sources.list
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 rerun apt-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.