Re: Wheezy: "aptitude update" fails
All of this makes me mad...
# cat /etc/apt/sources.list
deb http://ftp.fr.debian.org/debian/ wheezy main
deb-src http://ftp.fr.debian.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# sudo aptitude update
Hit http://ftp.fr.debian.org wheezy InRelease
Hit http://security.debian.org wheezy/updates InRelease
Hit http://ftp.fr.debian.org wheezy/main Sources/DiffIndex
Hit http://ftp.fr.debian.org wheezy/main i386 Packages/DiffIndex
Hit http://ftp.fr.debian.org wheezy/main Translation-fr/DiffIndex
Prendre : 1 http://ftp.fr.debian.org wheezy/main Translation-en [3 834 kB]
Hit http://security.debian.org wheezy/updates/main Sources
Hit http://security.debian.org wheezy/updates/main i386 Packages
Ign http://security.debian.org wheezy/updates/main Translation-fr_FR
Ign http://security.debian.org wheezy/updates/main Translation-fr
Ign http://security.debian.org wheezy/updates/main Translation-en
1 o téléchargés en 6s (0 o/s)
W: Failed to fetch
bzip2:/var/lib/apt/lists/partial/ftp.fr.debian.org_debian_dists_wheezy_main_i18n_Translation-en:
Somme de contrôle de hachage incohérente
E: Some index files failed to download. They have been ignored, or old ones used
instead.
E: Impossible de reconstruire le cache des paquets
Try with a one-line file:
# cat /etc/apt/sources.list
deb http://ftp.fr.debian.org/debian/ wheezy main
# sudo aptitude clean && sudo aptitude update
Hit http://ftp.fr.debian.org wheezy InRelease
Hit http://ftp.fr.debian.org wheezy/main i386 Packages/DiffIndex
Hit http://ftp.fr.debian.org wheezy/main Translation-fr/DiffIndex
Prendre : 1 http://ftp.fr.debian.org wheezy/main Translation-en [3 834 kB]
1 o téléchargés en 5s (0 o/s)
W: Failed to fetch
bzip2:/var/lib/apt/lists/partial/ftp.fr.debian.org_debian_dists_wheezy_main_i18n_Translation-en:
Somme de contrôle de hachage incohérente
E: Some index files failed to download. They have been ignored, or old ones used
instead.
E: Impossible de reconstruire le cache des paquets
Then try with another location:
# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian/ wheezy main
# sudo aptitude clean && sudo aptitude update
Prendre : 1 http://ftp.debian.org wheezy InRelease [190 kB]
Prendre : 2 http://ftp.debian.org wheezy/main i386 Packages [5 793 kB]
Prendre : 3 http://ftp.debian.org wheezy/main Translation-fr [699 kB]
Prendre : 4 http://ftp.debian.org wheezy/main Translation-en [3 834 kB]
10,5 Mo téléchargés en 12s (810 ko/s)
État actuel : 39 mises à jour restantes [+39], 1308 nouveaux paquets [+1286].
Re-try with the original one-line file:
# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian/ wheezy main
# sudo aptitude clean && sudo aptitude update
Prendre : 1 http://ftp.fr.debian.org wheezy InRelease [190 kB]
Prendre : 2 http://ftp.fr.debian.org wheezy/main i386 Packages [5 796 kB]
Prendre : 3 http://ftp.fr.debian.org wheezy/main Translation-fr [699 kB]
Prendre : 4 http://ftp.fr.debian.org wheezy/main Translation-en [3 834 kB]
10,5 Mo téléchargés en 11s (885 ko/s)
W: Failed to fetch
bzip2:/var/lib/apt/lists/partial/ftp.fr.debian.org_debian_dists_wheezy_main_i18n_Translation-en:
Somme de contrôle de hachage incohérente
E: Some index files failed to download. They have been ignored, or old ones used
instead.
E: Impossible de reconstruire le cache des paquets
État actuel : 2 mises à jour restantes [+2], 1308 nouveaux paquets [+1286].
Best regards,
Antoine
Reply to: