Dear Maintainer,
as I still encounter this when building Docker images on our build
server, I did some further investigations. A forum post suggested this
could be caused by a virus scanner in the company network, which first
downloads the file, scans it and only then allows the client to
download. This seems to cause a timeout for this one file, where the
scanner needs an unusual long time to scan (maybe caused by the many
library files included in the package).
So my workaround for now is to call apt-get with increased timeout:
apt-get -y -o Acquire::http::Timeout=120 install gcc-mingw-w64-x86-64-posix
This seems to solve the problem for me, so the bug can be closed.
Best regards,
Karsten