[Bug 948461] Re: apt-get hashsum/size mismatch due caused by swapped local file names

2012-03-07 Thread Ben Howard
Regarding comment #13, I think the concern is moot right now. I was able to replicate the issue with "-o=Acquire::http::Pipeline-Depth=0" turned on. Which means that pipelining may contribute but doesn't appear to be the sole cause. Failed to fetch http://us-east-1.ec2.archive.ubuntu.com.s3.amaz

Re: [Bug 948461] Re: apt-get hashsum/size mismatch due caused by swapped local file names

2012-03-07 Thread Scott Moser
On Wed, 7 Mar 2012, Ben Howard wrote: > Scott, > > I can confirm that "-o=Acquire::http::Pipeline-Depth=0" appears to fix > the problem. We'll need to look at putting that configuration option > into the cloud-images. Well thats not really a complete fix though. * existing images do not hav

[Bug 948461] Re: apt-get hashsum/size mismatch due caused by swapped local file names

2012-03-06 Thread Ben Howard
Scott, I can confirm that "-o=Acquire::http::Pipeline-Depth=0" appears to fix the problem. We'll need to look at putting that configuration option into the cloud-images. Thanks Scott and Steve for digging on this. -- You received this bug notification because you are a member of Ubuntu Bugs, w

[Bug 948461] Re: apt-get hashsum/size mismatch due caused by swapped local file names

2012-03-06 Thread Scott Moser
Some more data, after discussing with slangasek. The attached script will run seemingly forever (100 times run) as it is, however if we remove the flag: -o=Acquire::http::Pipeline-Depth=0 to apt, then it will generally fail < 10 times. (data collected on m1.large "right now", with mirrors set to

[Bug 948461] Re: apt-get hashsum/size mismatch due caused by swapped local file names

2012-03-06 Thread Scott Moser
Ben, Can you see this fail on mirrors other than the new s3 backed mirrors? I've tried several times and have been unable to reproduce on the us-east-1.ec2.archive.ubuntu.com mirrors. However, I can reproduce fairly regularly against s3 mirrors See log at http://paste.ubuntu.com/872478/

[Bug 948461] Re: apt-get hashsum/size mismatch due caused by swapped local file names

2012-03-06 Thread Dustin Kirkland
** Also affects: apt (Ubuntu Hardy) Importance: Undecided Status: New ** Also affects: apt (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: apt (Ubuntu Maverick) Importance: Undecided Status: New ** Also affects: apt (Ubuntu Natty) Importance: Un

[Bug 948461] Re: apt-get hashsum/size mismatch due caused by swapped local file names

2012-03-06 Thread Ben Howard
** Tags added: server -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/948461 Title: apt-get hashsum/size mismatch due caused by swapped local file names To manage notifications about this bug go to:

[Bug 948461] Re: apt-get hashsum/size mismatch due caused by swapped local file names

2012-03-06 Thread Ben Howard
I've confirmed this bug exists on Hardy, Lucid, Maverick, Oneiric, Natty and Precise. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/948461 Title: apt-get hashsum/size mismatch due caused by swapped

[Bug 948461] Re: apt-get hashsum/size mismatch due caused by swapped local file names

2012-03-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apt (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/948461 Title: apt-get

[Bug 948461] Re: apt-get hashsum/size mismatch due caused by swapped local file names

2012-03-06 Thread Ben Howard
Bug confirmed for Oneiric too: root@ip-10-64-61-11:/var/cache/apt/archives/partial# dpkg -I xserver-xorg-core_2%3a1.10.4-1ubuntu4.2_i386.deb new debian package, version 2.0. size 90230 bytes: control archive= 720 bytes. 709 bytes,18 lines control 255 bytes,

[Bug 948461] Re: apt-get hashsum/size mismatch due caused by swapped local file names

2012-03-06 Thread Ben Howard
Confirmed on Natty: Fetched 13.7 MB in 12s (1,106 kB/s) W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us-east-1.ec2.archive.ubuntu.

[Bug 948461] Re: apt-get hashsum/size mismatch due caused by swapped local file names

2012-03-06 Thread Ben Howard
** Attachment removed: "APT log of "apt-get -y install firefox > /tmp/apt.log 2>&1" https://bugs.launchpad.net/ubuntu/+source/apt/+bug/948461/+attachment/2825499/+files/Screenshot%20at%202012-03-05%2009%3A37%3A06.png ** Attachment added: "APT log of "apt-get -y install firefox > /tmp/apt.log

[Bug 948461] Re: apt-get hashsum/size mismatch due caused by swapped local file names

2012-03-06 Thread Ben Howard
Steps to repoduce (reliably): 1) Launch an instance in EC2 2) Run: sed -i "s,ec2.archive.ubuntu.com,ec2.archive.ubuntu.com.s3.amazonaws.com,g" /etc/apt/sources.list 3.) Set your apt debug levels to whatever you want 4) Run "apt-get -y update" 5) Run "apt-get -y install firefox xorg libreoffice >

[Bug 948461] Re: apt-get hashsum/size mismatch due caused by swapped local file names

2012-03-06 Thread Ben Howard
** Attachment added: "Contents of /var/lib/apt and /var/cache/apt" https://bugs.launchpad.net/ubuntu/+source/apt/+bug/948461/+attachment/2825584/+files/apt-cache-lib.tbx -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.

[Bug 948461] Re: apt-get hashsum/size mismatch due caused by swapped local file names

2012-03-06 Thread Ben Howard
Apt log of import ** Attachment added: "APT log of "apt-get -y install firefox > /tmp/apt.log 2>&1" https://bugs.launchpad.net/ubuntu/+source/apt/+bug/948461/+attachment/2825499/+files/Screenshot%20at%202012-03-05%2009%3A37%3A06.png -- You received this bug notification because you are a me

[Bug 948461] Re: apt-get hashsum/size mismatch due caused by swapped local file names

2012-03-06 Thread Ben Howard
** Description changed: apt-get is appears to be mangling the local caching file names, which is appearing as a hashsum or size mismatch. Evidence below: apt-get -y install firefox with debug for HTTP turned on: - _