Cannot update Ubuntu 14.04 : apt-get issues












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
















bumped to the homepage by Community 59 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • 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
















bumped to the homepage by Community 59 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • 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

113




113





bumped to the homepage by Community 59 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 59 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • 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/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%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,61152142




    2,61152142













    • 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

    5711




    5711













    • 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,61152142




        2,61152142






























            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

            GameSpot

            日野市

            Tu-95轟炸機