You can use Onion repository instead of clearnet, ensuring that you are using tor network.
dom0
- In dom0, open
/etc/yum.repos.d/qubes-dom0.repo
in a text editor. - Comment out all the
baseurl = https://yum.qubes-os.org/[...]
andmetalink
lines. - Uncomment all the
baseurl = [...].onion
lines. - Update every
.onion
address toyum.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion
. The affected lines should look like this:
#baseurl = https://yum.qubes-os.org/r$releasever/current/dom0/fc25
baseurl = http://yum.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r$releasever/current/dom0/fc25
#metalink = https://yum.qubes-os.org/r$releasever/current/dom0/fc25/repodata/repomd.xml.metalink
- Open
/etc/yum.repos.d/qubes-templates.repo
in a text editor and repeat steps 2-4.
if the onion address is same as above, you don’t need to change anything, just comment / uncomment what it need.
Fedora TemplateVMs
- In the TemplateVM, open
/etc/yum.repos.d/qubes-r4.repo
in a text editor. - Comment out every line that contains
yum.qubes-os.org
. - Uncomment every line that contains
.onion
. - Update every
.onion
address toyum.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion
. The affected lines should look like this:
#baseurl = https://yum.qubes-os.org/r4.0/current/vm/fc$releasever
baseurl = http://yum.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.0/current/vm/fc$releasever
if the onion address is same as above, you don’t need to change anything, just comment / uncomment what it need.
Debian & Whonix TemplateVMs
- In the TemplateVM, open
/etc/apt/sources.list.d/qubes-r4.list
in a text editor. - Comment out every line that contains
deb.qubes-os.org
. - Uncomment every line that contains
.onion
. - Update every
.onion
address todeb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion
. The affected lines should look like this:
# Main qubes updates repository
#deb [arch=amd64] https://deb.qubes-os.org/r4.0/vm buster main
#deb-src https://deb.qubes-os.org/r4.0/vm buster main
# Qubes Tor updates repositories
# Main qubes updates repository
deb [arch=amd64] http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.0/vm buster main
#deb-src http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.0/vm buster main
if the onion address is same as above, you don’t need to change anything, just comment / uncomment what it need.