[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt-get error 'can't allocate memory' (bash?)



I encountered this problem yesterday while trying to run "apt-get
upgrade" on my
i386 based system running "unstable".  I update frequently, and have not
had this
error before.  I've attached a script which shows my sources and the
error messages.
Can anyone shed some light on this for me?  Has anyone else experienced
this problem
recently?  More importantly, can anyone help me fix the problem if it's
on my end?

Thanks much,
    Russ

apt-get.script follows ---->
Script started on Sat Sep 10 11:57:58 2005
# apt-get update
0% [Working]Get:1 http://ftp.us.debian.org unstable Release.gpg [189B]
96% [Logging in] [1 Release.gpg 188/189B 99%] [Connecting to non-us.debian.org 97% [Logging in] [Connecting to non-us.debian.org (194.109.137.218)] [Connectin
Get:2 http://ftp.us.debian.org stable Release.gpg [197B]
98% [Logging in] [2 Release.gpg 196/197B 99%] [Waiting for headers] [Waiting fo
98% [Logging in] [Waiting for headers] [Waiting for headers]
Hit http://ftp.us.debian.org unstable Release
98% [Logging in] [Waiting for headers] [Waiting for headers]
98% [Release gpgv 34068] [Logging in] [Waiting for headers] [Waiting for header
Get:3 http://non-us.debian.org stable/non-US Release.gpg [197B]
99% [Release gpgv 34068] [Logging in] [Waiting for headers] [Waiting for header
Hit http://ftp.us.debian.org stable Release
99% [Release gpgv 34068] [Logging in] [Waiting for headers] [Waiting for header
Get:4 http://security.debian.org stable/updates Release.gpg [197B]
99% [Release gpgv 34068] [Logging in] [Waiting for headers]
Hit http://non-us.debian.org stable/non-US Release
99% [Release gpgv 34068] [Logging in] [Waiting for headers]
Hit http://security.debian.org stable/updates Release
99% [Release gpgv 34068] [Logging in]
99% [Query]
99% [Release gpgv 22834] [Query] [Waiting for headers]
99% [Query] [Waiting for headers]
Hit http://ftp.us.debian.org unstable/main Packages
99% [Query]
99% [Release gpgv 18454] [Query]
99% [Query] [Waiting for headers]
99% [Release gpgv 19992] [Query] [Waiting for headers] [Waiting for headers]
Hit http://ftp.us.debian.org unstable/non-free Packages
Hit http://ftp.us.debian.org unstable/contrib Packages
Ign http://ftp.us.debian.org stable/main Packages
99% [Release gpgv 19992] [Query] [Waiting for headers] [Waiting for headers]
Ign http://ftp.us.debian.org stable/non-free Packages
99% [Release gpgv 19992] [Query] [Waiting for headers] [Waiting for headers]
99% [Query] [Waiting for headers] [Waiting for headers]
Hit ftp://ftp.nerim.net unstable Release.gpg
99% [Waiting for headers] [Waiting for headers] [Waiting for headers]
Ign http://ftp.us.debian.org stable/contrib Packages
Ign http://ftp.us.debian.org stable/main Sources
Ign http://ftp.us.debian.org stable/non-free Sources
99% [Query] [Waiting for headers] [Waiting for headers]
Ign http://ftp.us.debian.org stable/contrib Sources
99% [Query] [Waiting for headers] [Waiting for headers] [Waiting for headers]
Hit http://ftp.us.debian.org stable/main Packages
99% [Query] [Waiting for headers] [Waiting for headers] [Waiting for headers]
Ign http://non-us.debian.org stable/non-US/main Packages
99% [Query] [Waiting for headers] [Waiting for headers]
Hit http://ftp.us.debian.org stable/non-free Packages
Hit http://ftp.us.debian.org stable/contrib Packages
Hit http://ftp.us.debian.org stable/main Sources
Hit http://ftp.us.debian.org stable/non-free Sources
99% [Query] [Waiting for headers] [Waiting for headers] [Waiting for headers]
Ign http://security.debian.org stable/updates/main Packages
99% [Query] [Waiting for headers] [Waiting for headers]
Hit http://ftp.us.debian.org stable/contrib Sources
99% [Query] [Waiting for headers] [Waiting for headers]
Ign http://non-us.debian.org stable/non-US/contrib Packages
99% [Query] [Waiting for headers] [Waiting for headers]
Ign http://non-us.debian.org stable/non-US/non-free Packages
99% [Query] [Waiting for headers] [Waiting for headers]
Hit ftp://ftp.nerim.net unstable Release
99% [Waiting for headers] [Waiting for headers]
99% [Release gpgv 2864] [Waiting for headers] [Waiting for headers]
Ign http://security.debian.org stable/updates/contrib Packages
Ign http://security.debian.org stable/updates/non-free Packages
99% [Release gpgv 2864] [Waiting for headers]
99% [Waiting for headers] [Waiting for headers]
Ign http://non-us.debian.org stable/non-US/main Sources
Ign http://non-us.debian.org stable/non-US/contrib Sources
Ign http://non-us.debian.org stable/non-US/non-free Sources
99% [Query] [Waiting for headers] [Waiting for headers]
Hit http://non-us.debian.org stable/non-US/main Packages
99% [Query] [Waiting for headers] [Waiting for headers]
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/contrib Packages
99% [Query] [Waiting for headers]
99% [Query] [Waiting for headers] [Waiting for headers]
Hit http://security.debian.org stable/updates/non-free Packages
99% [Query] [Waiting for headers]
99% [Waiting for headers]
Hit http://non-us.debian.org stable/non-US/non-free Packages
Hit ftp://ftp.nerim.net unstable/main Packages
Hit http://non-us.debian.org stable/non-US/main Sources
Hit http://non-us.debian.org stable/non-US/contrib Sources
Hit http://non-us.debian.org stable/non-US/non-free Sources
100% [Working]
Fetched 4B in 1s (2B/s)
Reading package lists... 0% Reading package lists... Done

p330:/home/russ# apt-get upgrade -y
Reading package lists... 0%Reading package lists... 100%Reading package lists... Done Building dependency tree... 0%Building dependency tree... 0%Building dependency tree... 50%Building dependency tree... 50% Building dependency tree... 69%Building dependency tree... 95%Building dependency tree... Done
The following packages have been kept back:
  akode arts flightgear gnome-doc-utils gnome-vlc gstreamer0.8-misc
  libarts1-audiofile libcupsys2-gnutls10 libtunepimp-bin libxres-dev
pinentry-qt plotutils pstoedit qca-tls qt3-dev-tools simgear0 timidity vlc
  wxvlc x-window-system-core
The following packages will be upgraded:
  adduser apache2-common apache2-doc apache2-mpm-worker apache2-utils apt
  apt-howto-common apt-howto-en apt-utils bash binutils bzip2 cpio
  dictionaries-common eject gconf2 gstreamer0.8-artsd libapr0 libbz2-1.0
libbz2-dev libgconf2-4 libggi-target-emu libggi-target-x libggi2 libgnokii2 libgsl0 libgstreamer-gconf0.8-0 libgstreamer-plugins0.8-0 libgstreamer0.8-0
  libhal-storage0 libhal0 libiw28 libnetpbm10 libnetpbm9 libnewt0.51
  libopenct1 libpcsclite1 libpq4 libqt3-compat-headers libqt3-headers
  libqt3-i18n librpm4 libslang2 libssl0.9.7 libxml2 netpbm openssl pciutils
  python-newt python2.3-libxml2 qt3-doc quanta-data r-cran-lattice rpm sed
  tcl8.4 tk8.4 whiptail xli xprint xprint-common
61 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
1 not fully installed or removed.
Need to get 0B/36.3MB of archives.
After unpacking 4247kB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 141689 files and directories currently installed.)
Preparing to replace bash 3.0-15 (using .../archives/bash_3.0-16_i386.deb) ... dpkg: error processing /var/cache/apt/archives/bash_3.0-16_i386.deb (--unpack):
 fork failed: Cannot allocate memory
dpkg: error while cleaning up:
 fork failed: Cannot allocate memory
dpkg: error while cleaning up:
 fork failed: Cannot allocate memory
Errors were encountered while processing:
 /var/cache/apt/archives/bash_3.0-16_i386.deb
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
p330:/home/russ# exit

Script done on Sat Sep 10 11:59:45 2005
---------------------->
end script



Reply to: