-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hash Sum mismatch failures #29
Comments
yes I am getting similar errors. |
errors with this container are escalating... getting hash sum mismatch, and tcp closed connection errors. |
Hmm @sameersbn do you happen to know what might be causing these errors? Now I'm paranoid about SolarWinds / Sunburst build system hacking. |
with container, I could not easily get access to the acng.conf file. Perhaps the standard install needs tweaking, but would want the conf file to maintain state after upgrading. |
FWIW I switched my image to mbentley/apt-cacher-ng (https://github.com/mbentley/docker-apt-cacher-ng) and I don't seem to be seeing the weird
|
@bucky2076 's solution is the way to go: run a dedicated VM for that. I tried everything, from this image, the other named image and creating my own based on recent Debian. Nothing solved the "Hash sum missmatch". Running in a VM will help, but you have to double check with the underlying filesystem. I was using 9P first to use NAS's storage, but it resulted in the same "has sum missmatch" errors then before.. at least it took longer/bigger files. You can go with a filesystem on the VM itself. I was successful using CIFS with the following options:
|
Does anybody else get "Hash Sum mismatch" errors when using this proxy? Restarting the aptcacherng container doesn't seem to help. Even deleting its data volume (it reached 1.4GB) and restarting the container does not fix it. Nor does
docker system prune -f --volumes
to clear docker image build layers. The docker server is 19.03.11 and ubuntu 16, but upgrading docker to 19.03.13 didn't help.Finally the fix seemed to be adding
apt-get clean && rm -rf /var/lib/apt/lists/* && apt-get update &&
to the beginning of everyRUN
command in my Dockerfile which usedapt-get
. Hopefully this helps someone.From my buildenv/docker-compose.yml:
The text was updated successfully, but these errors were encountered: