No vim:
[email protected]:/home/user# update-alternatives --config editor
There are 4 choices for the alternative editor (providing /usr/bin/editor).
Selection Path Priority Status
------------------------------------------------------------
* 0 /bin/nano 40 auto mode
1 /bin/nano 40 manual mode
2 /usr/bin/mcedit 25 manual mode
3 /usr/bin/vim.basic 30 manual mode
4 /usr/bin/vim.tiny 10 manual mode
Press enter to keep the current choice[*], or type selection number:
[email protected]:/home/user# apt-cache policy vim
vim:
Installed: 2:7.4.488-7
Candidate: 2:7.4.488-7
Version table:
*** 2:7.4.488-7 0
990 http://us.mirror.devuan.org/merged/ jessie/main i386 Packages
100 /var/lib/dpkg/status
Solution:
[email protected]:/home/user# update-alternatives --install /usr/bin/editor editor /usr/bin/vim 10
[email protected]:/home/user# update-alternatives --config editor
There are 5 choices for the alternative editor (providing /usr/bin/editor).
Selection Path Priority Status
------------------------------------------------------------
* 0 /bin/nano 40 auto mode
1 /bin/nano 40 manual mode
2 /usr/bin/mcedit 25 manual mode
3 /usr/bin/vim 10 manual mode
4 /usr/bin/vim.basic 30 manual mode
5 /usr/bin/vim.tiny 10 manual mode
Press enter to keep the current choice[*], or type selection number: 3
update-alternatives: using /usr/bin/vim to provide /usr/bin/editor (editor) in manual mode
[email protected]:/home/user#
---
I don't recall ever having experienced such.
But as the solution was given at stackoverflow, it seems to happen ...
vim sure was to be found at etc/update-alternatives.
No biggie, i guess.