Comment 4 for bug 948461

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote : Re: apt-get hashsum/size mismatch due caused by swapped local file names

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 > /tmp/install.log 2>&1"

The S3 EC2 mirrors seem to reproduce it more reliably for some reason. I thought that this was an issue with S3, but in attempting to prove to Amazon that is is S3, I found the evidence indicating that the cached files are being misnamed.