failed inizialitation of update-manager package

Asked by Sandrone

I'm using Ubuntu 7.04. Originally I istalled 6.10 but I updated it just after the release of the new version.

I get an error message from update manager. Here is the text:
---------------------------------------
Impossibile inizializzare le informazioni del pacchetto

Si è verificato un problema irrisolvibile durante l'inizializzazione delle informazioni del pacchetto.

Segnalare questo evento come bug del pacchetto «update-manager» e includere il seguente messaggio di errore:

'E:Dynamic MMap ran out of room, E:Errore nell'analisi di language-pack-kde-ar (NewVersion1), E:Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_feisty-proposed_main_binary-amd64_Packages, E:La lista dei pacchetti o il file di status non possono essere letti o aperti.'
---------------------------------------
I'll try a traslation in english:
---------------------------------------
the initialization of package informations is impossible

Un error with no solution has occurred while initializing package information

Signal this event as a bug of «update-manager» package and include the following error message:
'E:Dynamic MMap ran out of room, E:Error in the analisys of language-pack-kde-ar (NewVersion1), E:Problem with MergeList
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_feisty-proposed_main_binary-amd64_Packages, E:can't read Package list or the status file
(Hope that helps!)
---------------------------------------
following Question #7806, asked on 2007-06-07 by PETEReL
I tried
sudo apt-get -f install
obtaining
---------------------------------------
Lettura della lista dei pacchetti in corso... Errore!
E: Dynamic MMap ran out of room
E: Errore nell'analisi di language-pack-kde-ar (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_feisty-proposed_main_binary-amd64_Packages
E: La lista dei pacchetti o il file di status non possono essere letti o aperti.
---------------------------------------
which is perfectly identical to the previous.
Please note that, even after the first occorrence of the problem, I got the message "updates available" and right now
I have the orange icon with a white star. If I hover my mouse over it I even know that there are "5 updates available".

Thanks in advance for your help
  Sandro

Question information

Language:
French Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Cesare Tirabassi
Solved:
Last query:
Last reply:
Revision history for this message
Cesare Tirabassi (norsetto) said :
#1

Sandro,

how much RAM do you have?
Can you also paste here the content of your /etc/apt/apt.conf file?
Can you also, while you are trying a "sudo apt-get -f install" command, check how much memory you have being used (for instance using top in another terminal)?

Thanks.

Revision history for this message
Sandrone (aassaass09) said :
#2

how much RAM?
using top I get:
Mem: 511732k total, 487284k used, 24448k free, 5144k buffers
Swap: 10482404k total, 92772k used, 10389632k free, 103028k cached

/etc/apt/apt.conf file?
inside /etc/apt/ I find:
apt.conf.d
sources.list
sources.list.save
trusted.gpg
secring.gpg
sources.list.d
trustdb.gpg
trusted.gpg~

inside /etc/apt/apt.conf.d/ I find:
01ubuntu
15adept-periodic-update
50unattended-upgrades
05aptitude
20archive
70debconf
10periodic
25adept-archive-limits
99update-notifier

how much memory you have being used while you are trying a "sudo apt-get -f install" command?
Mem: 511732k total, 506536k used, 5196k free, 1280k buffers

OK?

Sandro

Revision history for this message
Cesare Tirabassi (norsetto) said :
#3

OK,

create the file /etc/apt/apt.conf file and add this line in it:

APT::Cache-Limit 10485760

Save and retry.
I don't think you need to, but try also to close as many programs as you can.

Revision history for this message
Cesare Tirabassi (norsetto) said :
#4

Ops, forgot to add a ; at the end:

APT::Cache-Limit 10485760;

Revision history for this message
Sandrone (aassaass09) said :
#5

Without the ";" I had serious problems! ;-)

With the ";" I get this error:
---------------------------------------
Impossibile inizializzare le informazioni del pacchetto

Si è verificato un problema irrisolvibile durante l'inizializzazione delle informazioni del pacchetto.

Segnalare questo evento come bug del pacchetto «update-manager» e includere il seguente messaggio di errore:

'E:Dynamic MMap ran out of room, E:Errore nell'analisi di firefox (NewVersion1), E:Problem with MergeList /var/lib/apt/lists/it.archive.ubuntu.com_ubuntu_dists_feisty_main_binary-amd64_Packages, E:La lista dei pacchetti o il file di status non possono essere letti o aperti.'
---------------------------------------

i.e.: the same as before only that instead of
language-pack-kde-ar (NewVersion1)
I have
firefox (NewVersion1)
AND instead
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_feisty-proposed_main_binary-amd64_Packages
I have
/var/lib/apt/lists/it.archive.ubuntu.com_ubuntu_dists_feisty_main_binary-amd64_Packages

Thank you any way

 Sandro

Revision history for this message
Best Cesare Tirabassi (norsetto) said :
#6

OK, we can increase the Cache size and/or comment out some repositories that you don't need.

To increase the Cache size, increase the number 10485760 to 15728640 or 20971520 or even higher if needed (but be careful not to hit the swap, that will really slow you down).

To comment out un-needed repositories, open your /etc/apt/sources.list file and add a # to those that you don't need to use (usually non official ones).
Remember to open this file with sudo or gksu.

Revision history for this message
Sandrone (aassaass09) said :
#7

Tried to increase to 15728640 with the same problem.

In /etc/apt/sources.list the uncommented repositories where:
deb http://archive.ubuntu.com/ubuntu/ edgy main restricted
deb-src http://archive.ubuntu.com/ubuntu/ edgy main restricted
deb http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted
deb http://security.ubuntu.com/ubuntu/ edgy-security main restricted
deb-src http://security.ubuntu.com/ubuntu/ edgy-security main restricted
deb http://archive.ubuntu.com/ubuntu/ edgy-proposed restricted main multiverse universe
deb http://it.archive.ubuntu.com/ubuntu/ feisty main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ feisty-security universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ feisty-updates universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ feisty-proposed universe main multiverse restricted
deb http://cran.stat.ucla.edu/bin/linux/ubuntu feisty/

I commented the following lines:
deb http://archive.ubuntu.com/ubuntu/ edgy main restricted
deb-src http://archive.ubuntu.com/ubuntu/ edgy main restricted
deb http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted
deb http://security.ubuntu.com/ubuntu/ edgy-security main restricted
deb-src http://security.ubuntu.com/ubuntu/ edgy-security main restricted
deb http://archive.ubuntu.com/ubuntu/ edgy-proposed restricted main multiverse universe

leaving only the following ones:
deb http://it.archive.ubuntu.com/ubuntu/ feisty main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ feisty-security universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ feisty-updates universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ feisty-proposed universe main multiverse restricted
deb http://cran.stat.ucla.edu/bin/linux/ubuntu feisty/

After that I tried again: IT RUNS!

Thank you so much for your help!

  Sandro

Revision history for this message
Sandrone (aassaass09) said :
#8

Thanks Cesare Tirabassi, that solved my question.

Revision history for this message
daniel (danny0085) said :
#9

Problem with merge list??

here the solution

<a href="http://tips-debian.blogspot.com/2008/04/problem-with-mergelist-varlibdpkgstatus.html">debian tips</a>

Revision history for this message
Otonte (oegenia-sterogen) said :
#10

Hello Uppers !

I had the same trouble as a consequence of an update to Ubuntu 8.04 from the previous release...
Is this going to work in the exact same way for me ?

<<Could not initialise the package information
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 gnome-panel (NewVersion1),
E:Problem with MergeList /var/lib/dpkg/status,
E:The package lists or status file could not be parsed or opened.' >>

pass on the ladder ;-)
and let me inheritate from the few remaining crumbles of your advanced knowledge.

Otente.

Revision history for this message
Otonte (oegenia-sterogen) said :
#11

Following Cesar's recommendations to Sandros,

I edited the APT line in the apt file to the suggestred level and now face:

<<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:Read error - read (14 Bad address),
E:The package lists or status file could not be parsed or opened.'>>

so got rid of one line ;-)) !!!

I will try to increase the cach a bit more and see how it goes.

Any suggestion extremely welcomed !!

Otente.

Revision history for this message
Otonte (oegenia-sterogen) said :
#12

follow up:

I could not create the apt.conf as even as a root,
I was not allowed to create a file within apt.

I have been searching on the Web for a complete command line glossary,
but I found it quite hard to even find the mere command for creating a file within a folder from the terminal window.

Yes: I AM a newbee ;D

Please people, can anyone leave me a command as to where I should start?
How can I learn the beautiful Ubuntu misteries if even my Package downloader is on the bench... ?

Thank you.

Revision history for this message
manjusri (gerard-kermarec) said :
#13

j'ai reçu le message suivant lors d'une tentative de mise a jour a partirde mon dvd telecharged'ubuntustudio8.10intrepid ibex.un probleme insoluble est survenu lors del'initialisation du paquet "update- manager".on me demande de joindre les informations suivantes: E:le type "e" est inconnu sur la ligne 57 dans la liste des sources /etc/apt/sources.list.E:la liste des sources ne peut etre lue.j'essaye d'apprendre le language C et codeblocks et anjuta ne fonctionnent pasnormalement.il y a 4 mises a jour qui ne peuvent etre effectues sur mon systeme que j'ai du reinstalle hier puisque tout plantait.j'ai essaye de taper sur un terminal la ligne suivante:"sudo apt-get clean all"et on me renvoie le meme message d'erreur(le type "e" est( inconnu sur la ligne 57...)merci d'avance en esperant pouvoir faire un don ala communaute ubuntu vers juin juillet2009