/usr/lib/apt/methods/https could not be found

I am trying to install new software onto Ubuntu. When I try to update packages, I get the errors below:

$ sudo apt-get update
E: The method driver /usr/lib/apt/methods/https could not be found.
E: The method driver /usr/lib/apt/methods/https could not be found.

How can I fix this?

1 Reply

Hi there,

Although I have not run into this error myself, in searching around, folks of the Linux community have reported a fix for this issue.

The simplest way to resolve this issue is to try to manually install apt-transport-https with this command below, and then to try to update again:

$ sudo apt-get install apt-transport-https

$ sudo apt-get update

It seems that users from many different versions of Debian and Ubuntu have run into this issue over time:

Some folks have mentioned that entries could be missing from your sources file at /etc/apt/sources.list and that you should check the repositories available there.

Please find this helpful blog post on working with this file in Ubuntu 18.04:

If you have any further questions or issues, you can always reach out to us here in Linode Community for support. We are happy to help!

Kind regards,
Eden S
Linode Support Team

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct