apt-get update error

My old raspberry pi didn’t update anymore.

This because it was missing the apt-transport-https package.

But because updating won’t work, i couldn’t install the package.

Error:

pi@*********:~/download $ sudo apt-get update
Ign http://archive.raspberrypi.org jessie InRelease
Get:1 http://mirror.nl.leaseweb.net jessie InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org jessie Release.gpg [488 B]
Get:3 http://archive.raspberrypi.org jessie Release [22.4 kB]
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?

 

Solution:

cd /usr/lib/apt/methods
sudo ln -s http https

 

Geef een reactie