我正在运行用户模式 Linux (Linux-3.19.8) 进行开发测试。我希望能够编辑 UML 内的文件。我有一些使用 Vim 的经验,所以我更喜欢它。但不幸的是,当我尝试安装 Vim 时,发生了这种情况:
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.
我以 root 身份登录 UML,显然在失败之前发生了一些事情。
我尝试安装其他东西,apt -get remove
工作正常,但apt -get install jed
产生与 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.
很明显,存在一个问题,该问题并非 Vim 特有的。
可能是什么原因?我可以做些什么来获得 Vim 吗?