Re: Wheezy: "aptitude update" fails
On Sat, 19 May 2012 04:27:07 -0700, T Elcor wrote:
(...)
>> And put here the output.
>
> Here it is:
>
> # apt-get update
(...)
> Hit http://ftp.de.debian.org wheezy InRelease
> Get:1 http://ftp.de.debian.org wheezy/main amd64 Packages/DiffIndex [7,876 B]
> Get:2 http://ftp.de.debian.org wheezy/main TranslationIndex [2,295 B]
> Ign http://ftp.de.debian.org wheezy/non-free TranslationIndex
> Get:3 http://ftp.de.debian.org wheezy/non-free amd64 Packages [90.9 kB]
> Ign http://ftp.de.debian.org wheezy/main Translation-en
> Ign http://ftp.de.debian.org wheezy/non-free Translation-en_US
> Ign http://ftp.de.debian.org wheezy/non-free Translation-en
> Fetched 10.2 kB in 2s (4,211 B/s)
(...)
Okay, much better now :-)
"security" still fails because you did not commented out...
> W: Failed to fetch gzip:/var/lib/apt/lists/partial/ftp.de.debian.org_debian_dists_wheezy_non-free_binary-amd64_Packages
> Hash Sum mismatch
>
> E: Some index files failed to download. They have been ignored, or old ones used instead.
Clean your local apt cache:
apt-get clean
> # cat /etc/apt/sources.list
> deb http://ftp.de.debian.org/debian/ wheezy main
> deb http://ftp.de.debian.org/debian/ wheezy non-free
> deb http://security.debian.org/ wheezy/updates main
Then, put these two lines *as is* in your "sources.list":
deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free
#deb http://security.debian.org/ wheezy/updates main
Finally, refresh your repo cache (apt-get update) and resend the output.
Greetings,
--
Camaleón
Reply to: