“/usr/lib/apt/methods/https could not be found” when trying to install apt-transport-https
When I try to run any apt-get command, I get the error::
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
My first instinct was to try to sudo apt-get install apt-transport-https
, so I did that, only to get the same error message after appearing to begin the download. So I checked many of the dozens of similar questions on this site and found that most recommended sudo apt-get install apt-transport-https
. So, to make sure I just didn't make some dumb mistake, I tried this again, and it still didn't work.
Others recommended checking for typos in sources.list, and I found nothing but http:// on every link in there, so that can't be the problem as far as I know.
I'm running Ubuntu 14.04 on a Docker container. I can also ping, so I don't think it's an Internet issue. Also, sources.list.d
is empty.
EDIT
Running sudo apt-get update --print-uris
gives:
'http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty_main_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty_restricted_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/universe/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty_universe_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty_main_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty_restricted_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty_universe_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease' archive.ubuntu.com_ubuntu_dists_trusty_InRelease 0
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_main_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_restricted_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_universe_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_main_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_restricted_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_universe_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease' archive.ubuntu.com_ubuntu_dists_trusty-updates_InRelease 0
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_main_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/restricted/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_restricted_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_universe_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_main_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_restricted_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_universe_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease' archive.ubuntu.com_ubuntu_dists_trusty-security_InRelease 0
apt package-management updates
add a comment |
When I try to run any apt-get command, I get the error::
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
My first instinct was to try to sudo apt-get install apt-transport-https
, so I did that, only to get the same error message after appearing to begin the download. So I checked many of the dozens of similar questions on this site and found that most recommended sudo apt-get install apt-transport-https
. So, to make sure I just didn't make some dumb mistake, I tried this again, and it still didn't work.
Others recommended checking for typos in sources.list, and I found nothing but http:// on every link in there, so that can't be the problem as far as I know.
I'm running Ubuntu 14.04 on a Docker container. I can also ping, so I don't think it's an Internet issue. Also, sources.list.d
is empty.
EDIT
Running sudo apt-get update --print-uris
gives:
'http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty_main_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty_restricted_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/universe/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty_universe_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty_main_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty_restricted_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty_universe_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease' archive.ubuntu.com_ubuntu_dists_trusty_InRelease 0
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_main_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_restricted_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_universe_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_main_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_restricted_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_universe_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease' archive.ubuntu.com_ubuntu_dists_trusty-updates_InRelease 0
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_main_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/restricted/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_restricted_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_universe_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_main_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_restricted_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_universe_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease' archive.ubuntu.com_ubuntu_dists_trusty-security_InRelease 0
apt package-management updates
Add the output ofsudo apt-get update --print-uris
.
– muru
Mar 11 '16 at 17:12
@muru I've done as you asked
– jackwise
Mar 11 '16 at 18:04
Huh, not a single HTTPS URL. It might be a bug and worth reporting. In the meantime, tryapt-get download apt-transport-https
and manually install it usingdpkg -i
.
– muru
Mar 11 '16 at 18:43
I don't think it's an Ubuntu bug, I think it's how the docker Ubuntu image has been configured - is there a way I can manually download apt-transport-https from the terminal?
– jackwise
Mar 14 '16 at 19:06
add a comment |
When I try to run any apt-get command, I get the error::
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
My first instinct was to try to sudo apt-get install apt-transport-https
, so I did that, only to get the same error message after appearing to begin the download. So I checked many of the dozens of similar questions on this site and found that most recommended sudo apt-get install apt-transport-https
. So, to make sure I just didn't make some dumb mistake, I tried this again, and it still didn't work.
Others recommended checking for typos in sources.list, and I found nothing but http:// on every link in there, so that can't be the problem as far as I know.
I'm running Ubuntu 14.04 on a Docker container. I can also ping, so I don't think it's an Internet issue. Also, sources.list.d
is empty.
EDIT
Running sudo apt-get update --print-uris
gives:
'http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty_main_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty_restricted_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/universe/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty_universe_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty_main_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty_restricted_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty_universe_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease' archive.ubuntu.com_ubuntu_dists_trusty_InRelease 0
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_main_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_restricted_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_universe_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_main_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_restricted_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_universe_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease' archive.ubuntu.com_ubuntu_dists_trusty-updates_InRelease 0
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_main_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/restricted/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_restricted_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_universe_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_main_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_restricted_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_universe_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease' archive.ubuntu.com_ubuntu_dists_trusty-security_InRelease 0
apt package-management updates
When I try to run any apt-get command, I get the error::
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
My first instinct was to try to sudo apt-get install apt-transport-https
, so I did that, only to get the same error message after appearing to begin the download. So I checked many of the dozens of similar questions on this site and found that most recommended sudo apt-get install apt-transport-https
. So, to make sure I just didn't make some dumb mistake, I tried this again, and it still didn't work.
Others recommended checking for typos in sources.list, and I found nothing but http:// on every link in there, so that can't be the problem as far as I know.
I'm running Ubuntu 14.04 on a Docker container. I can also ping, so I don't think it's an Internet issue. Also, sources.list.d
is empty.
EDIT
Running sudo apt-get update --print-uris
gives:
'http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty_main_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty_restricted_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/universe/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty_universe_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty_main_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty_restricted_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty_universe_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease' archive.ubuntu.com_ubuntu_dists_trusty_InRelease 0
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_main_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_restricted_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_universe_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_main_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_restricted_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-updates_universe_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease' archive.ubuntu.com_ubuntu_dists_trusty-updates_InRelease 0
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_main_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/restricted/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_restricted_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe/source/Sources.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_universe_source_Sources 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_main_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_restricted_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-amd64/Packages.gz' archive.ubuntu.com_ubuntu_dists_trusty-security_universe_binary-amd64_Packages 0 :
'http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease' archive.ubuntu.com_ubuntu_dists_trusty-security_InRelease 0
apt package-management updates
apt package-management updates
edited Mar 11 '16 at 18:21
asked Mar 11 '16 at 16:56
jackwise
1388
1388
Add the output ofsudo apt-get update --print-uris
.
– muru
Mar 11 '16 at 17:12
@muru I've done as you asked
– jackwise
Mar 11 '16 at 18:04
Huh, not a single HTTPS URL. It might be a bug and worth reporting. In the meantime, tryapt-get download apt-transport-https
and manually install it usingdpkg -i
.
– muru
Mar 11 '16 at 18:43
I don't think it's an Ubuntu bug, I think it's how the docker Ubuntu image has been configured - is there a way I can manually download apt-transport-https from the terminal?
– jackwise
Mar 14 '16 at 19:06
add a comment |
Add the output ofsudo apt-get update --print-uris
.
– muru
Mar 11 '16 at 17:12
@muru I've done as you asked
– jackwise
Mar 11 '16 at 18:04
Huh, not a single HTTPS URL. It might be a bug and worth reporting. In the meantime, tryapt-get download apt-transport-https
and manually install it usingdpkg -i
.
– muru
Mar 11 '16 at 18:43
I don't think it's an Ubuntu bug, I think it's how the docker Ubuntu image has been configured - is there a way I can manually download apt-transport-https from the terminal?
– jackwise
Mar 14 '16 at 19:06
Add the output of
sudo apt-get update --print-uris
.– muru
Mar 11 '16 at 17:12
Add the output of
sudo apt-get update --print-uris
.– muru
Mar 11 '16 at 17:12
@muru I've done as you asked
– jackwise
Mar 11 '16 at 18:04
@muru I've done as you asked
– jackwise
Mar 11 '16 at 18:04
Huh, not a single HTTPS URL. It might be a bug and worth reporting. In the meantime, try
apt-get download apt-transport-https
and manually install it using dpkg -i
.– muru
Mar 11 '16 at 18:43
Huh, not a single HTTPS URL. It might be a bug and worth reporting. In the meantime, try
apt-get download apt-transport-https
and manually install it using dpkg -i
.– muru
Mar 11 '16 at 18:43
I don't think it's an Ubuntu bug, I think it's how the docker Ubuntu image has been configured - is there a way I can manually download apt-transport-https from the terminal?
– jackwise
Mar 14 '16 at 19:06
I don't think it's an Ubuntu bug, I think it's how the docker Ubuntu image has been configured - is there a way I can manually download apt-transport-https from the terminal?
– jackwise
Mar 14 '16 at 19:06
add a comment |
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f744766%2fusr-lib-apt-methods-https-could-not-be-found-when-trying-to-install-apt-trans%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f744766%2fusr-lib-apt-methods-https-could-not-be-found-when-trying-to-install-apt-trans%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Add the output of
sudo apt-get update --print-uris
.– muru
Mar 11 '16 at 17:12
@muru I've done as you asked
– jackwise
Mar 11 '16 at 18:04
Huh, not a single HTTPS URL. It might be a bug and worth reporting. In the meantime, try
apt-get download apt-transport-https
and manually install it usingdpkg -i
.– muru
Mar 11 '16 at 18:43
I don't think it's an Ubuntu bug, I think it's how the docker Ubuntu image has been configured - is there a way I can manually download apt-transport-https from the terminal?
– jackwise
Mar 14 '16 at 19:06