On Thursday 26 May 2005 14:55, Sumeet Madhukar Moghe wrote:
  > Hi,
  > I run Debian on my notebook. I am facing a peculiar problem. I cant
  > apt-get anymore. Anytime I try something with apt-get, it tells me
  >
  > Reading package lists...Error!
  > E: Dynamic MMap ran out of room
  > E: Dynamic MMap ran out of room
  > E: Error occured while processing kexi-mysql-driver (NewVersion1)
  > E: Problem with MergeList /var/lib/dpkg/status
  > E: The package lists or status file could not be parsed or opened.

First things first: 
Check if you've fried /var/lib/dpkg/status.
I think you should also cp -Rpv /var/lib/dpkg  ~/var-lib-dpkg-backup
It's around 50M for me. BTW, think twice before restoring, esp. if you've 
added/removed packages!

If I remember correctly, apt first pulls the WHOLE package database to memory. 
Just push up the limits; with enough RAM available, it should work.

[And Sumeet, on a personal note, please try not to do this with KDE maxed out 
on eyecandy ;-) Try to do this without a GUI. Or maybe in Fluxbox.]

  > Could someone tell me how to work around this error? I'm at a loss to get
  > this to work.

Create /etc/apt/apt.conf if doesn't exist.
Put in the following:

APT::Cache-Limit <largenum>;

<largenum> is the upper limit in bytes that apt will try to allocate and use.
Tailor <largenum> to suit your requirements. 

hk:)
-- 
The facts expressed here belong to everybody, the opinions to me. The 
distinction is yours to draw...
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      (plug-mail@plug.org.in)
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to