Bug#517054: apt-get update seems to fail getting SourceIndex Re: Bug#517054: Cannot update sid image via pbuilder update/apt-get fails.

Junichi Uekawa dancer at netfort.gr.jp
Wed Feb 25 14:04:38 UTC 2009


Hi,

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

instead of 
	apt-get update
doing
	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.


---
root at szczaw:~# apt-get update
Get:1 http://http.us.debian.org unstable Release.gpg [189B]
[...]
Get:100 http://http.us.debian.org unstable/non-free 2009-02-19-1435.55.pdiff
[490B]
Fetched 8476kB in 2min23s (58.9kB/s)                                           
W: Failed to fetch
http://http.us.debian.org/debian/dists/unstable/contrib/source/SourcesIndex
MD5Sum mismatch
---



regards,
	junichi
-- 
dancer@{netfort.gr.jp,debian.org}





More information about the Pbuilder-maint mailing list