Page 1 sur 2

Somme de hachage incohérente

Posté : dim. 25 oct. 2015 22:28
par GrandTouque
Bonjour,
depuis quelques temps, je n'arrive plus à mettre à jour mes dépôt. La commande "apt-get update" me renvoie :

Impossible de récupérer http://mirrordirector.raspbian.org/rasp ... f/Packages Somme de contrôle de hachage incohérente
E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.


Existe-t-il d'autre mirroirs pour raspbian ?

Merci d'avance

Re: Somme de hachage incohérente

Posté : lun. 26 oct. 2015 06:03
par domi
Bonjour,

Problème connu sous Debian, cela est souvent un problème de cache des paquets téléchargés.

essais de lancer

Code : Tout sélectionner

sudo apt-get clean
sudo apt-get update

Re: Somme de hachage incohérente

Posté : lun. 26 oct. 2015 10:55
par GrandTouque
Bonjour et merci,
J'avias déjà essayé ces commandes avant de poster :
sudo apt-get clean
sudo apt-get clean -f
sudo apt-get clean -f --purge
sudo apt-get autoclean
sudo apt-get autoclean -f
sudo apt-get autoclean -f --purge
sudo apt-get autoremove
sudo apt-get autoremove -f
sudo apt-get autoremove -f --purge
:mrgreen:

Cordialement.

Re: Somme de hachage incohérente

Posté : lun. 26 oct. 2015 15:23
par domi
Tu peux éventuellement vérifier qu'il ne reste plus rien dans le "/var/lib/apt/lists/" après le clean.
Sinon tu peux le vider, mais sans les dossiers (pas de -R)

Code : Tout sélectionner

rm /var/lib/apt/lists/*
rm /var/lib/apt/lists/partial/*

Re: Somme de hachage incohérente

Posté : lun. 26 oct. 2015 18:59
par GrandTouque
Désolé mas le problème est toujours là :(
Le problème ne vient oas de ma connection car j'ai un autre raspberry qui fonctionne normalement.
J'ai tenté un copier-coller de son dossier /var/lib/apt/lists/ dans celui défectueux mais rien n'y fait :( :(
Cordialement.

Re: Somme de hachage incohérente

Posté : lun. 26 oct. 2015 19:46
par domi
Ben la je donne ma langue au chat..... :oops:

Je ne vois rien d'autre.
Mais peut-être d'autres membres pas encore passés par ici auront d'autres pistes.

Re: Somme de hachage incohérente

Posté : lun. 26 oct. 2015 20:02
par maxty01
Bonsoir,

Est-ce que je peux avoir un copier/coller du message complet.

Merci,
Bonne soirée,

Re: Somme de hachage incohérente

Posté : mar. 27 oct. 2015 15:17
par GrandTouque
Voilà :

Code : Tout sélectionner

root@server:~# apt-get update
Atteint http://archive.raspberrypi.org wheezy Release.gpg
Atteint http://raspberrypi.collabora.com wheezy Release.gpg
Atteint http://mirrordirector.raspbian.org wheezy Release.gpg
Atteint http://archive.raspberrypi.org wheezy Release
Atteint http://mirrordirector.raspbian.org wheezy Release
Atteint http://raspberrypi.collabora.com wheezy Release
Réception de : 1 http://raspberrypi.collabora.com wheezy/rpi armhf Packages [2 214 B]
Réception de : 2 http://archive.raspberrypi.org wheezy/main armhf Packages [135 kB]
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-fr_FR
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-fr
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en
Ign http://archive.raspberrypi.org wheezy/main Translation-fr_FR
Ign http://archive.raspberrypi.org wheezy/main Translation-fr
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Réception de : 3 http://mirrordirector.raspbian.org wheezy/main armhf Packages [6 908 kB]
Atteint http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Atteint http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Atteint http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-fr_FR
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-fr
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-fr_FR
Ign http://mirrordirector.raspbian.org wheezy/main Translation-fr
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-fr_FR
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-fr
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-fr_FR
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-fr
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
135 ko réceptionnés en 4s (30,3 ko/s)
W: Impossible de récupérer http://mirrordirector.raspbian.org/raspbian/dists/wheezy/main/binary-armhf/Packages  Somme de contrôle de hachage incohérente

E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
Cordialement.

Re: Somme de hachage incohérente

Posté : mar. 27 oct. 2015 22:52
par maxty01
Bonsoir,

La première chose serai d'utiliser la commande "aptitude":
aptitude update

Essaye et donne nous la sortie complète de la commande.

Bonne soirée,

Re: Somme de hachage incohérente

Posté : mar. 27 oct. 2015 23:34
par GrandTouque
Voilà :

Code : Tout sélectionner

root@server:~# sudo aptitude update
Atteint http://mirrordirector.raspbian.org wheezy Release.gpg
Atteint http://raspberrypi.collabora.com wheezy Release.gpg
Atteint http://archive.raspberrypi.org wheezy Release.gpg
Atteint http://mirrordirector.raspbian.org wheezy Release
Atteint http://raspberrypi.collabora.com wheezy Release
Atteint http://archive.raspberrypi.org wheezy Release
Atteint http://raspberrypi.collabora.com wheezy/rpi armhf Packages
Atteint http://archive.raspberrypi.org wheezy/main armhf Packages
Ignoré http://raspberrypi.collabora.com wheezy/rpi Translation-fr_FR
Ignoré http://raspberrypi.collabora.com wheezy/rpi Translation-fr
Ignoré http://archive.raspberrypi.org wheezy/main Translation-fr_FR
Ignoré http://raspberrypi.collabora.com wheezy/rpi Translation-en
Ignoré http://archive.raspberrypi.org wheezy/main Translation-fr
Ignoré http://archive.raspberrypi.org wheezy/main Translation-en
Prendre :  1 http://mirrordirector.raspbian.org wheezy/main armhf Packages [6 908 kB]
Atteint http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Atteint http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Atteint http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Ignoré http://mirrordirector.raspbian.org wheezy/contrib Translation-fr_FR
Ignoré http://mirrordirector.raspbian.org wheezy/contrib Translation-fr
Ignoré http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ignoré http://mirrordirector.raspbian.org wheezy/main Translation-fr_FR
Ignoré http://mirrordirector.raspbian.org wheezy/main Translation-fr
Ignoré http://mirrordirector.raspbian.org wheezy/main Translation-en
Ignoré http://mirrordirector.raspbian.org wheezy/non-free Translation-fr_FR
Ignoré http://mirrordirector.raspbian.org wheezy/non-free Translation-fr
Ignoré http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ignoré http://mirrordirector.raspbian.org wheezy/rpi Translation-fr_FR
Ignoré http://mirrordirector.raspbian.org wheezy/rpi Translation-fr
Ignoré http://mirrordirector.raspbian.org wheezy/rpi Translation-en
 1 o téléchargés en 4s (0 o/s)
W: impossible de récupérer http://mirrordirector.raspbian.org/raspbian/dists/wheezy/main/binary-armhf/Packages : Somme de contrôle de hachage incohérente
E: Échec du téléchargement pour certains fichiers d'index. Soit ils ont été ignorés, soit les anciens fichiers ont été utilisés à la place.
E: Impossible de reconstruire le cache des paquets
Je précise que j'ai également testé toutes les commande "aptitude" que j'avais fait avec "apt-get".