Re: aptitude badness and corrupted caches



Todd A. Jacobs wrote:
I'm getting the following errors:

E: The package lists or status file could not be parsed or opened.
Reading package lists... Error!
E: Dynamic MMap ran out of room
E: Error occurred while processing empire-hub (NewFileVer1)
E: Problem with MergeList
/var/lib/apt/lists/mirrors.kernel.org_debian_dists_testing_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

I'm not entirely sure what I'm supposed to do about it. What is the
"Right Thing" to do when the package list is foobarred like this?


I'm unsure what the "Right Thing" to do is, but I got around it by creating the file "/etc/apt/apt.conf" (note there's probably a directory at that same level named "/etc/apt/apt.conf.d") with the following contents:

APT::Cache-Limit "30000000";

My very vague understanding is that apt's default "size" for the list of available packages is too small for the current size of the Debian repositories. This file changes that default size. I don't know what size should be used, but this number works for me.

Also, be aware, I believe this file is very, very, exceptionally picky, and if there's an extra space at the end of the line or an extra LF/CR before the EOF, the file is ignored. (I could be wrong on this, but I vaguely remember having to erase extra blank lines and spaces, etc.)

--
Kent


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Apt-get errors with dynamic NMAP out space
    ... Dynamic MMap ran out of room ... Error occurred while processing libsdl1.2debian-all (NewVersion1) ... The package lists or status file could not be parsed or opened. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: "Dynamic MMap ran out of room"
    ... Jan Hearthstone" wrote: ... Dynamic MMap ran out of room ... The package lists or status file could not be ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
    (Debian-User)
  • Re: apt-get troubles
    ... Dynamic MMap ran out of room ... Error occured while processing timemachine (NewVersion1) ... The package lists or status file could not be parsed or opened. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Apt-get errors with dynamic NMAP out space
    ... Apt-get errors out as show below when trying the read the package lists. ... Dynamic MMap ran out of room ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Fwd: package apt-get
    ... Error occurred while processing libcaca0 (NewFileVer1) ... The package lists or status file could not be parsed or opened. ... and search for "Dynamic MMap ran out of room" - or even google it? ...
    (Ubuntu)