[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problems with apt



Svante Signell, le Mon 21 May 2012 22:45:43 +0200, a écrit :
> On Mon, 2012-05-21 at 21:56 +0200, Svante Signell wrote:
> > On Mon, 2012-05-21 at 21:30 +0200, Samuel Thibault wrote:
> > > Svante Signell, le Mon 21 May 2012 21:22:22 +0200, a écrit :
> > > > Recently apt stopped working:
> > > > E: Dynamic MMap ran out of room. Please increase the size of
> > > > APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
> > > > 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: Error occurred while processing libextlib-ruby-doc (NewFileDesc1)
> > > > E: Problem with
> > > > MergeList /var/lib/apt/lists/ftp.se.debian.org_debian_dists_sid_main_i18n_Translation-en
> > > > E: The package lists or status file could not be parsed or opened.
> > > > 
> > > > Whatever I do to set the cache-limit, apt thinks the size is: 25165824
> > > 
> > > You must be setting it not exactly the good way; tell us how you do it.
> > > 
> > > I use a file /etc/apt/apt.conf.d/99perso which contains
> > > 
> > > APT::Cache-Limit "100000000";
> > 
> > I have tried adding it to/etc/apt.conf and /etc/apt/apt.conf.d/70debconf
> 
> Also created a file /etc/apt/apt.conf.d/99perso with content
> APT::Cache-Limit "100000000";
> 
> Still the default value used. It that default maybe set somewhere else?

In the source code for sure, but we can also for sure override it. Check
that you don't have another instance of APT::Cache-Limit somwhere in
your /etc/apt

Samuel


Reply to: