I'm running a user mode Linux (Linux-3.19.8) for development testing. I'd like to be able to edit files inside the UML. I have some experience with Vim, so I'd prefer that. But unfortunately when I try installing Vim, this happens:
root@elk:/# apt-get install vim
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
libgpm2 vim-runtime
Suggested packages:
gpm ctags vim-doc vim-scripts
The following NEW packages will be installed:
libgpm2 vim vim-runtime
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
FATAL -> Failed to fork.
I'm logged in as root on the UML, and clearly something happens before it fails.
I tried installing other things, and apt -get remove works fine but apt -get install jed produces output similar to that for Vim:
root@elk:/mnt/tmp# apt-get install jed
Reading package lists...Done
Building dependency tree... Done
The following extra packages will be installed:
jed-common libgpm2 libonig2 libpcre3 libpng12-0 libslang2-modules slsh
Suggested packages:
gpm
The following NEW packages will be installed:
jed jed-common libgpm2 libonig2 libpcre3 libpng12-0 libslang2-modules slsh
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
FATAL -> Failed to fork.
So clearly there is a problem, that isn't specific to Vim.
What could be the cause? Is there anything I can do to get Vim?