apt-get update seems to fail getting SourceIndex Bug#517054: Cannot update sid image via pbuilder update/apt-get fails.
Sending to a wider audience in case someone knows how to fix it.
At Wed, 25 Feb 2009 14:45:00 +0100,
Artur R. Czechowski wrote:
> On Wed, Feb 25, 2009 at 10:20:22PM +0900, Junichi Uekawa wrote:
> > Hi,
> > Does it happen outside of chroot too?
> No. But I have current Packages/Sources outside of chroot.
> If I login into chroot and update indices in other way (aptitude update),
> then run apt-get update problem does not exist.
> BTW, if you wish to fetch 115MB I can put my image for pbuilder on
> a server with fast uplink.
Actually, I've been seeing the problem too. It looked like a bad
interaction between approx and cdn.debian.net mirrors (and
http.us.debian.org too, since it's a load-balanced mirror, which
means, individual files can be fetched from different server).
Retrying 'apt-get update' several times inside chroot seemed to
apt-get update -o Acquire::PDiffs=false
seems to help, since it's failing in getting the correct diff index
for Sources file, but it's just making things less flakey.