Mmap needs enlarging, HELP

Asked by fedsure

An unresolvable problem occurred while initialising the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Dynamic MMap ran out of room, E:Error occurred while processing xsnow (NewFileDesc2), E:Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_multiverse_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.'

I have no idea how to resolve this issue, HELP ---- The Dummy Guide for myself still hasnt been written

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
W. Prins
Solved:
Last query:
Last reply:
Revision history for this message
fedsure (jeffandlee) said :
#1

I still update via update manager, I so new to Ubuntu, where before with Windows it does everything for one. HELP PLEASE

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2
Revision history for this message
Best W. Prins (wprins) said :
#3

Just to add to what marcobra has said:

The basic issue is that you appear to have a lot of sources in your sources list, and consequently the packaging system (apparently) runs out of cache room processing an update.

The solution is to increase the cache room, providing you have enough memory to increase it.

To increase it, do the following:
1.) Press alt-f2
2.) Type
gksudo gedit /etc/apt/apt.conf
and press Enter to run the command.
3.) Put into the file the following line:
APT::Cache-Limit 10485760;
4.) Save the file, close the editor.
5.) Try to update your package cache again. You can do that by going into Synaptic and click reload, or open a Terminal window and type:
sudo apt-get update

You can also increase the number (10485760) above even more, but keep it strictly less than your memory size. The number is the number of bytes to allocate to the cache, the number above is about 10MB, for reference. 20971520 would make it about 20MB etc.

T

Revision history for this message
fedsure (jeffandlee) said :
#4

Thanks Walter Prins, that solved my question.