Score:0

adding Ethereum repository fails (Ubuntu 20.04)

cn flag

I am running the following code:

sudo add-apt-repository -y ppa:ethereum/ethereum

The error message is:

...
Reading package lists... Done
E: The method driver /usr/lib/apt/methods/hpttps could not be found.
N: Is the package apt-transport-hpttps installed?
E: Some index files failed to download. They have been ignored, or old ones used instead.

How can I fix this?

Artur Meinild avatar
vn flag
There is a strange typo - it says `hpttps` instead of `https` - wonder why that is?
Tintin avatar
cn flag
"hpttps" seems strange indeed. "http" and "https" exists in that directory, but not "hpttps". Any idea, why my error messages somehow references to "hpttps"?
Tintin avatar
cn flag
Yes, I have found now the reason. I previously added another repository and altered the coresponding file from "/etc/apt/sources.list.d/" and made a type with "hpttps" instead of "https". This resulted in blocking another repository (Ethereum repository) to be added. I corrected the file and I could finally add this repository.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.