So finalyy moved /usr/bin/auto-apt-proxy to /usr/bin/auto-apt-proxy1
and created /usr/bin/auto-apt-proxy as #!/bin/sh auto-apt-proxy1 echo "http://$(hostname -I |awk {'print $1'}):3142"This seems to be working, though the original issue with apt-cacher-ng is not fixed :( (it is probably better than before)