computing:apt-transport-https [Haack's Wiki]

User Tools

Site Tools


  • apt-transport-https
  • Jonathan Haack
  • Haack's Networking


#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 stretch main
deb-src stretch main
deb stretch/updates main
deb-src stretch/updates main
deb stretch-updates main
deb-src 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

computing/apt-transport-https.txt · Last modified: 2019/02/10 22:44 by oemb1905