I needed to update a couple of debian and ubuntu servers in an protected lan.
Always handy to update using a socks proxy with tsocks. A problem arose with name resolution. Resolving DNS servers wasn’t possible. I think because DNS uses also udp which can not be proxied using tsocks.