Hey,
I am Aaditya Purani (@aaditya_purani), so many of my friends experienced issues that they get error while installing qtox when they use command. It is a case study + solution .
sudo apt-get install apt-transport-https
and you will get
E: Unable to locate package apt-transport-https
The first traditional way is to look in /etc/apt/sources.list
leafpad /etc/apt/sources.list
After going that, i found out the links for apt were in “http” rather than https . So it wasn’t properly Installed (Clue 1)
So, i went trying on
sudo apt-get install apt-transport-https
apt-get update
The Error was
E: The method driver /usr/lib/apt/methods/https could not be found
So, I thought maybe apt was pointing me to an obsolete package. I found that the version did not exist and hence apt failed to fetch the package. 🙂 (Clue 2)
So, i went to Mirrors for kali linux and downloaded a Kali Linux apt-transport-https (The latest one 1.0.9.10)
http://http.kali.org/pool/main/a/apt/
Find appropriate deb package from the list, If you are on 64-bit Machine, download amd64 file. If you are on 32 Bit Machine, download i386 file. If you are running on Mobile device, download armhf file.
And then the commands are
cd Downloads/
dpkg -i apt-transport-https_*.deb
If in case the source file is fine but apt fails to fetch a package, manually tracking the package might provide a solution. This is a kind of case study, many of you won’t get this particular error, but manually tracking of error is the best way.
Thanks a lot for reading. Comments are welcomed
Your instruction proved the solution and not the numerous instructions I found elsewhere. Thank you so much for your effort posting your instructions!!
LikeLike