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

Bug#47648: apt-get runs out of room with plenty of room ..



Package: apt
Version: 0.3.13

At least the error message should give me more of a clue!  "Dynamic MMap
ran out of room" indeed!  Here with 64M available in /tmp (which is
/var) and about the same RAM:

  % sudo apt-get update
  ...

  Hit http://http.us.debian.org unstable/non-free Sources
  Ign http://http.us.debian.org unstable/non-free Release
  Hit ftp://sunsite.rediris.es stable/main Release
  Hit ftp://sunsite.rediris.es stable/contrib Packages
  Hit ftp://sunsite.rediris.es stable/contrib Release
  Hit ftp://sunsite.rediris.es stable/non-free Packages
  Hit ftp://sunsite.rediris.es stable/non-free Release
  Hit http://http.us.debian.org stable/main Packages
  Hit http://http.us.debian.org stable/main Release
  Hit http://http.us.debian.org stable/contrib Packages
  Hit http://http.us.debian.org stable/contrib Release
  Hit http://http.us.debian.org stable/non-free Packages
  Hit http://http.us.debian.org stable/non-free Release
  Reading Package Lists... Error!
  E: Dynamic MMap ran out of room
  E: Error occured while processing libgtk1.2 (NewVersion1)
  E: Problem with MergeList /var/lib/dpkg/status
  E: msync
  E: The package lists or status file could not be parsed or opened.
  lm001:/var/cache/apt/archives%                             

  lm001:/var/cache/apt/archives% df
  Filesystem           1k-blocks      Used Available Use% Mounted on
  /dev/hdb5                50717     27147     20951  56% /
  /dev/hdb11              136227     63525     65667  49% /var
  /dev/hdb7               511259    476421      8430  98% /usr
  /dev/hdb8               257598    148660     95634  61% /usr/share
  /dev/hdb10               50717     38410      9688  80% /spare

  lm001:/var/cache/apt/archives% free
               total       used       free     shared    buffers cached
  Mem:         63404      60400       3004      18060    15496      30388
  -/+ buffers/cache:      14516      48888
  Swap:        84668       6080      78588        

  lm001:/var/cache/apt/archives% uname -a
  Linux lm001.lab.it.uc3m.es 2.2.10 #1 Wed Oct 6 06:37:25 MET DST 1999 i586 unknown                                   

There are some nfs errors in dmesg, but nothing else. No oops in
particular.

The strace shows the errror around here ...

  read(8, "e70da573cd2908c11d\nDescription: "..., 32447) = 32447
  gettimeofday({940165372, 136762}, NULL) = 0
  read(8, "stalled-Size: 145\nMaintainer: Ja"..., 32690) = 32690
  gettimeofday({940165372, 148863}, NULL) = 0
  gettimeofday({940165372, 160855}, NULL) = 0
  read(8, "libc6 (>= 2.1), libjpeg62, libst"..., 32601) = 32601
  gettimeofday({940165372, 172832}, NULL) = 0
  close(8)                                = 0
  msync(0x40202000, 2102064, MS_SYNC)     = -1 EFAULT (Bad address)
  munmap(0x40202000, 2097152)             = 0
  ftruncate(7, 2102064)                   = 0
  close(7)                                = 0
  close(6)                                = 0
  ) = 33g Package Lists... Error!ts... Error!"..., 33
  write(1, "\n", 1


Reply to: