apt The method driver /usr/lib/apt/methods/https could not be found

When running apt update on a Debian server, i get error

root@shop:~# apt-get update
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
root@shop:~# 

apt https error

To fix the error, run

apt-get install apt-transport-https ca-certificates

See apt

Need help with Linux Server or WordPress? We can help!

Leave a Reply

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