Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Wheezy: Err http://ftp.us.debian.org wheezy/main Translation-en 404 Not Found [IP: 128.61.240.89 80]

3,415 views
Skip to first unread message

T Elcor

unread,
May 17, 2012, 2:00:03 PM5/17/12
to
Hi,

Started to have problems safe-upgrading wheezy several day ago. Any ideas? Thanks


# aptitude update && aptitude safe-upgrade
Hit http://ftp.us.debian.org wheezy InRelease
Hit http://ftp.us.debian.org wheezy/main amd64 Packages/DiffIndex
Hit http://security.debian.org wheezy/updates InRelease
Hit http://ftp.us.debian.org wheezy/non-free amd64 Packages/DiffIndex
Get: 1 http://security.debian.org wheezy/updates/main amd64 Packages [979 B]
Get: 2 http://ftp.us.debian.org wheezy/main Translation-en [3,834 kB]
Get: 3 http://ftp.us.debian.org wheezy/non-free Translation-en [61.5 kB]
Err http://ftp.us.debian.org wheezy/main Translation-en
404 Not Found [IP: 128.61.240.89 80]
Err http://security.debian.org wheezy/updates/main amd64 Packages
404 Not Found [IP: 149.20.20.6 80]
Err http://ftp.us.debian.org wheezy/non-free Translation-en
404 Not Found [IP: 128.61.240.89 80]
Ign http://security.debian.org wheezy/updates/main Translation-en_US
Ign http://security.debian.org wheezy/updates/main Translation-en
Fetched 3 B in 1s (2 B/s)
W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/main/i18n/Translation-en: 404 Not Found [IP: 128.61.240.89 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/non-free/i18n/Translation-en: 404 Not Found [IP: 128.61.240.89 80]

W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/binary-amd64/Packages: 404 Not Found [IP: 149.20.20.6 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Couldn't rebuild package cache



# cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ wheezy main
deb http://ftp.us.debian.org/debian/ wheezy non-free

# security updates
deb http://security.debian.org/ wheezy/updates main


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1337277563.84367...@web121902.mail.ne1.yahoo.com

Camaleón

unread,
May 18, 2012, 1:00:02 PM5/18/12
to
On Thu, 17 May 2012 10:59:23 -0700, T Elcor wrote:

> Started to have problems safe-upgrading wheezy several day ago. Any
> ideas? Thanks
>
>
> # aptitude update && aptitude safe-upgrade

(...)

> Get: 3 http://ftp.us.debian.org wheezy/non-free Translation-en [61.5 kB]
> Err http://ftp.us.debian.org wheezy/main Translation-en
> 404 Not Found [IP: 128.61.240.89 80]

(...)

Is this still hitting you? It could have been a transient error :-?

> E: Some index files failed to download. They have been ignored, or old
> ones used instead. E: Couldn't rebuild package cache
>
>
>
> # cat /etc/apt/sources.list
> deb http://ftp.us.debian.org/debian/ wheezy main
> deb http://ftp.us.debian.org/debian/ wheezy non-free

(...)

Tip: you can use a "one-liner" instead:

deb http://ftp.us.debian.org/debian/ wheezy main non-free

(and there's also the "contrib" option if you want use it, also for
the security repo)

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/jp5uvm$jg9$9...@dough.gmane.org

T Elcor

unread,
May 18, 2012, 6:30:03 PM5/18/12
to
--- On Fri, 5/18/12, Camaleón <noel...@gmail.com> wrote:

>> Get: 3 http://ftp.us.debian.org wheezy/non-free Translation-en [61.5 kB]
>> Err http://ftp.us.debian.org wheezy/main Translation-en
>> 404 Not Found [IP: 128.61.240.89 80]

> Is this still hitting you? It could have been a transient error :-?

Still having this problem. Weird, IPs change, so it doesn't look like a single failed server problem.


> Tip: you can use a "one-liner" instead:
> deb http://ftp.us.debian.org/debian/ wheezy main non-free

Tried it, the error is still there.

Thanks


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1337379624.83437...@web121903.mail.ne1.yahoo.com

Camaleón

unread,
May 19, 2012, 4:30:01 AM5/19/12
to
On Fri, 18 May 2012 15:20:24 -0700, T Elcor wrote:

> --- On Fri, 5/18/12, Camaleón <noel...@gmail.com> wrote:
>
>>> Get: 3 http://ftp.us.debian.org wheezy/non-free Translation-en [61.5
>>> kB] Err http://ftp.us.debian.org wheezy/main Translation-en
>>> 404 Not Found [IP: 128.61.240.89 80]
>
>> Is this still hitting you? It could have been a transient error :-?
>
> Still having this problem. Weird, IPs change, so it doesn't look like a
> single failed server problem.

Weird... I'm also using wheezy and haven't experienced any problem though
I use "apt-get update && apt-get -V dist-upgrade" to update the system.

Are you (or your ISP) behind some kind of proxy?

>> Tip: you can use a "one-liner" instead: deb
>> http://ftp.us.debian.org/debian/ wheezy main non-free
>
> Tried it, the error is still there.

Yes, it was just a "cosmetic" tip. I like having things ordered O:-)

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/jp7lkl$27j$7...@dough.gmane.org

T Elcor

unread,
May 19, 2012, 5:40:02 AM5/19/12
to
--- On Sat, 5/19/12, Camaleón <noel...@gmail.com> wrote:

> Weird... I'm also using wheezy and haven't experienced any
> problem though
> I use "apt-get update && apt-get -V dist-upgrade" to
> update the system.
>
> Are you (or your ISP) behind some kind of proxy?

Not that I know of. Besides, I can access the following URLs from the browser without any problems:
http://ftp.us.debian.org/debian/dists/wheezy/main/
http://ftp.us.debian.org/debian/dists/wheezy/non-free/

It's beginning to look like an aptitude problem to me.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1337420336.92200...@web121901.mail.ne1.yahoo.com

Camaleón

unread,
May 19, 2012, 7:10:03 AM5/19/12
to
On Sat, 19 May 2012 02:38:56 -0700, T Elcor wrote:

> --- On Sat, 5/19/12, Camaleón <noel...@gmail.com> wrote:
>
>> Weird... I'm also using wheezy and haven't experienced any problem
>> though
>> I use "apt-get update && apt-get -V dist-upgrade" to update the system.
>>
>> Are you (or your ISP) behind some kind of proxy?
>
> Not that I know of. Besides, I can access the following URLs from the
> browser without any problems:
> http://ftp.us.debian.org/debian/dists/wheezy/main/
> http://ftp.us.debian.org/debian/dists/wheezy/non-free/

Oh, of course the file is there and accesible via browser, but that tells
you little because you are connected to a "dynamic" mirror, it redirects
you to a different server every time:

sm01@stt008:~$ host ftp.us.debian.org
ftp.us.debian.org has address 128.61.240.89
ftp.us.debian.org has address 199.6.12.70
ftp.us.debian.org has address 35.9.37.225
ftp.us.debian.org has address 64.50.233.100
ftp.us.debian.org has address 64.50.236.52
ftp.us.debian.org has address 128.30.2.36
ftp.us.debian.org has IPv6 address 2610:148:1f10:3::89
ftp.us.debian.org has IPv6 address 2001:500:61:28::70

Okay, you can try with a different mirror. Edit your "sources.list" file
and keep only this line (comment out "#" the rest):

deb http://ftp.de.debian.org/debian/ wheezy main non-free

Then jump to a console and run:

apt-get update && apt-get -V dist-upgrade

And put here the output.

> It's beginning to look like an aptitude problem to me.

That would make sense if "apt-get" worked. If apt-get fails in the same
way, you're stuck at the same "unknown" point :-)

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/jp7ugm$27j$1...@dough.gmane.org

T Elcor

unread,
May 19, 2012, 7:30:02 AM5/19/12
to
--- On Sat, 5/19/12, Camaleón <noel...@gmail.com> wrote:

> Okay, you can try with a different mirror. Edit your
> "sources.list" file
> and keep only this line (comment out "#" the rest):
>
> deb http://ftp.de.debian.org/debian/ wheezy main non-free
>
> Then jump to a console and run:
>
> apt-get update && apt-get -V dist-upgrade
>
> And put here the output.

Here it is:

# apt-get update
Hit http://security.debian.org wheezy/updates InRelease
Ign http://security.debian.org wheezy/updates/main TranslationIndex
Err http://security.debian.org wheezy/updates/main amd64 Packages
404 Not Found [IP: 128.31.0.36 80]
Ign http://security.debian.org wheezy/updates/main Translation-en_US
Ign http://security.debian.org wheezy/updates/main Translation-en
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)
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/binary-amd64/Packages 404 Not Found [IP: 128.31.0.36 80]

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.


# cat /etc/apt/sources.list
deb http://ftp.de.debian.org/debian/ wheezy non-free
deb http://security.debian.org/ wheezy/updates main


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1337426827.74136...@web121901.mail.ne1.yahoo.com

Camaleón

unread,
May 19, 2012, 8:00:01 AM5/19/12
to
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


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/jp81d9$27j$1...@dough.gmane.org

T Elcor

unread,
May 19, 2012, 11:40:02 AM5/19/12
to
--- On Sat, 5/19/12, Camaleón <noel...@gmail.com> wrote:

> "security" still fails because you did not commented out...

In theory, security may fail because there are no security updates for wheezy yet, in practice that line was working fine for months without any problems until several days ago.

> 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.


# apt-get clean
# apt-get update
Hit http://ftp.de.debian.org wheezy InRelease
Hit http://ftp.de.debian.org wheezy/main amd64 Packages/DiffIndex
Get:1 http://ftp.de.debian.org wheezy/contrib amd64 Packages/DiffIndex [6,991 B]
Ign http://ftp.de.debian.org wheezy/contrib TranslationIndex
Hit http://ftp.de.debian.org wheezy/main TranslationIndex
Ign http://ftp.de.debian.org wheezy/non-free TranslationIndex
Get:2 http://ftp.de.debian.org wheezy/non-free amd64 Packages [90.9 kB]
Ign http://ftp.de.debian.org wheezy/contrib Translation-en_US
Ign http://ftp.de.debian.org wheezy/contrib Translation-en
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 6,992 B in 1s (3,569 B/s)
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.


# cat /etc/apt/sources.list
deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1337441595.73667...@web121906.mail.ne1.yahoo.com

Camaleón

unread,
May 19, 2012, 12:00:02 PM5/19/12
to
On Sat, 19 May 2012 08:33:15 -0700, T Elcor wrote:

> --- On Sat, 5/19/12, Camaleón <noel...@gmail.com> wrote:
>
>> "security" still fails because you did not commented out...
>
> In theory, security may fail because there are no security updates for
> wheezy yet, in practice that line was working fine for months without
> any problems until several days ago.

Not at all, I also use wheezy and the security repo is working as it
should. It is something failing at your side :-)

>> Clean your local apt cache:
(...)
>> Then, put these two lines *as is* in your "sources.list":
(...)
>> Finally, refresh your repo cache (apt-get update) and resend the
>> output.
>
>
> # apt-get clean
> # apt-get update
(...)
> 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.

I'm starting to think you are facing a pure connectivity problem.

Can you use a different ISP/gateway?

> # cat /etc/apt/sources.list
> deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free

Any specific reason for not doing what I tell? ;-)

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/jp8fkb$27j$1...@dough.gmane.org

antoi...@free.fr

unread,
May 19, 2012, 12:00:02 PM5/19/12
to


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


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1337441914.4...@imp.free.fr

Camaleón

unread,
May 19, 2012, 12:10:01 PM5/19/12
to
On Sat, 19 May 2012 17:38:34 +0200, antoinejou wrote:

> All of this makes me mad...

(...)

> 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

(...)

Okay, okay... I'm also getting the same "hash mismatch" error _now_.
There must be something changing at the servers, we'll have to wait.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/jp8g8v$27j$2...@dough.gmane.org

Tom H

unread,
May 19, 2012, 1:50:01 PM5/19/12
to
On Sat, May 19, 2012 at 12:03 PM, Camaleón <noel...@gmail.com> wrote:
> On Sat, 19 May 2012 17:38:34 +0200, antoinejou wrote:
>
>> All of this makes me mad...
>
> (...)
>
>> 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
>
> (...)
>
> Okay, okay... I'm also getting the same "hash mismatch" error _now_.
> There must be something changing at the servers, we'll have to wait.

This wasn't happening to me yesterday but it happened to me earlier today.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CAOdoSxpzjhYweDKQ2vrRTpW...@mail.gmail.com

Chris Bannister

unread,
May 20, 2012, 11:20:02 AM5/20/12
to
On Sat, May 19, 2012 at 11:50:01AM +0000, Camaleón wrote:
> On Sat, 19 May 2012 04:27:07 -0700, T Elcor wrote:
> >
> > E: Some index files failed to download. They have been ignored, or old ones used instead.
>
> Clean your local apt cache:
>
> apt-get clean

Unrelated.

The index files are stored under:
/var/lib/apt/lists/

The command "apt-get clean" clears out files under:
/var/cache/apt/archives/

Just wiped out your downloaded files. :(

--
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the
oppressing." --- Malcolm X


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20120520151129.GR31474@tal

Camaleón

unread,
May 20, 2012, 12:00:03 PM5/20/12
to
On Mon, 21 May 2012 03:11:30 +1200, Chris Bannister wrote:

> On Sat, May 19, 2012 at 11:50:01AM +0000, Camaleón wrote:
>> On Sat, 19 May 2012 04:27:07 -0700, T Elcor wrote:
>> >
>> > E: Some index files failed to download. They have been ignored, or
>> > old ones used instead.
>>
>> Clean your local apt cache:
>>
>> apt-get clean
>
> Unrelated.

Now we know where the problem was, yes, but not before.

And it's working fine now (at least for me), the OP should restore the
original sources.list and retry.

> The index files are stored under:
> /var/lib/apt/lists/

But apt was not complaining on the "local" index files...

> The command "apt-get clean" clears out files under:
> /var/cache/apt/archives/
>
> Just wiped out your downloaded files. :(

And that was exactly the point, removing the local cache of downloaded
deb files which could be bad or broken because of the presence of a proxy.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/jpb465$u2v$1...@dough.gmane.org

Chris Bannister

unread,
May 21, 2012, 11:40:02 AM5/21/12
to
Just to be clear. For the archives.

On Sun, May 20, 2012 at 03:55:49PM +0000, Camaleón wrote:
> On Mon, 21 May 2012 03:11:30 +1200, Chris Bannister wrote:

This: (We'll call it error 1 for clarity)

> >> > E: Some index files failed to download. They have been ignored, or
> >> > old ones used instead.

is not fixed by:

> >> Clean your local apt cache:
> >>
> >> apt-get clean

> But apt was not complaining on the "local" index files...

So you are refering to a different error to the one from above?
i.e. NOT error 1 ?
If yes, then it wasn't clear from your post.

> > The command "apt-get clean" clears out files under:
> > /var/cache/apt/archives/
> >
> > Just wiped out your downloaded files. :(

> And that was exactly the point, removing the local cache of downloaded
> deb files which could be bad or broken because of the presence of a proxy.

Really? In what way do you mean bad or broken? Each package is digitally
signed.

In fact, if the subject is correct, any files under
"/var/cache/apt/archives/" have nothing to do with aptitude update
failing.

Sorry if I misunderstood, but your sugestion that:
apt-get clean

will fix the error:

E: Some index files failed to download. They have been ignored, or old
ones used instead.

is simply not true.

--
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the
oppressing." --- Malcolm X


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20120521153054.GF24726@tal

T Elcor

unread,
May 21, 2012, 12:10:02 PM5/21/12
to
--- On Mon, 5/21/12, wrote:

I filed a bug, they are asking for other people's input who are having the same issue:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673521


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1337616181.41026...@web121901.mail.ne1.yahoo.com

Camaleón

unread,
May 21, 2012, 12:40:02 PM5/21/12
to
On Tue, 22 May 2012 03:30:55 +1200, Chris Bannister wrote:

> Just to be clear. For the archives.

The archives is precisely what you should read before replying to a post
to get a full understanding on the problem. If you have any doubt, just
ask.

> On Sun, May 20, 2012 at 03:55:49PM +0000, Camaleón wrote:
>> On Mon, 21 May 2012 03:11:30 +1200, Chris Bannister wrote:
>
> This: (We'll call it error 1 for clarity)
>
>> >> > E: Some index files failed to download. They have been ignored, or
>> >> > old ones used instead.
>
> is not fixed by:
>
>> >> Clean your local apt cache:
>> >>
>> >> apt-get clean

Yet again with the same... Now we know the error is not at the user side,
that can make sense but not before. Anyway, I was thinking in "E:
Couldn't rebuild package cache" message that was one of the first errors
the OP got.

>> But apt was not complaining on the "local" index files...
>
> So you are refering to a different error to the one from above? i.e. NOT
> error 1 ?
> If yes, then it wasn't clear from your post.

Then read the thread starting from the first post, dude.

>> > The command "apt-get clean" clears out files under:
>> > /var/cache/apt/archives/
>> >
>> > Just wiped out your downloaded files. :(
>
>> And that was exactly the point, removing the local cache of downloaded
>> deb files which could be bad or broken because of the presence of a
>> proxy.
>
> Really? In what way do you mean bad or broken? Each package is digitally
> signed.

I've seen problems in the past when using apt-get or aptitude and the
local cache was not generated properly. A broken connection or using a
proxy can trigger that.

> In fact, if the subject is correct, any files under
> "/var/cache/apt/archives/" have nothing to do with aptitude update
> failing.

The subject of the post is one thing and the logs and tests done
afterwards are another thing. The problem was finally at the repos.

> Sorry if I misunderstood, but your sugestion that: apt-get clean
>
> will fix the error:
>
> E: Some index files failed to download. They have been ignored, or old
> ones used instead.
>
> is simply not true.

Yes, you reached the wrong conclusion for my advice because I had not in
mind to solve a specific message error what's what you seemed to
understand...

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/jpdqq5$leu$1...@dough.gmane.org

T Elcor

unread,
May 23, 2012, 8:00:03 AM5/23/12
to
--- On Fri, 5/18/12, T Elcor <tel...@yahoo.com> wrote:

> >> Get: 3 http://ftp.us.debian.org wheezy/non-free
> Translation-en [61.5 kB]
> >> Err http://ftp.us.debian.org wheezy/main
> Translation-en
> >>   404  Not Found [IP:
> 128.61.240.89 80]

I was able to solve the problem by installing bzip2 package.

Apparently bzip2 package is now required for aptitude to work correctly though there is no dependency between them and the error messages aptitude provides give no clue.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1337774065.6774....@web121904.mail.ne1.yahoo.com

Camaleón

unread,
May 23, 2012, 11:10:03 AM5/23/12
to
On Wed, 23 May 2012 04:54:25 -0700, T Elcor wrote:

> --- On Fri, 5/18/12, T Elcor <tel...@yahoo.com> wrote:
>
>> >> Get: 3 http://ftp.us.debian.org wheezy/non-free
>> Translation-en [61.5 kB]
>> >> Err http://ftp.us.debian.org wheezy/main
>> Translation-en
>> >>   404  Not Found [IP:
>> 128.61.240.89 80]
>
> I was able to solve the problem by installing bzip2 package.
>
> Apparently bzip2 package is now required for aptitude to work correctly
> though there is no dependency between them and the error messages
> aptitude provides give no clue.

Are we still talking about the "Hash Sum mismatch" error?

If so, it makes no sense because:

1/ apt-get was failing in the same way than aptitude

2/ bzip2 has been installed in my system since it was installed and I
also got the same errors

So the "Hash Sum mismatch" message has to be a different problem.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/jpiu4q$kr$1...@dough.gmane.org

T Elcor

unread,
May 23, 2012, 11:50:02 AM5/23/12
to
--- On Wed, 5/23/12, Camaleón <noel...@gmail.com> wrote:

> Are we still talking about the "Hash Sum mismatch" error?

I was getting "Hash Sum mismatch" error only when I was going against a non-US mirror, with a US mirror (which I use by default) I was getting 404 Not Found.

> If so, it makes no sense because:
>
> 1/ apt-get was failing in the same way than aptitude
>
> 2/ bzip2 has been installed in my system since it was
> installed and I
> also got the same errors
>
> So the "Hash Sum mismatch" message has to be a different
> problem.

Maybe. The good thing is now both aptitude and apt are working, and not only that but they are working with US and non-US mirrors.

If you're curious, you may want to remove bzip2 and see what you get. And by the way, thanks for your help.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1337787584.82651...@web121903.mail.ne1.yahoo.com

Camaleón

unread,
May 23, 2012, 12:30:03 PM5/23/12
to
On Wed, 23 May 2012 08:39:44 -0700, T Elcor wrote:

> --- On Wed, 5/23/12, Camaleón <noel...@gmail.com> wrote:
>
>> Are we still talking about the "Hash Sum mismatch" error?
>
> I was getting "Hash Sum mismatch" error only when I was going against a
> non-US mirror, with a US mirror (which I use by default) I was getting
> 404 Not Found.

And is the "404" error solved or still present?

>> If so, it makes no sense because:
>>
>> 1/ apt-get was failing in the same way than aptitude
>>
>> 2/ bzip2 has been installed in my system since it was installed and I
>> also got the same errors
>>
>> So the "Hash Sum mismatch" message has to be a different problem.
>
> Maybe. The good thing is now both aptitude and apt are working, and not
> only that but they are working with US and non-US mirrors.

Ah, fine then, it had to be some sort of problem at the mirrors or
repositories infrastructure...

> If you're curious, you may want to remove bzip2 and see what you get.

No way! :-)

"apt-cache rdepends bzip2" returns 101 packages relying in bzip2 and
despite most of them could be "recommends" or "suggests" I don't want to
find out in the hard way :-}

> And by the way, thanks for your help.

You're welcome. Glad it finally got solved.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/jpj2qe$kr$2...@dough.gmane.org

T Elcor

unread,
May 23, 2012, 5:20:02 PM5/23/12
to
--- On Wed, 5/23/12, Camaleón <noel...@gmail.com> wrote:

> Ah, fine then, it had to be some sort of problem at the
> mirrors or
> repositories infrastructure...
>
> > If you're curious, you may want to remove bzip2 and see
> what you get.

Actually, you were right that it was a problem with the mirrors and repositories, and bzip2 isn't necessary for aptitude to work correctly.

I ran some tests and aptitude is working fine with or without bzip2, I guess my installing of bzip2 coincided with fixing of the problem on the infrastructure side.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1337807901.35675...@web121905.mail.ne1.yahoo.com
0 new messages