ruby - compile error in Ubuntu 10 -
hey guys got vps run solusvm. i'm trying install ruby 1.9.2 in it.
i follow guide:
after run command
apt-get update apt-get -y install build-essential zlib1g zlib1g-dev libxml2 libxml2-dev libxslt-dev
i got error below
root@makserver:/usr/local/src/ruby-1.9.2-p0# apt-get -f install reading package lists... done building dependency tree... done correcting dependencies... done following packages installed: libc6 suggested packages: glibc-doc following packages upgraded: libc6 1 upgraded, 0 newly installed, 0 remove , 80 not upgraded. need 0b/4252kb of archives. after operation, 4096b disk space freed. want continue [y/n]? y debconf: apt-extracttemplates failed: bad file descriptor (reading database ... 21594 files , directories installed.) preparing replace libc6 2.11.1-0ubuntu7.2 (using .../libc6_2.11.1-0ubuntu7.8_amd64.deb) ... open2: fork failed: cannot allocate memory @ /usr/share/perl5/debconf/confmodule.pm line 59 dpkg: error processing /var/cache/apt/archives/libc6_2.11.1-0ubuntu7.8_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 12 errors encountered while processing: /var/cache/apt/archives/libc6_2.11.1-0ubuntu7.8_amd64.deb e: sub-process /usr/bin/dpkg returned error code (1)
anybody can tell me how can correct this. thanks
a couple things might not have enough ram or disk allocated:
fork failed: cannot allocate memory dpkg: error processing /var/cache/apt/archives/libc6_2.11.1-0ubuntu7.8_amd64.deb (--unpack):
i agree @zengr, belongs on superuser.com.
Comments
Post a Comment