licess 发表于 2011-12-2 11:31:44

apt-get install -y build-essential 命令后返回FATAL -> Failed to fork. 错误

root@vpser:~/mysql-5.1.60# apt-get install -y build-essential gcc g++ make
Reading package lists... Done
Building dependency tree      
Reading state information... Done
make is already the newest version.
The following extra packages will be installed:
dpkg-dev fakeroot g++-4.4 gcc-4.4 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libc-dev-bin libc6-dev libdpkg-perl libstdc++6-4.4-dev libtimedate-perl linux-libc-dev manpages-dev patch
Suggested packages:
debian-keyring g++-multilib g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg gcc-multilib autoconf automake1.9 libtool
flex bison gdb gcc-doc gcc-4.4-multilib libmudflap0-4.4-dev gcc-4.4-locales libgcc1-dbg libgomp1-dbg libmudflap0-dbg
libcloog-ppl0 libppl-c2 libppl7 glibc-doc libstdc++6-4.4-doc diffutils-doc
The following NEW packages will be installed:
build-essential dpkg-dev fakeroot g++ g++-4.4 gcc gcc-4.4 libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libc-dev-bin libc6-dev libdpkg-perl libstdc++6-4.4-dev libtimedate-perl linux-libc-dev
manpages-dev patch
0 upgraded, 18 newly installed, 0 to remove and 29 not upgraded.
FATAL -> Failed to fork.
一般是内存不足,建议升级内存后再试试,也可以检查一下有没有不必要的程序占用了过多的内存。
页: [1]
查看完整版本: apt-get install -y build-essential 命令后返回FATAL -> Failed to fork. 错误