Find the answer to your Linux question:
Results 1 to 6 of 6
HI all, I've got problem with my menagerlist. I've debian stable. How I give for example: apt-get install update etc. that shell show me txt: Code: debian:/home/vasylek# apt-cache search postgresql ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    3

    Problem with repozit...


    HI all,

    I've got problem with my menagerlist. I've debian stable. How I give for example: apt-get install update etc. that shell show me txt:

    Code:
    debian:/home/vasylek# apt-cache search postgresql
    E: Dynamic MMap ran out of room
    E: Wyst─
    piĹ bĹ─
    d podczas przetwarzania openntpd (NewVersion1)
    E: Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_etch_main_binary-i386_Packages
    What am I sopoused to do?

    p.s. I from Poland and sorry for my language ;]

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Apt is running out of cache space.

    Create a file in /etc/apt/apt.conf.d/ with the following content:

    APT::Cache-Limit 50000000;

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Posts
    3
    Quote Originally Posted by reed9 View Post
    Apt is running out of cache space.

    Create a file in /etc/apt/apt.conf.d/ with the following content:

    APT::Cache-Limit 50000000;
    I tryed but...

    I was here: /etc/apt/apt.conf.d and I have gave content: APT::Cache-Limit 50000000;

    shell show me this:

    Code:
    debian:/etc/apt/apt.conf.d# APT::Cache-Limit 50000000;
    bash: APT::Cache-Limit: command not found

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    You misunderstood me. You need to create a text file in the directory /etc/apt/apt.conf.d/ with APT::Cache-Limit 50000000 in the body of the file. You'll need to open a text editor as root for this.

    For example:

    Code:
    su -
    gedit /etc/apt/apt.conf.d/0aptconf
    Replace gedit with whatever text editor you like.

  6. #5
    Just Joined!
    Join Date
    Mar 2009
    Posts
    3
    You forgot about this: ";" on the file end

    Thanks for help.

    p.s. what it was exactly?

  7. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Quote Originally Posted by vasylek View Post
    You forgot about this: ";" on the file end

    Thanks for help.

    p.s. what it was exactly?
    So I did.

    The cache limit is just the amount of memory allocated to store package information. You don't normally run into this limit using the standard set of repos, but if you enable extra repos, sometimes the cache isn't large enough to store it all. Also why searching for packages uses apt-cache search.

Posting Permissions

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