apt-transport-https

#haacksnetworking

A little mini-tutorial on how to set up TLS with apt-get on Debian … to encrypt traffic betwen Debian’s package repository and your host. Original post can be found here.

sudo apt install apt-transport-https
sudo nano /etc/apt/sources.list

I recommend #commenting out everything and putting the below repos when the file opens:

deb https://deb.debian.org/debian stretch main
deb-src https://deb.debian.org/debian stretch main

deb https://deb.debian.org/debian-security/ stretch/updates main
deb-src https://deb.debian.org/debian-security/ stretch/updates main

deb https://deb.debian.org/debian stretch-updates main
deb-src https://deb.debian.org/debian stretch-updates main

sudo apt update
sudo apt dist-upgrade
sudo apt autoremove
sudo apt autoclean

shouldn’t this be default?

Leave a Reply

Your email address will not be published. Required fields are marked *

Close
JavaScript licenses