<p>Here is a short recipe for enabling this on your machine, by
installing <tt>apt-transport-tor</tt> and replacing http and https
-urls with tor+http and https, and using the hidden service instead of
-the official Debian mirror site. I recommend installing
+urls with tor+http and tor+https, and using the hidden service instead
+of the official Debian mirror site. I recommend installing
<tt>etckeeper</tt> before you start to have a history of the changes
done in /etc/.</p>
<blockquote><pre>
apt install apt-transport-tor
-sed -i 's% http://ftp.debian.org/%tor+http://vwakviie2ienjx6t.onion/%' /etc/apt/sources.list
+sed -i 's% http://ftp.debian.org/% tor+http://vwakviie2ienjx6t.onion/%' /etc/apt/sources.list
sed -i 's% http% tor+http%' /etc/apt/sources.list
</pre></blockquote>