Adding Debian Buster Backports repo to RaspberryPi for tor

  1. Add key
curl https://ftp-master.debian.org/keys/archive-key-10.asc | gpg --import 
gpg --export DC30D7C23CBBABEE | apt-key add -

The fingerprint (DC30D7C23CBBABEE) given is the one that the first command outputs, which is the fingerprint of the key downloaded by curl.

2. Add repo

echo "deb http://deb.debian.org/debian buster-backports main" |sudo tee /etc/apt/sources.list.d/deb_buster_backports.list
  1. run apt update/upgrade
  2. Install tor, I did this by:
apt-get install -o Dpkg::Options::="--force-confold" -y tor