I used Unman’s shaker/notes to set up sys-apt-cacher-ng, with sys-whonix as the netvm. Upon reviewing the saltstack state that’s applied, it appears that Whonix is “blacklisted.”
However, I manually ran the following commands to replace https
with http
in the sources list files:
sed -i s^https://^http://HTTPS///^ /etc/apt/sources.list.d/debian.list
sed -i s^https://^http://HTTPS///^ /etc/apt/sources.list.d/qubes-r4.list
Now, when I try to update the templates via Qubes Updater, I get the following error:
...
WARNING: Execution of /usr/bin/apt-get prevented by /etc/uwt.d/40_qubes.conf because no torified Qubes updates proxy found.
Please make sure Whonix-Gateway (commonly called sys-whonix) is running.
....
It seems like it’s not possible (or recommended) to perform this action. My guess is that Whonix prevents clearnet updates due to the “tor+https” prefixes in the source definitions. For some reason, it isn’t recognizing that apt-cacher-ng is using sys-whonix. Is that correct? If so, could this issue be resolved by using onionized repositories in whonix?