I followed the Whonix wiki on “onionizing” repositories, for Fedora they mention that once should:
Note: Updating Fedora templates exclusively over Onion Services is not possible – only related Qubes repositories can be onionized. The reason is Fedora does not maintain onion service repositories.
‘’‘1.’‘’ In Fedora Template, open the
qubes-r4.repo
file in a text editor. At the time of writing Qubes-R4 was the current stable release.sudo gedit /etc/yum.repos.d/qubes-r*.repo
- uncomment the lines that contain
Qubes_onion
Once completed, each of the four code blocks will have http(s) repository lines similar to the following example.
#baseurl = https://yum.qubes-os.org/r4.1/current/vm/fc$releasever baseurl = http://yum.{{Qubes_onion}}/r4.1/current/vm/fc$releasever
Save and exit.
‘’‘2.’‘’ In Fedora Template, confirm the onion service repositories are functional.
sudo dnf update
The problem is that after I did that step and tried to download a specific package from the Qubes repositories for testing purposes I was met with this error:
[MIRROR] libxdo-3.20210804.2-2.fc35.x86_64.rpm: Curl error (6): Couldn't resolve host name for http://yum.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.1/current/vm/fc35/rpm/libxdo-3.20210804.2-2.fc35.x86_64.rpm [Could not resolve host: yum.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion]
[MIRROR] libxdo-3.20210804.2-2.fc35.x86_64.rpm: Curl error (6): Couldn't resolve host name for http://yum.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.1/current/vm/fc35/rpm/libxdo-3.20210804.2-2.fc35.x86_64.rpm [Could not resolve host: yum.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion]
[FAILED] libxdo-3.20210804.2-2.fc35.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success
(22-23/29): qt5-qtto 42% [========- ] 158 MB/s | 13 MB 00:00 ETA
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Error downloading packages:
libxdo-1:3.20210804.2-2.fc35.x86_64: Cannot download, all mirrors were already tried without success
I don’t know how to fix it. I already have a package such as torsocks
installed. Also in the Qubes Global Settings I have sys-whonix as the default dom0 update qube.