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;








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









share|improve this question
























  • 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


















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









share|improve this question
























  • 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














0












0








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









share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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

















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











1 Answer
1






active

oldest

votes


















0














There will be a redirection issue sometimes.



Use the source below will solve this.



deb http://packages.cloud.google.com/apt/ kubernetes-xenial main




share








New contributor




Yan QiDong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    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
    );



    );













    draft saved

    draft discarded


















    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









    0














    There will be a redirection issue sometimes.



    Use the source below will solve this.



    deb http://packages.cloud.google.com/apt/ kubernetes-xenial main




    share








    New contributor




    Yan QiDong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      0














      There will be a redirection issue sometimes.



      Use the source below will solve this.



      deb http://packages.cloud.google.com/apt/ kubernetes-xenial main




      share








      New contributor




      Yan QiDong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















        0












        0








        0







        There will be a redirection issue sometimes.



        Use the source below will solve this.



        deb http://packages.cloud.google.com/apt/ kubernetes-xenial main




        share








        New contributor




        Yan QiDong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        There will be a redirection issue sometimes.



        Use the source below will solve this.



        deb http://packages.cloud.google.com/apt/ kubernetes-xenial main





        share








        New contributor




        Yan QiDong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.








        share


        share






        New contributor




        Yan QiDong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 4 mins ago









        Yan QiDongYan QiDong

        11




        11




        New contributor




        Yan QiDong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Yan QiDong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Yan QiDong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

            Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

            Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»