Page 1 sur 2

Problème apt-get update, Somme de contrôle de hachage incohérente

Posté : jeu. 17 oct. 2019 18:44
par Purpurascens
Bonjour à tous!

Comme beaucoup, je suis nouveau sur Linux Mint (2/3 mois), et je suis depuis plusieurs semaines bloqué lors de mon sudo apt-get update, il me répétait sans cesse que j'avais des doublons dans mon fichier source.list à cause de google earth (j'ai vu en parcourant de nombreux forums que je n'étai pas le seul), premier problème que j'ai pu résoudre, mais il me dit également que j'ai des soucis concernant la "Somme de contrôle de hachage incohérente" pour plusieurs choses (universe etc). il faut savoir que j'ai essayé beaucoup de choses, dont certaines qui m'ont foutu un bord*l monstre (ma faute je le sais, j'ai vite appris à ne plus lancer la première commande venue, surtout quand on se met à modifier le source.list.....)

Je vous met ci dessous ce que me renvoie mon apt-get update:

Code : Tout sélectionner

louis@PC-Louis:~$ sudo apt-get update
Réception de :1 http://archive.canonical.com/ubuntu bionic InRelease [10,2 kB]
Réception de :2 http://repository.spotify.com stable InRelease [3316 B]       
Réception de :3 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic InRelease [20,8 kB]
Réception de :4 http://archive.canonical.com/ubuntu bionic/partner Sources [1904 B]
Ign :5 http://packages.linuxmint.com tessa InRelease                           
Réception de :6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Réception de :7 http://packages.linuxmint.com tessa Release [24,1 kB]          
Réception de :8 http://packages.linuxmint.com tessa Release.gpg [819 B]        
Ign :9 http://ddebs.ubuntu.com bionic InRelease                                
Réception de :10 http://archive.canonical.com/ubuntu bionic/partner i386 Packages [2312 B]
Réception de :11 http://archive.canonical.com/ubuntu bionic/partner amd64 Packages [2320 B]
Réception de :12 http://archive.canonical.com/ubuntu bionic/partner Translation-en [1276 B]
Réception de :13 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]    
Ign :14 http://dl.google.com/linux/chrome/deb stable InRelease                 
Réception de :15 http://repository.spotify.com stable/non-free i386 Packages [1171 B]
Réception de :16 https://qgis.org/ubuntu bionic InRelease [3687 B]            
Réception de :17 http://au.archive.ubuntu.com/ubuntu bionic InRelease [242 kB] 
Ign :18 http://ddebs.ubuntu.com bionic-updates InRelease                       
Réception de :19 http://repository.spotify.com stable/non-free amd64 Packages [1644 B]
Réception de :20 http://security.ubuntu.com/ubuntu bionic-security/main Sources [126 kB]
Réception de :21 http://ppa.launchpad.net/haraldhv/shotcut/ubuntu bionic InRelease [15,9 kB]
Réception de :22 http://ddebs.ubuntu.com bionic Release [34,7 kB]              
Réception de :23 http://packages.linuxmint.com tessa/backport Sources [13,2 kB]
Réception de :24 http://packages.linuxmint.com tessa/main Sources [13,6 kB]    
Réception de :25 http://packages.linuxmint.com tessa/import Sources [3479 B]  
Réception de :26 http://packages.linuxmint.com tessa/upstream Sources [14,2 kB]
Réception de :28 http://ddebs.ubuntu.com bionic-updates Release [34,7 kB]      
Réception de :29 http://dl.google.com/linux/chrome/deb stable Release [943 B]  
Réception de :30 https://qgis.org/ubuntugis bionic InRelease [3687 B]         
Réception de :31 http://packages.linuxmint.com tessa/main i386 Packages [13,6 kB]
Réception de :32 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu bionic InRelease [20,7 kB]
Réception de :33 http://ddebs.ubuntu.com bionic Release.gpg [819 B]            
Réception de :34 https://qgis.org/ubuntu bionic/main Sources [1388 B]         
Réception de :35 http://ddebs.ubuntu.com bionic-updates Release.gpg [819 B]    
Réception de :36 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]
Réception de :37 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Réception de :38 http://au.archive.ubuntu.com/ubuntu bionic/main Sources [829 kB]
Réception de :39 http://ddebs.ubuntu.com bionic/main i386 Packages [530 kB]    
Réception de :40 http://packages.linuxmint.com tessa/main amd64 Packages [14,2 kB]
Réception de :41 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic/main Sources [30,4 kB]
Réception de :42 http://security.ubuntu.com/ubuntu bionic-security/universe Sources [160 kB]
Réception de :43 https://qgis.org/ubuntu bionic/main i386 Packages [8931 B]   
Réception de :44 http://ddebs.ubuntu.com bionic/main amd64 Packages [535 kB]   
Réception de :45 http://ddebs.ubuntu.com bionic/universe amd64 Packages [4596 kB]
Réception de :46 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1112 B]
Réception de :47 http://packages.linuxmint.com tessa/upstream amd64 Packages [38,0 kB]
Réception de :48 http://packages.linuxmint.com tessa/upstream i386 Packages [38,1 kB]
Réception de :49 http://au.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1007 kB]
Réception de :50 http://security.ubuntu.com/ubuntu bionic-security/multiverse Sources [3180 B]
Réception de :51 https://qgis.org/ubuntu bionic/main amd64 Packages [8936 B]  
Réception de :52 http://security.ubuntu.com/ubuntu bionic-security/restricted Sources [3200 B]
Réception de :53 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic/main amd64 Packages [61,4 kB]
Réception de :27 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Réception de :54 https://qgis.org/ubuntugis bionic/main Sources [1397 B]      
Réception de :55 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [530 kB]
Réception de :56 http://packages.linuxmint.com tessa/import amd64 Packages [5703 B]
Réception de :57 http://packages.linuxmint.com tessa/import i386 Packages [4863 B]
Réception de :58 https://qgis.org/ubuntugis bionic/main i386 Packages [8970 B]
Réception de :59 http://ddebs.ubuntu.com bionic/universe i386 Packages [4279 kB]
Réception de :60 http://packages.linuxmint.com tessa/backport amd64 Packages [29,4 kB]
Réception de :61 https://qgis.org/ubuntugis bionic/main amd64 Packages [8957 B]
Réception de :62 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic/main i386 Packages [61,5 kB]
Réception de :63 http://ddebs.ubuntu.com bionic/multiverse i386 Packages [68,9 kB]
Réception de :64 http://ddebs.ubuntu.com bionic/multiverse amd64 Packages [73,0 kB]
Réception de :65 http://ddebs.ubuntu.com bionic-updates/main i386 Packages [283 kB]
Réception de :66 http://ddebs.ubuntu.com bionic-updates/main amd64 Packages [370 kB]
Réception de :67 http://ddebs.ubuntu.com bionic-updates/universe amd64 Packages [287 kB]
Err :55 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages  
  Somme de contrôle de hachage incohérente
  Hashes of expected file:
   - Filesize:530452 [weak]
   - SHA256:4cf9115eb0056335c28111acfecaff57200d839f10fdbe438fef04d1b9f3b095
   - SHA1:43e97b5ff8aee315ac139bb2af982d1a84ef3047 [weak]
   - MD5Sum:b5696f3ef63604ec3cfa4ad2b7067440 [weak]
  Hashes of received file:
   - SHA256:8627d6252b84239224bf7107b3188288800e756b0a6b2999b9999b82053148e6
   - SHA1:94fe8e25f126d28fd6e5bee13297860213714d2b [weak]
   - MD5Sum:f66e998ac4b483506a01d7f8025bc1b0 [weak]
   - Filesize:530452 [weak]
  Last modification reported: Thu, 17 Oct 2019 12:11:24 +0000
  Release file created at: Thu, 17 Oct 2019 13:12:32 +0000
Réception de :68 http://ddebs.ubuntu.com bionic-updates/universe i386 Packages [274 kB]
Réception de :69 http://ddebs.ubuntu.com bionic-updates/multiverse i386 Packages [3596 B]
Réception de :70 http://ddebs.ubuntu.com bionic-updates/multiverse amd64 Packages [3544 B]
Réception de :71 http://packages.linuxmint.com tessa/backport i386 Packages [29,3 kB]
Réception de :72 http://archive.ubuntu.com/ubuntu bionic/main Sources [829 kB] 
Réception de :73 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic/main Translation-en [32,1 kB]
Réception de :74 http://au.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1019 kB]
Réception de :75 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [382 kB]
Réception de :76 http://archive.ubuntu.com/ubuntu bionic/restricted Sources [5324 B]
Réception de :77 http://ppa.launchpad.net/haraldhv/shotcut/ubuntu bionic/main Sources [672 B]
Réception de :78 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [178 kB]
Réception de :79 http://au.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]
Réception de :80 http://ppa.launchpad.net/haraldhv/shotcut/ubuntu bionic/main i386 Packages [468 B]
Réception de :81 http://archive.ubuntu.com/ubuntu bionic/multiverse Sources [181 kB]
Réception de :82 http://ppa.launchpad.net/haraldhv/shotcut/ubuntu bionic/main amd64 Packages [468 B]
Réception de :83 http://au.archive.ubuntu.com/ubuntu bionic/main Translation-fr [513 kB]
Réception de :84 http://archive.ubuntu.com/ubuntu bionic/universe Sources [9051 kB]
Réception de :85 http://ppa.launchpad.net/haraldhv/shotcut/ubuntu bionic/main Translation-en [156 B]
Réception de :86 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [38,5 kB]
Réception de :87 http://security.ubuntu.com/ubuntu bionic-security/restricted i386 Packages [4280 B]
Réception de :88 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [8872 B]
Réception de :89 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [3296 B]
Réception de :90 http://au.archive.ubuntu.com/ubuntu bionic/main amd64 DEP-11 Metadata [477 kB]
Réception de :91 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu bionic/main Sources [26,7 kB]
Réception de :92 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [593 kB]
Réception de :93 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu bionic/main amd64 Packages [53,4 kB]
Réception de :94 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1019 kB]
Réception de :95 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [613 kB]
Réception de :96 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu bionic/main i386 Packages [53,4 kB]
Réception de :97 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages [1007 kB]
Réception de :98 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu bionic/main Translation-en [28,8 kB]
Réception de :99 http://archive.ubuntu.com/ubuntu bionic/main Translation-fr [513 kB]
Réception de :100 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [204 kB]
Réception de :101 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42,1 kB]
Réception de :102 http://archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]
Réception de :103 http://archive.ubuntu.com/ubuntu bionic/main amd64 DEP-11 Metadata [477 kB]
Réception de :104 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [9184 B]
Réception de :105 http://archive.ubuntu.com/ubuntu bionic/restricted i386 Packages [9156 B]
Réception de :106 http://archive.ubuntu.com/ubuntu bionic/restricted Translation-fr [2380 B]
Réception de :107 http://archive.ubuntu.com/ubuntu bionic/restricted Translation-en [3584 B]
Réception de :108 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages [8531 kB]
Réception de :109 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8570 kB]
Réception de :110 http://archive.ubuntu.com/ubuntu bionic/universe Translation-fr [2972 kB]
Réception de :111 http://archive.ubuntu.com/ubuntu bionic/universe Translation-en [4941 kB]
Réception de :112 http://archive.ubuntu.com/ubuntu bionic/universe amd64 DEP-11 Metadata [3287 kB]
Réception de :113 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB]
Réception de :114 http://archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages [144 kB]
Réception de :115 http://archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]
Réception de :116 http://archive.ubuntu.com/ubuntu bionic/multiverse Translation-fr [109 kB]
Réception de :117 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 DEP-11 Metadata [49,7 kB]
Réception de :118 http://archive.ubuntu.com/ubuntu bionic-backports/main Sources [2532 B]
Réception de :119 http://archive.ubuntu.com/ubuntu bionic-backports/universe Sources [2484 B]
Réception de :120 http://archive.ubuntu.com/ubuntu bionic-backports/main i386 Packages [2516 B]
Réception de :121 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [2512 B]
Réception de :122 http://archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [1644 B]
Réception de :123 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [4020 B]
Réception de :124 http://archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [4020 B]
Réception de :125 http://archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [1856 B]
Réception de :126 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7920 B]
Réception de :127 http://archive.ubuntu.com/ubuntu bionic-updates/main Sources [294 kB]
Réception de :128 http://archive.ubuntu.com/ubuntu bionic-updates/universe Sources [264 kB]
Err :128 http://archive.ubuntu.com/ubuntu bionic-updates/universe Sources      
  Somme de contrôle de hachage incohérente
  Hashes of expected file:
   - Filesize:264488 [weak]
   - SHA256:799af381d392ca211ced9d6c1f7f669814a2a800a874a8dad84c1d44c7936c43
   - SHA1:021419c6646acbbb7b4de8c8300ef4d4e67b5b75 [weak]
   - MD5Sum:d016bb88c15bf8f71eff49decfeeb4ca [weak]
  Hashes of received file:
   - SHA256:6f08531ba2efa6444d4b629abc2aa8d7edaca5010b4e005ed861ec3c4c17eb20
   - SHA1:ab66523d946133a66221ff0375431baa4e8330f8 [weak]
   - MD5Sum:1500ef90386904d570a92aaa0e03426b [weak]
   - Filesize:264488 [weak]
  Last modification reported: Fri, 11 Oct 2019 13:44:14 +0000
  Release file created at: Thu, 17 Oct 2019 13:12:36 +0000
Réception de :129 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Sources [4364 B]
Réception de :130 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Sources [5000 B]
Réception de :131 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [593 kB]
Réception de :132 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [753 kB]
Réception de :133 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [271 kB]
Réception de :134 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [295 kB]
Réception de :135 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [15,7 kB]
Réception de :136 http://archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages [8600 B]
Réception de :137 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [4956 B]
Réception de :138 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1012 kB]
62,9 Mo réceptionnés en 29s (2131 ko/s)                                       
Lecture des listes de paquets... Fait
E: Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/bionic-security/main/binary-amd64/by-hash/SHA256/4cf9115eb0056335c28111acfecaff57200d839f10fdbe438fef04d1b9f3b095  Somme de contrôle de hachage incohérente
   Hashes of expected file:
    - Filesize:530452 [weak]
    - SHA256:4cf9115eb0056335c28111acfecaff57200d839f10fdbe438fef04d1b9f3b095
    - SHA1:43e97b5ff8aee315ac139bb2af982d1a84ef3047 [weak]
    - MD5Sum:b5696f3ef63604ec3cfa4ad2b7067440 [weak]
   Hashes of received file:
    - SHA256:8627d6252b84239224bf7107b3188288800e756b0a6b2999b9999b82053148e6
    - SHA1:94fe8e25f126d28fd6e5bee13297860213714d2b [weak]
    - MD5Sum:f66e998ac4b483506a01d7f8025bc1b0 [weak]
    - Filesize:530452 [weak]
   Last modification reported: Thu, 17 Oct 2019 12:11:24 +0000
   Release file created at: Thu, 17 Oct 2019 13:12:32 +0000
E: Impossible de récupérer http://archive.ubuntu.com/ubuntu/dists/bionic-updates/universe/source/by-hash/SHA256/799af381d392ca211ced9d6c1f7f669814a2a800a874a8dad84c1d44c7936c43  Somme de contrôle de hachage incohérente
   Hashes of expected file:
    - Filesize:264488 [weak]
    - SHA256:799af381d392ca211ced9d6c1f7f669814a2a800a874a8dad84c1d44c7936c43
    - SHA1:021419c6646acbbb7b4de8c8300ef4d4e67b5b75 [weak]
    - MD5Sum:d016bb88c15bf8f71eff49decfeeb4ca [weak]
   Hashes of received file:
    - SHA256:6f08531ba2efa6444d4b629abc2aa8d7edaca5010b4e005ed861ec3c4c17eb20
    - SHA1:ab66523d946133a66221ff0375431baa4e8330f8 [weak]
    - MD5Sum:1500ef90386904d570a92aaa0e03426b [weak]
    - Filesize:264488 [weak]
   Last modification reported: Fri, 11 Oct 2019 13:44:14 +0000
   Release file created at: Thu, 17 Oct 2019 13:12:36 +0000
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.
Voilà tout!

Merci pour votre précieuse aide
Louis

PS: je suis sous Linux Mint 19.1
Cinnamon 4.0.10

Re: Problème apt-get update, Somme de contrôle de hachage incohérente

Posté : jeu. 17 oct. 2019 19:19
par tyrry
Slt ,
anéfé tu as mis une sacrée pagaille dans ton sources.list
on va faire simple :
Image

Code : Tout sélectionner

sudo rm -rf /etc/apt/sources.list.d/*

Code : Tout sélectionner

sudo xed /etc/apt/sources.list.d/official-package-repositories.list
copie colle ceci :

Code : Tout sélectionner

deb http://packages.linuxmint.com tessa main upstream import backport 

deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ bionic partner
enregistre et ferme xed puis :

Code : Tout sélectionner

sudo apt update
et donne le retour ;)
@+
ps fait une signature : là on sait pas sous quel arch tu es : i386 ou 64 par exemple ;)

Re: Problème apt-get update, Somme de contrôle de hachage incohérente

Posté : jeu. 17 oct. 2019 19:20
par david37
Salut purpurascens,

Alors tout d'abord pour une aide la plus efficace possible, merci de mettre la configuration de votre matériel dans la signature, pour cela Aide pour une signature utile Image

Ensuite, ... comment te dire ... j'ai jamais vu un bordel pareil dans un source list ... :shock: :-o :shock: :-o
Tu as 138 entrées dans ton apt-get update ... A titre de comparaison, j'en ai 11 (et je trouve que j'en ai déjà beaucoup) ... je te laisse faire le calcul :l :lol:

Va falloir faire du ménage dans tes sources.list, commençons par voir les dépôts actifs, donne nous le retour de:

Code : Tout sélectionner

inxi -r
EDIT: Oups ! Tyrry est passe avant moi ;)

Re: Problème apt-get update, Somme de contrôle de hachage incohérente

Posté : jeu. 17 oct. 2019 19:42
par Purpurascens
Bonjour merci pour l'aide!

Code : Tout sélectionner

louis@PC-Louis:~$ inxi -r
Repos:
  Active apt repos in: /etc/apt/sources.list 
  1: deb https://qgis.org/ubuntu bionic main
  2: deb-src https://qgis.org/ubuntu bionic main
  3: deb https://qgis.org/ubuntugis bionic main
  4: deb-src https://qgis.org/ubuntugis bionic main
  5: deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic main
  6: deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic main
  7: deb http://au.archive.ubuntu.com/ubuntu bionic main
  8: deb-src http://au.archive.ubuntu.com/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
  1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/haraldhv-shotcut-bionic.list 
  1: deb http://ppa.launchpad.net/haraldhv/shotcut/ubuntu bionic main
  2: deb-src http://ppa.launchpad.net/haraldhv/shotcut/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/official-dbgsym-repositories.list 
  1: deb http://ddebs.ubuntu.com bionic main restricted universe multiverse
  2: deb http://ddebs.ubuntu.com bionic-updates main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com tessa main upstream import backport
  2: deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ bionic partner
  Active apt repos in: /etc/apt/sources.list.d/official-source-repositories.list 
  1: deb-src http://packages.linuxmint.com tessa main upstream import backport
  2: deb-src http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
  3: deb-src http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
  4: deb-src http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
  5: deb-src http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
  6: deb-src http://archive.canonical.com/ubuntu/ bionic partner
  Active apt repos in: /etc/apt/sources.list.d/spotify.list 
  1: deb http://repository.spotify.com stable non-free
  Active apt repos in: /etc/apt/sources.list.d/ubuntugis-ppa-bionic.list 
  1: deb http://ppa.launchpad.net/ubuntugis/ppa/ubuntu bionic main
  2: deb-src http://ppa.launchpad.net/ubuntugis/ppa/ubuntu bionic main
  No active apt repos in: /etc/apt/sources.list.d/ubuntugis-ubuntugis-unstable-bionic.list 
louis@PC-Louis:~$ 

Re: Problème apt-get update, Somme de contrôle de hachage incohérente

Posté : jeu. 17 oct. 2019 19:49
par david37
Salut,

Merci pour le retour, effectivement t'as un sacre paquet de dépôt ajoutes.
Tu peux commencer par faire les commandes que t'as proposer Tyrry (fait très attention avec la première, copie la et colle la dans le terminal si tu veux pas de mauvaises surprises).

Re: Problème apt-get update, Somme de contrôle de hachage incohérente

Posté : dim. 20 oct. 2019 11:29
par Purpurascens
Rebonjour à tous!

Voici la réponse à ces commandes, ça fait peur je dois l'avouer...

Code : Tout sélectionner

louis@PC-Louis:~$ sudo rm -rf /etc/apt/sources.list.d/*
Faites glisser votre doigt sur le lecteur d'empreintes
louis@PC-Louis:~$ sudo xed /etc/apt/sources.list.d/official-package-repositories.list

(xed:23928): Gdk-CRITICAL **: 13:26:03.089: gdk_window_get_window_type: assertion 'GDK_IS_WINDOW (window)' failed

(xed:23928): Gtk-CRITICAL **: 13:26:37.313: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(xed:23928): Gtk-CRITICAL **: 13:26:37.314: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(xed:23928): Gtk-CRITICAL **: 13:26:37.314: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(xed:23928): Gtk-CRITICAL **: 13:26:37.314: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(xed:23928): Gtk-CRITICAL **: 13:26:37.314: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

** (xed:23928): WARNING **: 13:26:37.320: Set document metadata failed: La définition de l’attribut metadata::xed-spell-language n’est pas prise en charge

** (xed:23928): WARNING **: 13:26:37.320: Set document metadata failed: La définition de l’attribut metadata::xed-encoding n’est pas prise en charge

(xed:23928): Gtk-CRITICAL **: 13:26:40.595: gtk_notebook_get_tab_label: assertion 'list != NULL' failed

** (xed:23928): WARNING **: 13:26:40.700: Set document metadata failed: La définition de l’attribut metadata::xed-position n’est pas prise en charge
louis@PC-Louis:~$ sudo apt update
Réception de :1 http://archive.canonical.com/ubuntu bionic InRelease [10,2 kB] 
Réception de :2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Atteint :3 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic InRelease
Ign :4 http://packages.linuxmint.com tessa InRelease                           
Atteint :5 http://archive.ubuntu.com/ubuntu bionic InRelease                   
Atteint :6 http://packages.linuxmint.com tessa Release                         
Atteint :7 https://qgis.org/ubuntu bionic InRelease                            
Atteint :9 https://qgis.org/ubuntugis bionic InRelease                         
Atteint :11 http://au.archive.ubuntu.com/ubuntu bionic InRelease               
Réception de :12 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Réception de :10 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Réception de :13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [753 kB]
Err :13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
  Somme de contrôle de hachage incohérente
  Hashes of expected file:
   - Filesize:753240 [weak]
   - SHA256:f24e86e9aec3b364bc2ab3fba09bafb1e6a286a76d2787312dc9230759d3d8cf
   - SHA1:6c4fe6d09766be0c24e362c0e129cd5b4d4d0e34 [weak]
   - MD5Sum:0c77eed81cb76edca1bb3ece501bb6a3 [weak]
  Hashes of received file:
   - SHA256:b3760962fdc28491d45efec9431c07ebbc5321f0ace41e2c100d382a626eb49e
   - SHA1:d5ebd073481bb0bc32716155c2b77d60e3de109a [weak]
   - MD5Sum:5e088820f1e006893668ef257a9b6697 [weak]
   - Filesize:753240 [weak]
  Last modification reported: Sun, 20 Oct 2019 07:01:11 +0000
  Release file created at: Sun, 20 Oct 2019 07:00:27 +0000
Réception de :14 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [593 kB]
Err :14 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages     
  
Réception de :15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [295 kB]
Réception de :16 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [254 kB]
Réception de :17 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2 464 B]
1 608 ko réceptionnés en 7s (220 ko/s)                                         
Lecture des listes de paquets... Fait
E: Impossible de récupérer http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-amd64/by-hash/SHA256/f24e86e9aec3b364bc2ab3fba09bafb1e6a286a76d2787312dc9230759d3d8cf  Somme de contrôle de hachage incohérente
   Hashes of expected file:
    - Filesize:753240 [weak]
    - SHA256:f24e86e9aec3b364bc2ab3fba09bafb1e6a286a76d2787312dc9230759d3d8cf
    - SHA1:6c4fe6d09766be0c24e362c0e129cd5b4d4d0e34 [weak]
    - MD5Sum:0c77eed81cb76edca1bb3ece501bb6a3 [weak]
   Hashes of received file:
    - SHA256:b3760962fdc28491d45efec9431c07ebbc5321f0ace41e2c100d382a626eb49e
    - SHA1:d5ebd073481bb0bc32716155c2b77d60e3de109a [weak]
    - MD5Sum:5e088820f1e006893668ef257a9b6697 [weak]
    - Filesize:753240 [weak]
   Last modification reported: Sun, 20 Oct 2019 07:01:11 +0000
   Release file created at: Sun, 20 Oct 2019 07:00:27 +0000
E: Impossible de récupérer http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-i386/by-hash/SHA256/a878da69e49e181b301057d662b92664430958c89d7356075484739d2b258281  
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.
Voila voila, je doit être en 64 bit, intel core 7, sur un HP ENVY dv7, 16go RAM, Linux Mint 19.1 (Je vais fire ma signature de ce pas!)

Re: Problème apt-get update, Somme de contrôle de hachage incohérente

Posté : dim. 20 oct. 2019 11:56
par tyrry
Slt ,
sur ton retour on vois que tu as pas fait correctement les commandes:
refait :

Code : Tout sélectionner

sudo rm -rf /etc/apt/sources.list.d/*
ensuite :

Code : Tout sélectionner

sudo xed /etc/apt/sources.list.d/official-package-repositories.list
dans xed tu colles ce qui suit :

Code : Tout sélectionner

deb http://packages.linuxmint.com tessa main upstream import backport 

deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ bionic partner
enregistre et ferme xed puis :

Code : Tout sélectionner

sudo apt update
@+

Re: Problème apt-get update, Somme de contrôle de hachage incohérente

Posté : dim. 20 oct. 2019 14:41
par Purpurascens
Je me doutais bien avoir fait mal quelquechose, mais je ne vois pas où, c'est quoi le "xed"? La deuxième commande que je rentre m'ouvre une sorte d'éditeur de texte, c'est la où j'ai collé les "deb", avec la réponse au get update précédent.. Eclairez moi svp

Re: Problème apt-get update, Somme de contrôle de hachage incohérente

Posté : dim. 20 oct. 2019 14:45
par Purpurascens
Voila, j'ai refait, voici la réponse:

Code : Tout sélectionner

louis@PC-Louis:~$ sudo rm -rf /etc/apt/sources.list.d/*
Faites glisser votre doigt sur le lecteur d'empreintes
louis@PC-Louis:~$ sudo xed /etc/apt/sources.list.d/official-package-repositories.list
Ici le fameux xed s'ouvre, je colle les deb, ctrl+s, je ferme, puis le update:

Code : Tout sélectionner

louis@PC-Louis:~$ sudo apt update
Réception de :1 http://archive.canonical.com/ubuntu bionic InRelease [10,2 kB]
Réception de :2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Ign :3 http://packages.linuxmint.com tessa InRelease                           
Atteint :4 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic InRelease
Atteint :5 http://archive.ubuntu.com/ubuntu bionic InRelease                   
Atteint :6 https://qgis.org/ubuntu bionic InRelease                            
Atteint :7 http://packages.linuxmint.com tessa Release                         
Réception de :8 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Atteint :10 https://qgis.org/ubuntugis bionic InRelease                        
Atteint :11 http://au.archive.ubuntu.com/ubuntu bionic InRelease               
Réception de :12 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Réception de :13 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [593 kB]
Err :13 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
  Somme de contrôle de hachage incohérente
  Hashes of expected file:
   - Filesize:592676 [weak]
   - SHA256:a878da69e49e181b301057d662b92664430958c89d7356075484739d2b258281
   - SHA1:5fa4107f7b13b5e0c6833f004f5fd9828cf84b1f [weak]
   - MD5Sum:1956ab0c4aa6bea753ed9adcebd11629 [weak]
  Hashes of received file:
   - SHA256:5e8324916ac586ec7a1922fb63f772b04798ae19b1ab9778451e2898b8873c13
   - SHA1:fe01b8f3782e265fd311ad7888de856a07c7e08d [weak]
   - MD5Sum:7f3def52dca193b90b07eda66c8781c2 [weak]
   - Filesize:592676 [weak]
  Last modification reported: Sun, 20 Oct 2019 07:01:11 +0000
  Release file created at: Sun, 20 Oct 2019 09:26:12 +0000
Réception de :14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [753 kB]
Err :14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
  
Réception de :15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [295 kB]
Réception de :16 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [254 kB]
Réception de :17 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2 464 B]
1 608 ko réceptionnés en 7s (242 ko/s)                                         
Lecture des listes de paquets... Fait
E: Impossible de récupérer http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-i386/by-hash/SHA256/a878da69e49e181b301057d662b92664430958c89d7356075484739d2b258281  Somme de contrôle de hachage incohérente
   Hashes of expected file:
    - Filesize:592676 [weak]
    - SHA256:a878da69e49e181b301057d662b92664430958c89d7356075484739d2b258281
    - SHA1:5fa4107f7b13b5e0c6833f004f5fd9828cf84b1f [weak]
    - MD5Sum:1956ab0c4aa6bea753ed9adcebd11629 [weak]
   Hashes of received file:
    - SHA256:5e8324916ac586ec7a1922fb63f772b04798ae19b1ab9778451e2898b8873c13
    - SHA1:fe01b8f3782e265fd311ad7888de856a07c7e08d [weak]
    - MD5Sum:7f3def52dca193b90b07eda66c8781c2 [weak]
    - Filesize:592676 [weak]
   Last modification reported: Sun, 20 Oct 2019 07:01:11 +0000
   Release file created at: Sun, 20 Oct 2019 09:26:12 +0000
E: Impossible de récupérer http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-amd64/by-hash/SHA256/f24e86e9aec3b364bc2ab3fba09bafb1e6a286a76d2787312dc9230759d3d8cf  
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.
Any idea ?

Re: Problème apt-get update, Somme de contrôle de hachage incohérente

Posté : dim. 20 oct. 2019 16:45
par tyrry
Slt ,
je te propose ,( ensuite j'ai plus d'idée) :

Code : Tout sélectionner

sudo rm -rf /var/cache/apt/*

Code : Tout sélectionner

sudo apt clean

Code : Tout sélectionner

sudo apt update
@+