Thanks @ludovic. I’m still not able to get it working.
Attempt 1
I don’t really understand the proxy config, so I first tried the following in the arch template VM (getting the IP address from the updates-proxy doc):
XferCommand = /usr/bin/curl -x http://10.137.255.254:8082 -L -C - -f -o %o %u
But makepkg -si
gives this error
curl: (7) Couldn't connect to server
It’s not timing out, it’s very quick, so that’s probably the wrong address for the proxy.
Attempt 2
I think the proxy service might be listening on 127.0.0.1:8082
? That would make more sense since lo
is the only interface in the template VM. So then I tried the following instead:
XferCommand = /usr/bin/curl -x http://127.0.0.1:8082 -L -C - -f -o %o %u
This time makepkg -si
gets a little further. It’s able to download dependencies from the regular arch repos, but when it tries to download the source from github it’s not able to resolve github.com
.
Attempt 3
The other suggestion on the makepkg doc is to use the env_keep
option in /etc/sudoers
. That doesn’t work either (same error resolving github.com
).
Attempt 3.5
tinyproxy
is not actually running in the template VM. I started it manually and retried attempts 2 and 3 above, and it still can’t resolve github.com
.
Any other ideas? Thanks again.