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

Re: apt-get problems

OK, everybody, remain calm.  *If* you have space somewhere other than
var, then just tell apt to use that area.  Here's my /etc/apt/apt.conf:
Dir {
	Cache "/usr/var/apt";
DSelect::Clean "auto";
/ Pre-configure all packages before they are installed.
// Pre-configure all packages before they are installed.
// (Automatically added by debconf.)
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};
The second line resets the cache location.

As I recall, I did this after I had used apt a bit, and there were
some transitional problems (either some additional settings somewhere
or some files that needed to have paths edited), but it's all working
fine.  My /usr/var/apt is 430Mg.

Agreed that the default installation and documentation is an
invitation to trouble.

On Thu, Jul 13, 2000 at 09:19:59AM +0200, Frodo Baggins wrote:
> Hash: SHA1
> kmself@ix.netcom.com scripsit:
> >On Wed, Jul 12, 2000 at 02:15:49PM +0200, Jens Luedicke wrote:
> >> Hi there ...
> >> 
> >> I messed up some files on my system and needed to
> >> reinstall everything again. When I was finished with
> >> all my packages I wanted to run "apt-get update".
> >> 
> >> apt-get fetched all the lists but when it was reading/parsing
> >> the lists, I got an error message:
> >> 
> >> E: Dynamic MMap ran out of room!
> >> ...
> >> 
> >> What wrong here?
> >
> >Looks suspiciously as if you're out of memory.  Not unlikely when trying
> >to install a mess of packages.  What's your memory situation look like?
> >Swap?
> It's not exactly the same thing, but I'd like to give you a warn (I
> know, I know, I sould signal it as a bug... I'll do). In the In the
> "Installing Debian/Linux 2.1 for Intel x86" document they say, about
> partitioning (section 4.2. Planing the use of the System"):
> [...] Notably, the Debian '/var' partition contains a lot of state
> information. [...], you should usually allocate at least 50Mb for
> /var.
> Well, I did it. I even allocated 128Mb, just to be on the sure
> side. But during istallation it crashed. Infact, apt uses a
> subdirectory of /var to put packages dowloaded but not yet installed
> and at installation time you need a lot of packages. 
> Then it seems to me that there are only two alternatives:
>   make an huge /var partition, knowing that there will be a lot of
> unused space after your installation is complete, or
>   don't make a partition neither of /var nor /usr, make a huge /
> partition and let the system use the space as it needs.
> bye
> - -- 
> The Hobbit
> Version: GnuPG v1.0.1 (GNU/Linux)
> Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard <http://www.gnupg.org/>
> iD8DBQE5bW2dv9iOG/S6owkRApaKAJ9clehbHX+sW/qlrf5REvl7WqtTIwCgk1ty
> 29Yn9qqZFhAze1B7OUXGnOU=
> =1J19
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

Reply to: