“method driver /usr/lib/apt/methods/https could not be found” update error

Hi Duckhook,

Thank your for your answer. I don't know why the packages that should already be installed by default are not installed right now. I've had this computer for a couple of months, and I wasn't having this problem when I first started using it. My laptop is a chromebook, and I have Ubuntu 12.04 (Xfce) installed on it.
I don't know what I did exactly, but I might have deleted something in root that I shouldn't have, at some point. I haven't messed around with my system a lot because I don't know anything about it... but there was a time pretty recently that I was trying to install CUPS, and in trying to do that I deleted some root-protected... file or directory, I don't know. It could be related, but maybe not. I don't remember what it was that I deleted, so that won't really help you to help me. Sorry. Otherwise, I don't know what else could have caused the apt-breakage. I haven't performed or even attempted to perform any upgrades of any kind. So, yeah, I'm not...

0 0
Jan 2, 2010

I'm trying to use a flash drive to try to repair the Intrepid installation on my netbook.

when I drop to a terminal and try "sudo apt-get update" i get

sudo: unable to resolve host ubuntu
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

Ubuntu Servers :: Unable To Resolve Host / Hostname Is Set To (none)? Ubuntu :: Unable To Resolve Host Tims-Laptop Ubuntu :: Sudo: Unable To Resolve Host Username Getting Error? Slackware :: Unable To Resolve Host Address `dls.urt.voxel.net' Ubuntu :: Sudo: Unable To Resolve Host / Setting Up Network Sharing With Samba? Ubuntu Networking :: Domain - Unable To Resolve Host Whenever Try To Use The Sudo Command In The Terminal Networking :: 'Unable To Resolve Host Address' Errors With Newer Distributions Ubuntu :: Lost Password And Normal Methods Don't Work / Resolve This? Ubuntu Servers :: Unable To...
0 0
0 0

I'm getting this error which I suspect is because Ubuntu repositories are redirecting to https,

because of this explanation

, and because everything I have in my /usr/apt/sources.list is http.

All sources.list lines are of the form:

Code: Select alldeb http://ports.ubuntu.com/ubuntu-ports/ trusty main restricted

In fact "http://ports.ubuntu.com/ubuntu-ports/" is the ONLY url in there at all.

I've searched the forum but can't find this issue anywhere here, which seems strange, although the search isn't helpful as it rejects the terms I want to search for as too common, and when I do manage to frame an acceptable search, it says apt-get isn't anywhere on the forum, which it patently is!

I'd like to install the requisite apt method, but:

Code: Select allsudo apt-get update
sudo apt-get install apt-transport-https

Fails with:

Code: Select allAfter this operation, 216 kB of additional disk space will be used.
0 0

I am using the official java:7 docker image. When I run apt-get update on it, it throws an error:

E: The method driver /usr/lib/apt/methods/https could not be found. N: Is the package apt-transport-https installed?

So when I run:

apt-get install apt-transport-https

It says unable to locate the package

Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package apt-transport-https

Here is my /etc/apt/source.list

deb http://httpredir.debian.org/debian jessie main deb http://httpredir.debian.org/debian jessie-updates main deb http://security.debian.org jessie/updates main

I understand that apt-transport-https requires "apt-get update" and vice versa. I can get the packages using

wget http://ftp.de.debian.org/debian/pool/main/a/apt/apt-transport-https_1. && dpkg -i apt-transport-https_1.

But is there a better way...

0 0

Method driver /usr/lib/apt/methods/https could not be found update …

I was unable to fix it by installing apttransporthttps , because it had been quite a while since I’d done any package updates on the machine in question, and the version of that package that I needed was no longer available in the package repository. (To get an available version, I first had to be able to …

How do I fix a “E: The method driver /usr/lib/apt/methods/http could …

My comments here aren’t directly related to the OP’s question, but since this page comes up in google’s first result when searching E: The method driver /usr/lib/apt/ methods/https could not be found. which is the error I was originally trying to solve, I am adding some information which helped me solve my …

Apt-get fails: The method driver /usr/lib/apt/methods/https could not …

Sounds like you’ve added some https sources. Since there are no https sources in your sources.list , it’s likely something in...

0 0