Could you please please run with: sudo apt-get install foo -o Debug::pkgAcquire::Worker=true -o Debug::acquire::http=true -o Debug::pkgAcquire=true
and see what this output before it dies?
Could you please please run with: pkgAcquire: :Worker= true -o Debug:: acquire: :http=true -o Debug:: pkgAcquire= true
sudo apt-get install foo -o Debug::
and see what this output before it dies?