Page MenuHomePhabricator

Install neovim on toolforge
Closed, ResolvedPublic

Description

Please install neovim on toolforge.

Neovim is a fork of vim, that not only adds new features but – for toolforge more important – sets the default settings to more appropriate, modern values. Sofar people had to create a .vimrc in every project they are working on to get a decent text editor. with neovim they can simply use nvim as drop-in replacement of vim and get a usable editor.

Event Timeline

Note: Neovim is available from the Debian stretch repos as package neovim.

Change 633583 had a related patch set uploaded (by MichaelSchoenitzer; owner: MichaelSchoenitzer):
[operations/puppet@production] Add neovim, fd and ripgrep to toolforge

https://gerrit.wikimedia.org/r/633583

Change 634113 had a related patch set uploaded (by MichaelSchoenitzer; owner: MichaelSchoenitzer):
[operations/puppet@production] Add neovim – a modern fork of vim – to toolforge

https://gerrit.wikimedia.org/r/634113

Change 634113 merged by Bstorm:
[operations/puppet@production] Add neovim – a modern fork of vim – to toolforge

https://gerrit.wikimedia.org/r/634113

The install went surprisingly badly, but I suspect it isn't *because* of this patch.

Setting up nscd (2.24-11+deb9u1) ...
Job for nscd.service failed because the control process exited with error code.
See "systemctl status nscd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nscd, action "start" failed.
* nscd.service - Name Service Cache Daemon
   Loaded: loaded (/lib/systemd/system/nscd.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Thu 2020-10-15 21:47:48 UTC; 8ms ago
  Process: 996 ExecStart=/usr/sbin/nscd (code=exited, status=1/FAILURE)

Oct 15 21:47:48 tools-sgebastion-08 systemd[1]: nscd.service: Control proc...URE
Oct 15 21:47:48 tools-sgebastion-08 systemd[1]: nscd.service: Failed with ...e'.
Oct 15 21:47:48 tools-sgebastion-08 systemd[1]: Failed to start Name Servi...on.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package nscd (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up neovim-runtime (0.1.7-4+deb9u1) ...
Setting up libtermkey1:amd64 (0.19-1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up libvterm0:amd64 (0~bzr684-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up libmsgpackc2:amd64 (1.4.2-4) ...
Setting up neovim (0.1.7-4+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Errors were encountered while processing:
 nscd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: /Stage[main]/Profile::Toolforge::Shell_environ/Package[neovim]: Could not evaluate: Puppet::Util::Log requires a message

Investigating a bit...

Bstorm claimed this task.

Well, that was bizarre. I fixed it, and it was definitely a totally unrelated failure :)