Adding Debian Buster Backports repo to RaspberryPi for tor

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 run apt update/upgrade Install tor, I did this by: apt-get install -o Dpkg::Options::="--force-confold" -y tor

5. Februar 2021 · 1 Minute · utzer

Debian based full updates in one command

I have this small script deployed on any of my #Debian based systems, it just does all the update, upgrade, dist-upgrade, autoremove and autoclean in one run. #!/bin/sh if [ $# -eq 0 ]; then sudo sh -c "apt-get update && apt-get upgrade && apt-get dist-upgrade && apt-get update && apt-get autoremove && apt-get autoclean" else sudo sh -c "apt-get update && apt-get upgrade && apt-get dist-upgrade && apt-get update && apt-get install $@ && apt-get autoremove && apt-get autoclean" fi I have this script deployed in a lazy manner, I just have it sitting in my users home folder and called it “up”, I did do a “chmod +x up” and just start it like this: ...

20. April 2020 · 1 Minute · utzer