Results 1 to 5 of 5

Thread: APT giving error

  1. #1
    Join Date
    Aug 2009
    Beans
    16
    Distro
    Ubuntu 10.04 Lucid Lynx

    APT giving error

    whenever i use apt command it gives following error :

    Reading package lists... Error!
    E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
    E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
    E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
    E: Error occurred while processing gaffitter (NewVersion1)
    E: Problem with MergeList /var/lib/apt/lists/ftp.tw.debian.org_debian_dists_lenny_main_binary-i386_Packages
    E: The package lists or status file could not be parsed or opened.

  2. #2
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: APT giving error

    Added: Actually, I see you are trying to access a Debian repository. That could very well be the issue. Deselect it in your sources.list and then accomplish the following.

    For MergeList problems, an easy way to reset the lists is to open Software Sources (not Synaptic), untick all the repositories in Ubuntu Software and the Third Party tabs, then reselect them and Reload.

    That should clear any erroneous lists and reload ones without error, assuming the error is not on that server or in your sources.list. If that doesn't clear it, post your sources.list
    Last edited by drs305; September 4th, 2009 at 09:58 PM.
    New to Wayland.

    Retired.

  3. #3
    Join Date
    Aug 2009
    Beans
    16
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: APT giving error

    yes that solved my problem
    thank u very much

  4. #4
    Join Date
    Aug 2010
    Beans
    2

    Re: APT giving error

    Thanx to drs305. I was having the same problem, only when trying to add the Backtrack 4 packages. I was about to just do a clean install but your advice works well.

  5. #5
    Join Date
    May 2010
    Location
    Farmville, VA
    Beans
    17

    Re: APT giving error

    Quote Originally Posted by drs305 View Post
    Added: Actually, I see you are trying to access a Debian repository. That could very well be the issue. Deselect it in your sources.list and then accomplish the following.

    For MergeList problems, an easy way to reset the lists is to open Software Sources (not Synaptic), untick all the repositories in Ubuntu Software and the Third Party tabs, then reselect them and Reload.

    That should clear any erroneous lists and reload ones without error, assuming the error is not on that server or in your sources.list. If that doesn't clear it, post your sources.list
    So... what do you do if you're trying to include sources from other, compatible distributions?

    I've passed that apt limit, gone into /etc/apt/apt.conf.d/debconf70 to add a line of code that sets the default to 2x and 4x that limit, and... well, apt doesn't recognize the difference.

    Here's the code I added at the end:
    Code:
    APT::Cache-Limit “201326592″;
    to this code in that file:
    Code:
    // Pre-configure all packages with debconf before they are installed.
    // If you don't like it, comment it out.
    DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
    So, is there somewhere else that I need to change things?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •