This is an old revision of the document!
apt-transport-https
#haacksnetworking #freesoftware #gnulinux
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
Once you finish, make sure it is all working. If it fails, then remove the “s” from the above, and debug.
sudo apt update sudo apt dist-upgrade sudo apt autoremove sudo apt autoclean
shouldn’t this be default?
— oemb1905 2019/02/10 22:41