couldn't open mergelist

Asked by säbel

E: Dynamic MMap ran out of room
E: Ein Fehler trat beim Bearbeiten von language-pack-kde-ga auf (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_edgy-updates_main_binary-i386_Packages
E: Die Paketlisten oder die Status-Datei konnte nicht geöffnet oder eingelesen werden.
E: _cache->open() failed, please report.

Dieses verhindert die Aktualisierung und taucht immer beim starten von synaptic und Aktualisierung auf.
Mit: sudo apt-get update
       sudo apt-get install -f
erscheint die gleiche Fehlermeldung.

Question information

Language:
German Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Ralph Janke
Solved:
Last query:
Last reply:
Revision history for this message
Ralph Janke (txwikinger) said :
#1

Could it be that you run out of virtual memory?

You can check it with 'top'.

I hope this helps.

Revision history for this message
säbel (langmesser-bildhauer) said :
#2

Hello txwikinger,
Thanks for your answer. Here is a copy from 'top'.

Mem: 1035680k total, 630544k used, 405136k free, 144100k buffers
Swap: 2915756k total, 0k used, 2915756k free, 324148k cached.

Could answer me, if I'm running out of virtual memory please.
Greetings
pilkr04

Revision history for this message
Ralph Janke (txwikinger) said :
#3

The virtual memory is ok and physical too.

I think there is a configurationb for apt that should be set, since the default seems to be too low.

Try to put

APT::Cache-Limit "141943904";

into the file

/etc/apt/apt.conf

and try it again

I hope this helps

Revision history for this message
säbel (langmesser-bildhauer) said :
#4

Sorry, but i´m an ubuntu / linux amateur. There is no file apt.conf, only apt.conf.d

/etc/apt/apt.conf.d
/etc/apt/sources.list.d
/etc/apt/secring.gpg
/etc/apt/sources.list
/etc/apt/sources.list.distUpgrade
/etc/apt/sources.list.save
/etc/apt/trustdb.gpg
/etc/apt/trusted.gpg
/etc/apt/trusted.gpg~

Revision history for this message
Ralph Janke (txwikinger) said :
#5

Ok then create a apt.conf file inside the /etc/apt directory. However, be cautious, you need to be administrator to have the permissions. The best thing is probably to open a terminal and execute the following command:

sudo gedit /etc/apt/apt.conf

Then insert the line

APT::Cache-Limit "141943904";

as the only line into it and save it.

Then try again

sudo apt-get update
sudo apt-get install -f

Ich hoffe dies hilft!

Revision history for this message
säbel (langmesser-bildhauer) said :
#6

Hallo Ralph, danke für deine Hilfe. Mit der Anleitung habe ich endlich deinen Tip ausprobieren können, doch leider ohne Erfolg. In der WIKI stand der gleiche Tip mit noch einem größeren Limit, doch auch das nützte nichts. Ein sudo apt-get update ergibt folgende Fehlermeldung:

Hole:1 http://security.ubuntu.com feisty-security Release.gpg [191B]
Ign http://security.ubuntu.com feisty-security/main Translation-de
Hole:2 http://de.archive.ubuntu.com feisty Release.gpg [191B]
OK http://de.archive.ubuntu.com feisty/main Translation-de
Ign http://security.ubuntu.com feisty-security/restricted Translation-de
Ign http://security.ubuntu.com feisty-security/universe Translation-de
Ign http://security.ubuntu.com feisty-security/multiverse Translation-de
Hole:3 http://security.ubuntu.com edgy-security Release.gpg [191B]
Ign http://security.ubuntu.com edgy-security/universe Translation-de
Ign http://security.ubuntu.com edgy-security/universe Translation-de
OK http://de.archive.ubuntu.com feisty/restricted Translation-de
OK http://de.archive.ubuntu.com feisty/universe Translation-de
OK http://de.archive.ubuntu.com feisty/multiverse Translation-de
Hole:4 http://de.archive.ubuntu.com feisty-updates Release.gpg [191B]
Ign http://de.archive.ubuntu.com feisty-updates/main Translation-de
Ign http://de.archive.ubuntu.com feisty-updates/restricted Translation-de
Ign http://de.archive.ubuntu.com feisty-updates/universe Translation-de
Ign http://de.archive.ubuntu.com feisty-updates/multiverse Translation-de
Ign http://security.ubuntu.com edgy-security/main Translation-de
Ign http://security.ubuntu.com edgy-security/multiverse Translation-de
Ign http://security.ubuntu.com edgy-security/restricted Translation-de
OK http://security.ubuntu.com feisty-security Release
OK http://security.ubuntu.com edgy-security Release
Hole:5 http://de.archive.ubuntu.com edgy Release.gpg [191B]
OK http://de.archive.ubuntu.com edgy/universe Translation-de
OK http://de.archive.ubuntu.com edgy/universe Translation-de
OK http://de.archive.ubuntu.com edgy/main Translation-de
OK http://de.archive.ubuntu.com edgy/multiverse Translation-de
OK http://de.archive.ubuntu.com edgy/restricted Translation-de
Hole:6 http://de.archive.ubuntu.com edgy-updates Release.gpg [191B]
Ign http://de.archive.ubuntu.com edgy-updates/universe Translation-de
Ign http://de.archive.ubuntu.com edgy-updates/main Translation-de
Ign http://de.archive.ubuntu.com edgy-updates/multiverse Translation-de
OK http://security.ubuntu.com feisty-security/main Packages
Ign http://de.archive.ubuntu.com edgy-updates/restricted Translation-de
OK http://de.archive.ubuntu.com feisty Release
OK http://de.archive.ubuntu.com feisty-updates Release
OK http://de.archive.ubuntu.com edgy Release
OK http://security.ubuntu.com feisty-security/restricted Packages
OK http://security.ubuntu.com feisty-security/universe Packages
OK http://security.ubuntu.com feisty-security/multiverse Packages
OK http://security.ubuntu.com feisty-security/main Sources
OK http://de.archive.ubuntu.com edgy-updates Release
OK http://security.ubuntu.com feisty-security/restricted Sources
OK http://security.ubuntu.com feisty-security/universe Sources
OK http://security.ubuntu.com feisty-security/multiverse Sources
OK http://security.ubuntu.com edgy-security/universe Packages
OK http://security.ubuntu.com edgy-security/universe Packages
OK http://security.ubuntu.com edgy-security/main Packages
OK http://de.archive.ubuntu.com feisty/main Packages
OK http://de.archive.ubuntu.com feisty/restricted Packages
OK http://de.archive.ubuntu.com feisty/universe Packages
OK http://de.archive.ubuntu.com feisty/multiverse Packages
OK http://de.archive.ubuntu.com feisty/main Sources
OK http://de.archive.ubuntu.com feisty/restricted Sources
OK http://de.archive.ubuntu.com feisty/universe Sources
OK http://security.ubuntu.com edgy-security/multiverse Packages
OK http://security.ubuntu.com edgy-security/restricted Packages
OK http://security.ubuntu.com edgy-security/universe Sources
OK http://de.archive.ubuntu.com feisty/multiverse Sources
OK http://de.archive.ubuntu.com feisty-updates/main Packages
OK http://de.archive.ubuntu.com feisty-updates/restricted Packages
OK http://de.archive.ubuntu.com feisty-updates/universe Packages
OK http://de.archive.ubuntu.com feisty-updates/multiverse Packages
OK http://de.archive.ubuntu.com feisty-updates/main Sources
OK http://de.archive.ubuntu.com feisty-updates/restricted Sources
OK http://de.archive.ubuntu.com feisty-updates/universe Sources
OK http://de.archive.ubuntu.com feisty-updates/multiverse Sources
OK http://de.archive.ubuntu.com edgy/universe Packages
OK http://de.archive.ubuntu.com edgy/universe Sources
OK http://de.archive.ubuntu.com edgy/universe Packages
OK http://de.archive.ubuntu.com edgy/main Packages
OK http://de.archive.ubuntu.com edgy/multiverse Packages
OK http://de.archive.ubuntu.com edgy/restricted Packages
OK http://de.archive.ubuntu.com edgy-updates/universe Packages
OK http://de.archive.ubuntu.com edgy-updates/main Packages
OK http://de.archive.ubuntu.com edgy-updates/multiverse Packages
OK http://de.archive.ubuntu.com edgy-updates/restricted Packages
Es wurden 6B in 2s geholt (2B/s)
Paketlisten werden gelesen... Fehler!
W: Duplicate sources.list entry http://de.archive.ubuntu.com edgy/universe Packages (/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_edgy_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://de.archive.ubuntu.com edgy/universe Translation-de (/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_edgy_universe_i18n_Translation-de)
W: Duplicate sources.list entry http://security.ubuntu.com edgy-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_edgy-security_universe_binary-i386_Packages)
E: Dynamic MMap ran out of room
E: Ein Fehler trat beim Bearbeiten von language-pack-gnome-fil auf (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_edgy-updates_main_binary-i386_Packages
E: Die Paketliste oder die Statusdatei konnte nicht geparst oder geöffnet werden

Nun habe ich mir gedacht, dass ich die fehlerhaften Pakete mit einem sudo aptitude clean los werde, aber es klappt auch nicht.
Für weitere Hilfe wäre ich sehr dankbar.

Christian

Revision history for this message
Best Ralph Janke (txwikinger) said :
#7

Warum hast Du Edgy und Feisty Archive in Deiner sources.list? Du solltest nur nur ein Release benutzen. Ansonsten kannst Du einiges an Problemen bekommen. When Du Edgy hast/haben willst, lösche alle Feisty Einträge. Falls Du Feisty haben willst, lösche alle Edgy Einträge und dann führe die oben genannten Befehle aus:

sudo apt-get update
sudo apt-get install -f

und

sudo apt-get dist-upgrade

Revision history for this message
säbel (langmesser-bildhauer) said :
#8

Vielen Dank für die Hilfe. Es geht wieder alles gut.
Säbel