I upgraded to 4.2 and am HAPPY to now have painless access to an Archlinux template.
I set out to include into my salted setup an additional template deriving from it but with the additional configuration to have access to the AUR as described here.
This process includes the requirements to a) retrieve a gpg key and b) install 2 packages in a repository-independent manner.
The corresponding *.sls currently looks like this:
Whatever I do this does not allow for the gpg key and packages to bw downloaded via the update proxy (sys-whonix) - I also fail to do so, BTW, from within the template using curl or wget as e.g. advised here.
Any hint on how to resolve this is highly appreciated.
Did you try to curl/wget some other sites for a test?
Check if tinyproxy is running in sys-whonix and check if qubes-updates-proxy service is enabled for sys-whonix:
In the course of the update to Qubes 4.2 and in the face of whonix-16’s approaching obsolescence I had switched sys-whonix to the testing template whonix-gateway-17. qubes-update-proxy was indeed not enabled, which is remedied now. It’s unclear whether this was an oversight of the upgrade process or whether this was alreadz broken in 4.1.
Additionally, tinyproxy in whonix-gateway-17-derived appVMs appear to have an issue to start the (enabled) service. systemctl status tinyproxy reports the process dead, as the start condition ConditionPathExists=/var/run/qubes-service/tinyproxy is not met. mkdiring the directory in sys-whonix renders the service startable.
Where would I configure this to permanent? mkdir in that location in the template does not survive a reboot.
I have yet to retrieve a file using curl or wget, but maybe I can ge there with further help from you?
A system restart did not resolve this issue. Appropriate qubes-update-proxy setting for sys-whonix persisted through it and I validated a tinyproxy process to be running in sys-whonix.
https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst can be downloaded using firefox in the open web as well as torbrowser through the tor gateway.
curling, however, does only work on the open web and when using TOR (via the update proxy) is subject to interference by cloudflare via a javascript challenge page.
I assume the latter is also interfering with pacman-key and such command line tools.
Do you see another option but switching the update proxy to sys-net rather than sys-whonix? Is an infrastructure imaginable that offers a free net (non TOR) proxy in addition to the TOR-ed default update proxy? Is sys-net not already offering that and under what IP might it be accessible?
The -L option I had fiured out and is indeed required when downloading from the free net. Through TOR it does not help. You download a html file indicating the challenge cloudfront injects rather than the package file itself.