Je ne peut plus faire de mise a jour . copie du bogue: 'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages, E:Les listes de paquets ou le fic

Asked by Dillinger

'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages, E:Les listes de paquets ou le fichier « status » ne peuvent être analysés ou lus.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Open a terminal by pressing ctrl + alt + t and type:

sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*; sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists; sudo mkdir /var/lib/apt/lists/partial
sudo apt-get clean; sudo apt-get autoclean
sudo apt-get update
sudo dpkg --clear-avail; sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get dist-upgrade

Revision history for this message
Dillinger (cyril-cber) said :
#2

dsl il bug et me demande mon mot de passe,mais je ne peut pas écrire!

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

When you enter the password to a sudo command you will not see anything.

Revision history for this message
Dillinger (cyril-cber) said :
#4

DSL,j'ai essayé plusieurs fois et à chaque foi,j'ai un message de commande invalide,je n'ai donc toujours pas résolu mon problème!
Merci quand même pour ton aide!

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

open an terminal and try this command:

sudo rm /var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages*

and tell us what the response from the system is.

Revision history for this message
Caberu (come-dv) said :
#6

Ces commandes fonctionnent parfaitement merci beaucoup!

@Dillinger : (au cas où, le mot de passe n'apparaîtra jamais quand vous le tapez dans le terminal, c'est fait exprès! tapez-le et appuyez sur "enter", ça fonctionne)

Revision history for this message
Michaël Nepyjwoda (michael-nepyjwoda) said :
#7

Salut,

je poste juste pour changer le statut de la question en 'Answered'.

Can you help with this problem?

Provide an answer of your own, or ask Dillinger for more information if necessary.

To post a message you must log in.