I have a working apt-cacher configuration. Now, I want to do a curl as root within a templateVM.
curl --proxy 127.0.0.1:8082 <URI> --output <dir/filename>
I get the following error message:
curl: (56) Received HTTP code 403 from proxy after CONNECT
The code 403 sound similar to:
Failed to fetch ....
Invalid response from proxy: HTTP/1.0 403 CONNECT denied (ask the admin to allow HTTPS tunnels)
Therefore, I guess the issue is related to the apt-cacher settings.
My 20-user-apt-cacher.policy is the following:
qubes.UpdatesProxy * @type:TemplateVM @default allow target=apt-cacher
What do I need to modify in my policy or curl command to by-pass the apt-cacher for this use case?