Internet is working but “apt update” giving this error in windows subsystem for linuxApt-get failed to fetch from Ubuntu server with error code 404v12.10 can't apt-get updateRunning gnome-keyring on WSL (Windows Subsystem for Linux)appstreamcli: AppStream system cache was updated, but problems were found: Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml111: Connection refused when trying apt update

Can we use a Cryptographic hash function to generate infinite random numbers?

An Ailing Assassin

How do successful undergraduate and PhD students differ?

Any real contribution of functional analysis to quantum theory as a branch of physics?

Is there a Scoville scale for coldness?

When is it not okay to cheap out on bike parts?

Is there something as common frequency?

Can a human colony survive on a 'hot' world?

How to calculate my anticipated peak amperage load?

Does the basis graph of a matroid determine it?

Caesar-Cipher - 2nd follow-up

Confused about Autoregressive AR(1) process

How did 達 (~tachi) come to mean `pluralize` something?

Unable to register mirrored Deployer Capabilities

How can I encourage a fellow player to develop a character a bit more?

Thoughts on if it's possible to succeed in math @ PhD level w/o natural ability in quant reasoning?

Fourier transform is an isomorphism...but we don’t get when each frequency appears?

Why is casting a DATE field to VARCHAR datatype non-deterministic and is there a way to make it deterministic?

Declining a paper review after accepting it and seeing the manuscript

Is there any TeX-based engine capable of rendering the colored font?

Why don't all States switch to all postal voting?

Arrange 5 non-attacking knights on a 5x5 toroidal board

How do I compile something for Linux if I don't have enough space for installing GCC?

Did all integrated Commodore PET monitors always use 60 Hz refresh?



Internet is working but “apt update” giving this error in windows subsystem for linux


Apt-get failed to fetch from Ubuntu server with error code 404v12.10 can't apt-get updateRunning gnome-keyring on WSL (Windows Subsystem for Linux)appstreamcli: AppStream system cache was updated, but problems were found: Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml111: Connection refused when trying apt update






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









1


















Just installed ubuntu 18.04 in wsl. But when I try to install or update system i'm getting this error



enter Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Could not resolve 'proxyaddress' 


/etc/resolv.conf file:



nameserver 192.168.43.1 nameserver 8.8.8.8 nameserver 127.0.1.1


help me!










share|improve this question

























  • Please add output of grep -ir Proxy /etc/apt to the question.

    – N0rbert
    Sep 30 at 19:12












  • Check hosts files on windows and wsl. Linux. >> linux /etc/hosts and on windows "C:WindowsSystem32driversetc"

    – Cornea Valentin
    Oct 5 at 13:38


















1


















Just installed ubuntu 18.04 in wsl. But when I try to install or update system i'm getting this error



enter Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Could not resolve 'proxyaddress' 


/etc/resolv.conf file:



nameserver 192.168.43.1 nameserver 8.8.8.8 nameserver 127.0.1.1


help me!










share|improve this question

























  • Please add output of grep -ir Proxy /etc/apt to the question.

    – N0rbert
    Sep 30 at 19:12












  • Check hosts files on windows and wsl. Linux. >> linux /etc/hosts and on windows "C:WindowsSystem32driversetc"

    – Cornea Valentin
    Oct 5 at 13:38














1













1









1








Just installed ubuntu 18.04 in wsl. But when I try to install or update system i'm getting this error



enter Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Could not resolve 'proxyaddress' 


/etc/resolv.conf file:



nameserver 192.168.43.1 nameserver 8.8.8.8 nameserver 127.0.1.1


help me!










share|improve this question














Just installed ubuntu 18.04 in wsl. But when I try to install or update system i'm getting this error



enter Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Could not resolve 'proxyaddress' 


/etc/resolv.conf file:



nameserver 192.168.43.1 nameserver 8.8.8.8 nameserver 127.0.1.1


help me!







apt windows windows-subsystem-for-linux






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 30 at 16:42









karthik oggukarthik oggu

376 bronze badges




376 bronze badges















  • Please add output of grep -ir Proxy /etc/apt to the question.

    – N0rbert
    Sep 30 at 19:12












  • Check hosts files on windows and wsl. Linux. >> linux /etc/hosts and on windows "C:WindowsSystem32driversetc"

    – Cornea Valentin
    Oct 5 at 13:38


















  • Please add output of grep -ir Proxy /etc/apt to the question.

    – N0rbert
    Sep 30 at 19:12












  • Check hosts files on windows and wsl. Linux. >> linux /etc/hosts and on windows "C:WindowsSystem32driversetc"

    – Cornea Valentin
    Oct 5 at 13:38

















Please add output of grep -ir Proxy /etc/apt to the question.

– N0rbert
Sep 30 at 19:12






Please add output of grep -ir Proxy /etc/apt to the question.

– N0rbert
Sep 30 at 19:12














Check hosts files on windows and wsl. Linux. >> linux /etc/hosts and on windows "C:WindowsSystem32driversetc"

– Cornea Valentin
Oct 5 at 13:38






Check hosts files on windows and wsl. Linux. >> linux /etc/hosts and on windows "C:WindowsSystem32driversetc"

– Cornea Valentin
Oct 5 at 13:38











1 Answer
1






active

oldest

votes


















1



















my two cents for Windows 10 and WSL



go simple at start...



I have the SAME problem in WSL under Windows 10. same errors.



it was simply Norton Antivirus.



I DO KNOW is very dangerous to stop it, but once stopped (for a while...) Ubuntu starts updating.



:)



before gcc, update ubuntu:



sudo apt-get update





share|improve this answer


























    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/4.0/"u003ecc by-sa 4.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%2f1177721%2finternet-is-working-but-apt-update-giving-this-error-in-windows-subsystem-for%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









    1



















    my two cents for Windows 10 and WSL



    go simple at start...



    I have the SAME problem in WSL under Windows 10. same errors.



    it was simply Norton Antivirus.



    I DO KNOW is very dangerous to stop it, but once stopped (for a while...) Ubuntu starts updating.



    :)



    before gcc, update ubuntu:



    sudo apt-get update





    share|improve this answer





























      1



















      my two cents for Windows 10 and WSL



      go simple at start...



      I have the SAME problem in WSL under Windows 10. same errors.



      it was simply Norton Antivirus.



      I DO KNOW is very dangerous to stop it, but once stopped (for a while...) Ubuntu starts updating.



      :)



      before gcc, update ubuntu:



      sudo apt-get update





      share|improve this answer



























        1















        1











        1









        my two cents for Windows 10 and WSL



        go simple at start...



        I have the SAME problem in WSL under Windows 10. same errors.



        it was simply Norton Antivirus.



        I DO KNOW is very dangerous to stop it, but once stopped (for a while...) Ubuntu starts updating.



        :)



        before gcc, update ubuntu:



        sudo apt-get update





        share|improve this answer














        my two cents for Windows 10 and WSL



        go simple at start...



        I have the SAME problem in WSL under Windows 10. same errors.



        it was simply Norton Antivirus.



        I DO KNOW is very dangerous to stop it, but once stopped (for a while...) Ubuntu starts updating.



        :)



        before gcc, update ubuntu:



        sudo apt-get update






        share|improve this answer













        share|improve this answer




        share|improve this answer










        answered Nov 24 at 17:23









        ingcontiingconti

        1112 bronze badges




        1112 bronze badges































            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%2f1177721%2finternet-is-working-but-apt-update-giving-this-error-in-windows-subsystem-for%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

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?