Kubernetes installation failing - Ubuntu 16.04Configure proxy for APT?How to install Kubernetes Locally via Minikubesynaptic PPA repository errorGPG error, signatures public key not available TRIED A LOTWhy does add-apt-repository now fail to retrieve keys behind my proxy server, but I can update package lists and manually receive the keys?BADSIG 40976EAF437D05B5Getting “apt-get update does not have a Release file” and “Failed to fetch <IP_address_of_the_local_repository>”during `apt-get update`Cannot connect to Ubuntu China sources.Ubuntu 16.10 Update problem (some repository yakkety release does not have Release )Please help me to get out of this problemerlang problem on installing rabbitmq on Ubuntu 16.04I have some error and can you help me to repair my system
How long does it take to type this?
Schwarzchild Radius of the Universe
Why is the design of haulage companies so “special”?
Can I interfere when another PC is about to be attacked?
Is there a minimum number of transactions in a block?
A function which translates a sentence to title-case
Can a German sentence have two subjects?
I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine
XeLaTeX and pdfLaTeX ignore hyphenation
How can bays and straits be determined in a procedurally generated map?
N.B. ligature in Latex
How can I fix this gap between bookcases I made?
The magic money tree problem
What typically incentivizes a professor to change jobs to a lower ranking university?
Are tax years 2016 & 2017 back taxes deductible for tax year 2018?
A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?
I see my dog run
The use of multiple foreign keys on same column in SQL Server
Motorized valve interfering with button?
Pronouncing Dictionary.com's W.O.D "vade mecum" in English
Can I make popcorn with any corn?
If Manufacturer spice model and Datasheet give different values which should I use?
What defenses are there against being summoned by the Gate spell?
Should I join office cleaning event for free?
Kubernetes installation failing - Ubuntu 16.04
Configure proxy for APT?How to install Kubernetes Locally via Minikubesynaptic PPA repository errorGPG error, signatures public key not available TRIED A LOTWhy does add-apt-repository now fail to retrieve keys behind my proxy server, but I can update package lists and manually receive the keys?BADSIG 40976EAF437D05B5Getting “apt-get update does not have a Release file” and “Failed to fetch <IP_address_of_the_local_repository>”during `apt-get update`Cannot connect to Ubuntu China sources.Ubuntu 16.10 Update problem (some repository yakkety release does not have Release )Please help me to get out of this problemerlang problem on installing rabbitmq on Ubuntu 16.04I have some error and can you help me to repair my system
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to install Kubernetes (kubectl) on Ubuntu 16.04 (x64) by following the instructions here. I am behind some proxy at work and I am sure that is the reason for the failure. I know there are a bunch of related questions out there but I have already tried any suggestion I could find. Any help will be greatly appreciated.
Currently, I am stuck at getting apt update to work. It is failing with -
W: The repository 'https://apt.kubernetes.io kubernetes-xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://apt.kubernetes.io/dists/kubernetes-xenial/main/binary-amd64/Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
I have tried multiple things here -
Updated my apt.conf
(at /etc/apt/apt.conf
) with
Acquire::https::packages.cloud.google.com::Verify-Peer "false";
I also tried by specifying the above as a command line argument -
sudo apt-get update -o Acquire::https::packages.cloud.google.com::Verify-Peer=false
I have tried running apt-get update
with --allow-unauthenticated
& --allow-insecure-repositories
but somehow apt-secure
is still ignoring all these instructions. I went through the man-page for apt-secure
but couldn't find anything wrong with the options I specified.
I have updated keys using -
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 6A030B21BA07F4FB
I have updated my CA certs. I have ran - sudo rm /var/lib/apt/lists/*
to remove all the lists.
Contents of /etc/apt/sources.list.d/kubernetes.list
deb https://apt.kubernetes.io/ kubernetes-xenial main
apt package-management updates repository kubernetes
add a comment |
I am trying to install Kubernetes (kubectl) on Ubuntu 16.04 (x64) by following the instructions here. I am behind some proxy at work and I am sure that is the reason for the failure. I know there are a bunch of related questions out there but I have already tried any suggestion I could find. Any help will be greatly appreciated.
Currently, I am stuck at getting apt update to work. It is failing with -
W: The repository 'https://apt.kubernetes.io kubernetes-xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://apt.kubernetes.io/dists/kubernetes-xenial/main/binary-amd64/Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
I have tried multiple things here -
Updated my apt.conf
(at /etc/apt/apt.conf
) with
Acquire::https::packages.cloud.google.com::Verify-Peer "false";
I also tried by specifying the above as a command line argument -
sudo apt-get update -o Acquire::https::packages.cloud.google.com::Verify-Peer=false
I have tried running apt-get update
with --allow-unauthenticated
& --allow-insecure-repositories
but somehow apt-secure
is still ignoring all these instructions. I went through the man-page for apt-secure
but couldn't find anything wrong with the options I specified.
I have updated keys using -
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 6A030B21BA07F4FB
I have updated my CA certs. I have ran - sudo rm /var/lib/apt/lists/*
to remove all the lists.
Contents of /etc/apt/sources.list.d/kubernetes.list
deb https://apt.kubernetes.io/ kubernetes-xenial main
apt package-management updates repository kubernetes
apt
need to be configured even if you haveHTTPS_PROXY
environment variable correctly configured. BTW if you are trying Kubernetes locally take a look to this answer.
– Pablo Bianchi
Jan 14 at 7:05
add a comment |
I am trying to install Kubernetes (kubectl) on Ubuntu 16.04 (x64) by following the instructions here. I am behind some proxy at work and I am sure that is the reason for the failure. I know there are a bunch of related questions out there but I have already tried any suggestion I could find. Any help will be greatly appreciated.
Currently, I am stuck at getting apt update to work. It is failing with -
W: The repository 'https://apt.kubernetes.io kubernetes-xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://apt.kubernetes.io/dists/kubernetes-xenial/main/binary-amd64/Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
I have tried multiple things here -
Updated my apt.conf
(at /etc/apt/apt.conf
) with
Acquire::https::packages.cloud.google.com::Verify-Peer "false";
I also tried by specifying the above as a command line argument -
sudo apt-get update -o Acquire::https::packages.cloud.google.com::Verify-Peer=false
I have tried running apt-get update
with --allow-unauthenticated
& --allow-insecure-repositories
but somehow apt-secure
is still ignoring all these instructions. I went through the man-page for apt-secure
but couldn't find anything wrong with the options I specified.
I have updated keys using -
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 6A030B21BA07F4FB
I have updated my CA certs. I have ran - sudo rm /var/lib/apt/lists/*
to remove all the lists.
Contents of /etc/apt/sources.list.d/kubernetes.list
deb https://apt.kubernetes.io/ kubernetes-xenial main
apt package-management updates repository kubernetes
I am trying to install Kubernetes (kubectl) on Ubuntu 16.04 (x64) by following the instructions here. I am behind some proxy at work and I am sure that is the reason for the failure. I know there are a bunch of related questions out there but I have already tried any suggestion I could find. Any help will be greatly appreciated.
Currently, I am stuck at getting apt update to work. It is failing with -
W: The repository 'https://apt.kubernetes.io kubernetes-xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://apt.kubernetes.io/dists/kubernetes-xenial/main/binary-amd64/Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
I have tried multiple things here -
Updated my apt.conf
(at /etc/apt/apt.conf
) with
Acquire::https::packages.cloud.google.com::Verify-Peer "false";
I also tried by specifying the above as a command line argument -
sudo apt-get update -o Acquire::https::packages.cloud.google.com::Verify-Peer=false
I have tried running apt-get update
with --allow-unauthenticated
& --allow-insecure-repositories
but somehow apt-secure
is still ignoring all these instructions. I went through the man-page for apt-secure
but couldn't find anything wrong with the options I specified.
I have updated keys using -
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 6A030B21BA07F4FB
I have updated my CA certs. I have ran - sudo rm /var/lib/apt/lists/*
to remove all the lists.
Contents of /etc/apt/sources.list.d/kubernetes.list
deb https://apt.kubernetes.io/ kubernetes-xenial main
apt package-management updates repository kubernetes
apt package-management updates repository kubernetes
edited Dec 14 '18 at 7:12
muru
1
1
asked Dec 14 '18 at 6:52
Kumar PrashantKumar Prashant
11
11
apt
need to be configured even if you haveHTTPS_PROXY
environment variable correctly configured. BTW if you are trying Kubernetes locally take a look to this answer.
– Pablo Bianchi
Jan 14 at 7:05
add a comment |
apt
need to be configured even if you haveHTTPS_PROXY
environment variable correctly configured. BTW if you are trying Kubernetes locally take a look to this answer.
– Pablo Bianchi
Jan 14 at 7:05
apt
need to be configured even if you have HTTPS_PROXY
environment variable correctly configured. BTW if you are trying Kubernetes locally take a look to this answer.– Pablo Bianchi
Jan 14 at 7:05
apt
need to be configured even if you have HTTPS_PROXY
environment variable correctly configured. BTW if you are trying Kubernetes locally take a look to this answer.– Pablo Bianchi
Jan 14 at 7:05
add a comment |
1 Answer
1
active
oldest
votes
There will be a redirection issue sometimes.
Use the source below will solve this.
deb http://packages.cloud.google.com/apt/ kubernetes-xenial main
New contributor
add a comment |
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%2f1100800%2fkubernetes-installation-failing-ubuntu-16-04%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
There will be a redirection issue sometimes.
Use the source below will solve this.
deb http://packages.cloud.google.com/apt/ kubernetes-xenial main
New contributor
add a comment |
There will be a redirection issue sometimes.
Use the source below will solve this.
deb http://packages.cloud.google.com/apt/ kubernetes-xenial main
New contributor
add a comment |
There will be a redirection issue sometimes.
Use the source below will solve this.
deb http://packages.cloud.google.com/apt/ kubernetes-xenial main
New contributor
There will be a redirection issue sometimes.
Use the source below will solve this.
deb http://packages.cloud.google.com/apt/ kubernetes-xenial main
New contributor
New contributor
answered 4 mins ago
Yan QiDongYan QiDong
11
11
New contributor
New contributor
add a comment |
add a comment |
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.
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%2f1100800%2fkubernetes-installation-failing-ubuntu-16-04%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
apt
need to be configured even if you haveHTTPS_PROXY
environment variable correctly configured. BTW if you are trying Kubernetes locally take a look to this answer.– Pablo Bianchi
Jan 14 at 7:05