Cannot update Ubuntu 14.04 : apt-get issues`apt-get update` cannot find Ubuntu serversCan't install software from Software Centerv12.10 can't apt-get updateSoftware Updater: Requires installation of un-trusted packages111: Connection refused when trying apt update

Why did the police not show up at Brett's apartment during the shootout?

How can I sell my shares in a privately-owned company I used to be employed by?

Is there any algorithm that runs faster in Mathematica than in C or Fortran?

What is this second smaller runway next to London City Airport?

Scrum Team and Product Owner working against each other

Why do we use the Greek letter μ (Mu) to denote population mean or expected value in probability and statistics

Why was the "Cave of the Patriarchs" forbidden to Jews?

What's the most profitable use for an elemental transmuter?

How to deal with non-stop callers in the service desk

Equivalent of phrase 'emu parade' in other English-speaking places

How short does a trip need to be before flying is less safe than other forms of transportation?

Pass variable to sed and change backslash to forward slash

What does exhaust smell on oil and transmission dipstick mean?

Why don't we say a blessing before giving charity?

Define a command differently in inline vs display mode

I am particularly fascinated by the Chinese character that is pronounced SHIN & means faith or belief

Rational Number RNG

If a tournament advertises G/30, can either player demand G/25 d5?

Magic Square (Python)

Why are the Ukraine related congressional hearings behind closed doors?

If a celestial gets corrupted and turns evil, does it get converted to a fiend?

where does black come from in CMYK color mode?

What happens to extra attacks after you kill your declared target

What do you call this when cats hunch their backs and their fur stands on end?



Cannot update Ubuntu 14.04 : apt-get issues


`apt-get update` cannot find Ubuntu serversCan't install software from Software Centerv12.10 can't apt-get updateSoftware Updater: Requires installation of un-trusted packages111: Connection refused when trying apt update






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









0

















I am trying to update Ubuntu 14.04. But sudo apt-get update is returning the following errors.



0% [Connecting to in.archive.ubuntu.com] [Connecting to archive
0% [Connecting to in.archive.ubuntu.com] [Connecting to archive
Err http://in.archive.ubuntu.com trusty InRelease
Err http://archive.canonical.com trusty InRelease
Err http://extras.ubuntu.com trusty InRelease
Err http://in.archive.ubuntu.com trusty Release.gpg

Could not resolve 'in.archive.ubuntu.com'
Err http://archive.canonical.com trusty Release.gpg

Could not resolve 'archive.canonical.com'
Err http://extras.ubuntu.com trusty Release.gpg
Could not resolve 'extras.ubuntu.com'
Reading package lists...Done
W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/InRelease
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/InRelease
W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'in.archive.ubuntu.com'
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'archive.canonical.com'
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'extras.ubuntu.com'
W:Some index files failed to download.They have been ignored or old ones used instead.









share|improve this question




























  • Use code formatting. Then you can post the output with URLs.

    – muru
    Feb 25 '16 at 7:34











  • Possible duplicate of apt-get update cannot find ubuntu servers

    – TheSchwa
    Feb 26 '16 at 1:37

















0

















I am trying to update Ubuntu 14.04. But sudo apt-get update is returning the following errors.



0% [Connecting to in.archive.ubuntu.com] [Connecting to archive
0% [Connecting to in.archive.ubuntu.com] [Connecting to archive
Err http://in.archive.ubuntu.com trusty InRelease
Err http://archive.canonical.com trusty InRelease
Err http://extras.ubuntu.com trusty InRelease
Err http://in.archive.ubuntu.com trusty Release.gpg

Could not resolve 'in.archive.ubuntu.com'
Err http://archive.canonical.com trusty Release.gpg

Could not resolve 'archive.canonical.com'
Err http://extras.ubuntu.com trusty Release.gpg
Could not resolve 'extras.ubuntu.com'
Reading package lists...Done
W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/InRelease
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/InRelease
W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'in.archive.ubuntu.com'
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'archive.canonical.com'
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'extras.ubuntu.com'
W:Some index files failed to download.They have been ignored or old ones used instead.









share|improve this question




























  • Use code formatting. Then you can post the output with URLs.

    – muru
    Feb 25 '16 at 7:34











  • Possible duplicate of apt-get update cannot find ubuntu servers

    – TheSchwa
    Feb 26 '16 at 1:37













0












0








0








I am trying to update Ubuntu 14.04. But sudo apt-get update is returning the following errors.



0% [Connecting to in.archive.ubuntu.com] [Connecting to archive
0% [Connecting to in.archive.ubuntu.com] [Connecting to archive
Err http://in.archive.ubuntu.com trusty InRelease
Err http://archive.canonical.com trusty InRelease
Err http://extras.ubuntu.com trusty InRelease
Err http://in.archive.ubuntu.com trusty Release.gpg

Could not resolve 'in.archive.ubuntu.com'
Err http://archive.canonical.com trusty Release.gpg

Could not resolve 'archive.canonical.com'
Err http://extras.ubuntu.com trusty Release.gpg
Could not resolve 'extras.ubuntu.com'
Reading package lists...Done
W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/InRelease
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/InRelease
W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'in.archive.ubuntu.com'
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'archive.canonical.com'
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'extras.ubuntu.com'
W:Some index files failed to download.They have been ignored or old ones used instead.









share|improve this question

















I am trying to update Ubuntu 14.04. But sudo apt-get update is returning the following errors.



0% [Connecting to in.archive.ubuntu.com] [Connecting to archive
0% [Connecting to in.archive.ubuntu.com] [Connecting to archive
Err http://in.archive.ubuntu.com trusty InRelease
Err http://archive.canonical.com trusty InRelease
Err http://extras.ubuntu.com trusty InRelease
Err http://in.archive.ubuntu.com trusty Release.gpg

Could not resolve 'in.archive.ubuntu.com'
Err http://archive.canonical.com trusty Release.gpg

Could not resolve 'archive.canonical.com'
Err http://extras.ubuntu.com trusty Release.gpg
Could not resolve 'extras.ubuntu.com'
Reading package lists...Done
W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/InRelease
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/InRelease
W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'in.archive.ubuntu.com'
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'archive.canonical.com'
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'extras.ubuntu.com'
W:Some index files failed to download.They have been ignored or old ones used instead.






14.04 apt






share|improve this question
















share|improve this question













share|improve this question




share|improve this question








edited Feb 25 '16 at 9:13









muru

1




1










asked Feb 25 '16 at 6:18









RainbowRainbow

11 silver badge3 bronze badges




11 silver badge3 bronze badges















  • Use code formatting. Then you can post the output with URLs.

    – muru
    Feb 25 '16 at 7:34











  • Possible duplicate of apt-get update cannot find ubuntu servers

    – TheSchwa
    Feb 26 '16 at 1:37

















  • Use code formatting. Then you can post the output with URLs.

    – muru
    Feb 25 '16 at 7:34











  • Possible duplicate of apt-get update cannot find ubuntu servers

    – TheSchwa
    Feb 26 '16 at 1:37
















Use code formatting. Then you can post the output with URLs.

– muru
Feb 25 '16 at 7:34





Use code formatting. Then you can post the output with URLs.

– muru
Feb 25 '16 at 7:34













Possible duplicate of apt-get update cannot find ubuntu servers

– TheSchwa
Feb 26 '16 at 1:37





Possible duplicate of apt-get update cannot find ubuntu servers

– TheSchwa
Feb 26 '16 at 1:37










3 Answers
3






active

oldest

votes


















0


















I am facing with same problem. From the errors you can see that you are using the Ubuntu Server in India. Change the update server to something other than India.
Go to Setting > Software & update --- under Ubuntu Software tab, find the drop-down list to choose the server for downloading updates from. Choose main server.



See this:



enter image description here






share|improve this answer


























  • Thanks for the quick reply. But this solution did not work for me. I had configured internal network earlier and now I have changed it to NAT. Does this create a problem?

    – Rainbow
    Feb 25 '16 at 6:45


















-2


















Repository[prbm]



        There is a spelling mistake on your link on sources.list it will be present on a directory (/etc/apt/). There you will be able to see the file called sources.list and sources.list.save. Manually copy the contents of file sources.list.save to sources.list. Else use following commands on terminal.(Make sure that you logged on root permission / You need to know the administrator password).



sudo rm /etc/apt/sources.list
sudo cp /etc/apt/sources.list.save /etc/apt/sources.list
sudo apt-get update
sudo apt-get update --fix-missing


I hope it will works fine..






share|improve this answer


























  • Thanks for replying. The same problem still persists though.

    – Rainbow
    Feb 25 '16 at 6:53











  • On what basis you said 'There is a spelling mistake on your link on sources.list'? Just a guess or some clue from the errors?

    – Mostafa Ahangarha
    Feb 25 '16 at 7:27


















-2


















I am in Kashmir. I just updated my Ubuntu (15.10) from main server in last few min. Please give a try to updating from the main server and do update using apt command instead of apt-get:



sudo apt update


and share the error result




I don't know why you removed the screenshot of the errors in your question. it was useful.






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%2f738821%2fcannot-update-ubuntu-14-04-apt-get-issues%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown


























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0


















    I am facing with same problem. From the errors you can see that you are using the Ubuntu Server in India. Change the update server to something other than India.
    Go to Setting > Software & update --- under Ubuntu Software tab, find the drop-down list to choose the server for downloading updates from. Choose main server.



    See this:



    enter image description here






    share|improve this answer


























    • Thanks for the quick reply. But this solution did not work for me. I had configured internal network earlier and now I have changed it to NAT. Does this create a problem?

      – Rainbow
      Feb 25 '16 at 6:45















    0


















    I am facing with same problem. From the errors you can see that you are using the Ubuntu Server in India. Change the update server to something other than India.
    Go to Setting > Software & update --- under Ubuntu Software tab, find the drop-down list to choose the server for downloading updates from. Choose main server.



    See this:



    enter image description here






    share|improve this answer


























    • Thanks for the quick reply. But this solution did not work for me. I had configured internal network earlier and now I have changed it to NAT. Does this create a problem?

      – Rainbow
      Feb 25 '16 at 6:45













    0














    0










    0









    I am facing with same problem. From the errors you can see that you are using the Ubuntu Server in India. Change the update server to something other than India.
    Go to Setting > Software & update --- under Ubuntu Software tab, find the drop-down list to choose the server for downloading updates from. Choose main server.



    See this:



    enter image description here






    share|improve this answer














    I am facing with same problem. From the errors you can see that you are using the Ubuntu Server in India. Change the update server to something other than India.
    Go to Setting > Software & update --- under Ubuntu Software tab, find the drop-down list to choose the server for downloading updates from. Choose main server.



    See this:



    enter image description here







    share|improve this answer













    share|improve this answer




    share|improve this answer










    answered Feb 25 '16 at 6:37









    Mostafa AhangarhaMostafa Ahangarha

    2,9446 gold badges23 silver badges46 bronze badges




    2,9446 gold badges23 silver badges46 bronze badges















    • Thanks for the quick reply. But this solution did not work for me. I had configured internal network earlier and now I have changed it to NAT. Does this create a problem?

      – Rainbow
      Feb 25 '16 at 6:45

















    • Thanks for the quick reply. But this solution did not work for me. I had configured internal network earlier and now I have changed it to NAT. Does this create a problem?

      – Rainbow
      Feb 25 '16 at 6:45
















    Thanks for the quick reply. But this solution did not work for me. I had configured internal network earlier and now I have changed it to NAT. Does this create a problem?

    – Rainbow
    Feb 25 '16 at 6:45





    Thanks for the quick reply. But this solution did not work for me. I had configured internal network earlier and now I have changed it to NAT. Does this create a problem?

    – Rainbow
    Feb 25 '16 at 6:45













    -2


















    Repository[prbm]



            There is a spelling mistake on your link on sources.list it will be present on a directory (/etc/apt/). There you will be able to see the file called sources.list and sources.list.save. Manually copy the contents of file sources.list.save to sources.list. Else use following commands on terminal.(Make sure that you logged on root permission / You need to know the administrator password).



    sudo rm /etc/apt/sources.list
    sudo cp /etc/apt/sources.list.save /etc/apt/sources.list
    sudo apt-get update
    sudo apt-get update --fix-missing


    I hope it will works fine..






    share|improve this answer


























    • Thanks for replying. The same problem still persists though.

      – Rainbow
      Feb 25 '16 at 6:53











    • On what basis you said 'There is a spelling mistake on your link on sources.list'? Just a guess or some clue from the errors?

      – Mostafa Ahangarha
      Feb 25 '16 at 7:27















    -2


















    Repository[prbm]



            There is a spelling mistake on your link on sources.list it will be present on a directory (/etc/apt/). There you will be able to see the file called sources.list and sources.list.save. Manually copy the contents of file sources.list.save to sources.list. Else use following commands on terminal.(Make sure that you logged on root permission / You need to know the administrator password).



    sudo rm /etc/apt/sources.list
    sudo cp /etc/apt/sources.list.save /etc/apt/sources.list
    sudo apt-get update
    sudo apt-get update --fix-missing


    I hope it will works fine..






    share|improve this answer


























    • Thanks for replying. The same problem still persists though.

      – Rainbow
      Feb 25 '16 at 6:53











    • On what basis you said 'There is a spelling mistake on your link on sources.list'? Just a guess or some clue from the errors?

      – Mostafa Ahangarha
      Feb 25 '16 at 7:27













    -2














    -2










    -2









    Repository[prbm]



            There is a spelling mistake on your link on sources.list it will be present on a directory (/etc/apt/). There you will be able to see the file called sources.list and sources.list.save. Manually copy the contents of file sources.list.save to sources.list. Else use following commands on terminal.(Make sure that you logged on root permission / You need to know the administrator password).



    sudo rm /etc/apt/sources.list
    sudo cp /etc/apt/sources.list.save /etc/apt/sources.list
    sudo apt-get update
    sudo apt-get update --fix-missing


    I hope it will works fine..






    share|improve this answer














    Repository[prbm]



            There is a spelling mistake on your link on sources.list it will be present on a directory (/etc/apt/). There you will be able to see the file called sources.list and sources.list.save. Manually copy the contents of file sources.list.save to sources.list. Else use following commands on terminal.(Make sure that you logged on root permission / You need to know the administrator password).



    sudo rm /etc/apt/sources.list
    sudo cp /etc/apt/sources.list.save /etc/apt/sources.list
    sudo apt-get update
    sudo apt-get update --fix-missing


    I hope it will works fine..







    share|improve this answer













    share|improve this answer




    share|improve this answer










    answered Feb 25 '16 at 6:41









    Vijayaprakash PVijayaprakash P

    671 silver badge1 bronze badge




    671 silver badge1 bronze badge















    • Thanks for replying. The same problem still persists though.

      – Rainbow
      Feb 25 '16 at 6:53











    • On what basis you said 'There is a spelling mistake on your link on sources.list'? Just a guess or some clue from the errors?

      – Mostafa Ahangarha
      Feb 25 '16 at 7:27

















    • Thanks for replying. The same problem still persists though.

      – Rainbow
      Feb 25 '16 at 6:53











    • On what basis you said 'There is a spelling mistake on your link on sources.list'? Just a guess or some clue from the errors?

      – Mostafa Ahangarha
      Feb 25 '16 at 7:27
















    Thanks for replying. The same problem still persists though.

    – Rainbow
    Feb 25 '16 at 6:53





    Thanks for replying. The same problem still persists though.

    – Rainbow
    Feb 25 '16 at 6:53













    On what basis you said 'There is a spelling mistake on your link on sources.list'? Just a guess or some clue from the errors?

    – Mostafa Ahangarha
    Feb 25 '16 at 7:27





    On what basis you said 'There is a spelling mistake on your link on sources.list'? Just a guess or some clue from the errors?

    – Mostafa Ahangarha
    Feb 25 '16 at 7:27











    -2


















    I am in Kashmir. I just updated my Ubuntu (15.10) from main server in last few min. Please give a try to updating from the main server and do update using apt command instead of apt-get:



    sudo apt update


    and share the error result




    I don't know why you removed the screenshot of the errors in your question. it was useful.






    share|improve this answer






























      -2


















      I am in Kashmir. I just updated my Ubuntu (15.10) from main server in last few min. Please give a try to updating from the main server and do update using apt command instead of apt-get:



      sudo apt update


      and share the error result




      I don't know why you removed the screenshot of the errors in your question. it was useful.






      share|improve this answer




























        -2














        -2










        -2









        I am in Kashmir. I just updated my Ubuntu (15.10) from main server in last few min. Please give a try to updating from the main server and do update using apt command instead of apt-get:



        sudo apt update


        and share the error result




        I don't know why you removed the screenshot of the errors in your question. it was useful.






        share|improve this answer














        I am in Kashmir. I just updated my Ubuntu (15.10) from main server in last few min. Please give a try to updating from the main server and do update using apt command instead of apt-get:



        sudo apt update


        and share the error result




        I don't know why you removed the screenshot of the errors in your question. it was useful.







        share|improve this answer













        share|improve this answer




        share|improve this answer










        answered Feb 25 '16 at 7:32









        Mostafa AhangarhaMostafa Ahangarha

        2,9446 gold badges23 silver badges46 bronze badges




        2,9446 gold badges23 silver badges46 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%2f738821%2fcannot-update-ubuntu-14-04-apt-get-issues%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?

            Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?