linux china wrote:
Hi,

# apt-get update
Get:1 ftp://ftp.linuxforum.net stable/main Packages [4523kB]
Get:2 ftp://ftp.linuxforum.net stable/main Release [95B]
Get:3 ftp://ftp.linuxforum.net testing/main Packages [5645kB]
Get:4 ftp://ftp.linuxforum.net testing/main Release [81B]
Get:5 ftp://ftp.linuxforum.net unstable/main Packages [6072kB]
Get:6 ftp://ftp.linuxforum.net unstable/main Release [82B]
Fetched 16.2MB in 2m54s (93.0kB/s)
Reading Package Lists... Error!
E: Dynamic MMap ran out of room
E: Error occured while processing viewvc-query (NewVersion1)
E: Problem with MergeList
/var/lib/apt/lists/ftp.linuxforum.net_debian_dists_unstable_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

any idea how to fix the error?


Create/edit the file "/etc/apt/apt.conf". Add this line:

APT::Cache-Limit "33554432";

(I believe you need a hard-return after the end of the line, but no more than one. Or at least I used to see some weird breakage in the "old days", IIRC.)

I also believe the exact number is not that important; it just needs to be large enough to handle the need. I'm not sure how to calculate the best value of that number; I just grab this line or a similar one from Google whenever I run into this problem, and it works.)


--
Kent


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to