Proxy problems after upgrade to Ubuntu 16.04 / Apt 1.2
I used the cntlm proxy for authentication against a ntlm proxy server in the past.
While this worked seamlessly in 14.04, now I get some Hash Sum mismatches when trying to sudo apt update
. I also tried all suggested solutions like clearing the cash or removing /var/lib/apt/partials/*
. Firefox and other terminal applications work fine, environmental variables are set correct.
I think this has something to do with the upgrade to apt 1.2 happened in 16.04.
I don't know, if this can be fixed by configuration somehow.
And if not, can you tell me where to file this bug, or any other information to apt 1.2? What changed in the update and could be causing this problem?
Do you know any other methods to teach ubuntu the ntlm protocol for authenticating against such proxies?
It is really important for me to get this working, because without cntlm I will have to use windows. This really can't be a viable solution ;)
EDIT: I tried this with a fresh installation of 16.04. So with upgrade I don't mean upgrading the same installation, but setting up a new one.
Solution 1:
Looks like a bug in apt 1.2.
I could resolve this by adding the following lines to /etc/apt/apt.conf
as suggested here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810796
Acquire::http::No-Cache true;
Acquire::http::Pipeline-Depth 0;