Installed Debian Stretch (9.3). Installed Vim and removed Nano. Vim is selected as the default editor.
Every time I run crontab -e
, I get these warnings:
root@franklin:~# crontab -e
no crontab for root - using an empty one
/usr/bin/sensible-editor: 25: /usr/bin/sensible-editor: /bin/nano: not found
/usr/bin/sensible-editor: 28: /usr/bin/sensible-editor: nano: not found
/usr/bin/sensible-editor: 31: /usr/bin/sensible-editor: nano-tiny: not found
No modification made
I've tried reconfiguring the sensible-utils
package, but it gives no input (indicating success with whatever it's doing), but the warnings still appear.
root@franklin:~# dpkg-reconfigure sensible-utils
root@franklin:~#
Although these warnings don't prevent me from doing anything, I find them quite annoying. How can I get rid of them?
visudo
,git
(when prompting for a commit message to be edited),mutt
and other tools will use is justEDITOR
(for barebones/baseline scenarios), orVISUAL
(when curses is available). – Charles Duffy Dec 13 '17 at 17:12~/.selected-editor
per-user. – ilkkachu Dec 13 '17 at 20:05