Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [DE] [Gelöst:] apt-get update: hash-Summe stimmt nicht überein  (Read 21007 times)

Offline 10toe

  • User
  • Posts: 159
Seit Wochen erhalte ich nach apt-get update folgende Warnungen und Fehlermeldung:


Code: [Select]
W: Fehlschlag beim Holen von http://http.debian.net/debian/dists/unstable/main/binary-amd64/PackagesIndex  Hash-Summe stimmt nicht überein


W: Fehlschlag beim Holen von http://http.debian.net/debian/dists/unstable/main/binary-i386/PackagesIndex  Hash-Summe stimmt nicht überein


E: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt.


Ein ähnliches Thema gabs hier schon mal: http://forum.siduction.org/index.php?topic=4338.msg36117#msg36117, doch ich fürchte, ich brauche doch noch Hilfe... ich habe das Gefühl, "irgendwas resetten" zu müssen... Aber wo nachgucken?


Vielen Dank im Voraus!
Hans
« Last Edit: 2014/05/23, 11:20:27 by 10toe »

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: apt-get update: hash-Summe stimmt nicht überein
« Reply #1 on: 2014/05/22, 19:29:29 »
nimm einfach einen anderen Spiegel - dann holt er die Daten neu ohne pdiffs - oder schalt pdiffs ab, nimm gzip als Compression etc ...

Edit: Oder mail DonKult ganz freundlich an, wann er vor hat, das endlich zu reparieren :D
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
Re: apt-get update: hash-Summe stimmt nicht überein
« Reply #2 on: 2014/05/22, 20:31:29 »
Hallo melmarker, hallo 10toe!

wenn man erstmal von debian main abgeschnitten ist, dann nützen noch so viele Patches im Repo nichts mehr.

Du kannst es mit folgendem Befehl probieren:
Code: [Select]
apt-get update || apt-get -o Acquire::Pdiffs=false update && apt-get -dy dist-upgrade
Hintergrund: es gab einen Bug in der xz-Dekompression von apt. Durch die Option "Acquire::Pdiffs=false" werden andere Index-Dateien geladen, bei denen der Fehler wahrscheinlich nicht auftritt.

Bei dem Dist-updrade sollte dann auch eine korrigierte Version von apt dabei sein (apt 1.0 vom 1.4.14)
Ansonsten einfach nochmal nachfragen, bitte! Wir rücken dann mehr Details heraus.

viele Grüße (und viele aktualisierte Pakete!)
musca
„Es irrt der Mensch, solang er strebt.“  (Goethe, Faust)

Offline 10toe

  • User
  • Posts: 159
Re: apt-get update: hash-Summe stimmt nicht überein
« Reply #3 on: 2014/05/22, 21:42:32 »
Klasse, danke Euch! Mit muscas Zeile läuft es jetzt endlich wieder durch!


Sollte man danach pdiffs wieder anschalten? (Wie?)


Viele Grüße!
Hans

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: apt-get update: hash-Summe stimmt nicht überein
« Reply #4 on: 2014/05/22, 21:43:18 »
die cli-option ist für einmaligen gebrauch
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
Re: apt-get update: hash-Summe stimmt nicht überein
« Reply #5 on: 2014/05/22, 23:44:49 »
Hallo 10toe,
schön, dass es wieder klappt.

Das ist der Trick an meiner Zeile: Die Verwendung der Pdiffs bleibt der Standard, der  || Operator führt die Alternative nur aus, wenn "apt-get update" einen Fehlerstatus setzt. Dadurch wird meistens die Bandbreite der Mirrors geschont, und nur bei Bedarf automatisch die volle Liste heruntergeladen. Falls einer der beiden Update-Befehle geklappt hat, werden ohne Rückfrage die neuen Pakete nur heruntergeladen und der Vorgang ohne Änderungen am System bendet.

Anschliessend kannst Du ganz normal dein "apt-get dist-upgrade" durchführen.

ausführliche Grüße
musca
„Es irrt der Mensch, solang er strebt.“  (Goethe, Faust)

Offline 10toe

  • User
  • Posts: 159
Re: apt-get update: hash-Summe stimmt nicht überein
« Reply #6 on: 2014/05/23, 11:18:39 »
Danke, musca!


Dies könnte man evtl. ins Manual oder Wiki aufnehmen! :-)


Viele Grüße!
Hans

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: [Gelöst:] apt-get update: hash-Summe stimmt nicht überein
« Reply #7 on: 2014/05/23, 12:05:36 »
Es ist ein Wiki - also los und nur Mut. Wir sind auch nicht so nörgelig wie die Gutmenschen bei wikipedia.de
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: [Gelöst:] apt-get update: hash-Summe stimmt nicht überein
« Reply #8 on: 2014/05/24, 01:18:36 »
First thing I do after install is edit

Code: [Select]
/etc/apt/apt.conf.d/70debconf
and add this line

Code: [Select]
Acquire::PDiffs "false";
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
Re: [Gelöst:] apt-get update: hash-Summe stimmt nicht überein
« Reply #9 on: 2014/05/24, 12:09:18 »
Hello piper,

Pdiffs are really smaller and use only 3 - 5% of the bandwidth (they are still slowly though).
Saving bandwidth is good for the budget of the project.

In the case of the xz compression bug even avoiding Pdiffs would not have saved you perfectly, as the full lists could also be hit by the bug and I have seen such a case in the #debian-next channel.

I have solved my issues with the redirector of http://http.debian.net . A source line like
Code: [Select]
deb http://http.debian.net/debian/ unstable main contrib non-freeis almost worry free.

just saying ... everybody will find his own way in this matter.
musca
„Es irrt der Mensch, solang er strebt.“  (Goethe, Faust)

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: [Gelöst:] apt-get update: hash-Summe stimmt nicht überein
« Reply #10 on: 2014/05/24, 17:23:12 »
The one major reason I disable this is speed, using Pdiffs dramatically slows down the time to du, I should really post a video to prove this. It is a major slowdown here, and has been since I believe sidux days if I remember correctly.
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck