How to configure sources.list from the mirror site?2019 Community Moderator ElectionInstalling Git on a Debian Lenny serverDebian Squeeze Apt-Get errorsGPG error occurs while using “deb file:/local-path-to-repo …” in /etc/apt/sources.listFailing to get Debian 7 i836 updatesSet mirrors in /etc/apt/sources.list with PreseedDebian: understanding /etc/apt/sources.listDigest authentication for debian repositoryAdding to sources.listCan apt-get work in Slackware or other Linuxes?Debian 8.5.0 - How to add network mirrors to /etc/apt/sources.list file

Why do Australian milk farmers need to protest supermarkets' milk price?

Russian cases: A few examples, I'm really confused

Old race car problem/puzzle

Meaning of "SEVERA INDEOVI VAS" from 3rd Century slab

Why does Deadpool say "You're welcome, Canada," after shooting Ryan Reynolds in the end credits?

Humanity loses the vast majority of its technology, information, and population in the year 2122. How long does it take to rebuild itself?

Theorems like the Lovász Local Lemma?

The use of "touch" and "touch on" in context

Identifying the interval from A♭ to D♯

Why are the outputs of printf and std::cout different

Have researchers managed to "reverse time"? If so, what does that mean for physics?

Why would a flight no longer considered airworthy be redirected like this?

Am I not good enough for you?

Does this AnyDice function accurately calculate the number of ogres you make unconcious with three 4th-level castings of Sleep?

Is it possible that AIC = BIC?

How to make healing in an exploration game interesting

Good allowance savings plan?

PTIJ: Who should pay for Uber rides: the child or the parent?

How to deal with a cynical class?

Possible Leak In Concrete

Making a sword in the stone, in a medieval world without magic

Can hydraulic brake levers get hot when brakes overheat?

Rules about breaking the rules. How do I do it well?

Bash replace string at multiple places in a file from command line



How to configure sources.list from the mirror site?



2019 Community Moderator ElectionInstalling Git on a Debian Lenny serverDebian Squeeze Apt-Get errorsGPG error occurs while using “deb file:/local-path-to-repo …” in /etc/apt/sources.listFailing to get Debian 7 i836 updatesSet mirrors in /etc/apt/sources.list with PreseedDebian: understanding /etc/apt/sources.listDigest authentication for debian repositoryAdding to sources.listCan apt-get work in Slackware or other Linuxes?Debian 8.5.0 - How to add network mirrors to /etc/apt/sources.list file










0















Hello everybody,



I have just installed Debian 9.8 in VMware for studying and learning this great distro. While installing it, I did not choose any network mirror as I wanted to learn how it is done from command line. Naturally, after installation, I could not update the system or install any software before editing the /etc/sources.list file.



Now comes the problem.



I am a resident of India and I wish to use a mirror site which is geographically closer to me. I found such a mirror site from the mirror list provided on Debian's official website (mirror.cse.iitk.ac.in). But I don't know how to set proper path of my selected mirror so that updates and software packages could be downloaded from it. I don't know what path I should insert into the /etc/sources.list file to configure the mirror site successfully.



I have already tried inserting the following line -



deb http://mirror.cse.iitk.ac.in stretch main contrib non-free



But apparently it doesn't work like that.This throws an error namely -



'Temporary failure in name resolution!'



Any help would be highly appreciated.










share|improve this question


























    0















    Hello everybody,



    I have just installed Debian 9.8 in VMware for studying and learning this great distro. While installing it, I did not choose any network mirror as I wanted to learn how it is done from command line. Naturally, after installation, I could not update the system or install any software before editing the /etc/sources.list file.



    Now comes the problem.



    I am a resident of India and I wish to use a mirror site which is geographically closer to me. I found such a mirror site from the mirror list provided on Debian's official website (mirror.cse.iitk.ac.in). But I don't know how to set proper path of my selected mirror so that updates and software packages could be downloaded from it. I don't know what path I should insert into the /etc/sources.list file to configure the mirror site successfully.



    I have already tried inserting the following line -



    deb http://mirror.cse.iitk.ac.in stretch main contrib non-free



    But apparently it doesn't work like that.This throws an error namely -



    'Temporary failure in name resolution!'



    Any help would be highly appreciated.










    share|improve this question
























      0












      0








      0








      Hello everybody,



      I have just installed Debian 9.8 in VMware for studying and learning this great distro. While installing it, I did not choose any network mirror as I wanted to learn how it is done from command line. Naturally, after installation, I could not update the system or install any software before editing the /etc/sources.list file.



      Now comes the problem.



      I am a resident of India and I wish to use a mirror site which is geographically closer to me. I found such a mirror site from the mirror list provided on Debian's official website (mirror.cse.iitk.ac.in). But I don't know how to set proper path of my selected mirror so that updates and software packages could be downloaded from it. I don't know what path I should insert into the /etc/sources.list file to configure the mirror site successfully.



      I have already tried inserting the following line -



      deb http://mirror.cse.iitk.ac.in stretch main contrib non-free



      But apparently it doesn't work like that.This throws an error namely -



      'Temporary failure in name resolution!'



      Any help would be highly appreciated.










      share|improve this question














      Hello everybody,



      I have just installed Debian 9.8 in VMware for studying and learning this great distro. While installing it, I did not choose any network mirror as I wanted to learn how it is done from command line. Naturally, after installation, I could not update the system or install any software before editing the /etc/sources.list file.



      Now comes the problem.



      I am a resident of India and I wish to use a mirror site which is geographically closer to me. I found such a mirror site from the mirror list provided on Debian's official website (mirror.cse.iitk.ac.in). But I don't know how to set proper path of my selected mirror so that updates and software packages could be downloaded from it. I don't know what path I should insert into the /etc/sources.list file to configure the mirror site successfully.



      I have already tried inserting the following line -



      deb http://mirror.cse.iitk.ac.in stretch main contrib non-free



      But apparently it doesn't work like that.This throws an error namely -



      'Temporary failure in name resolution!'



      Any help would be highly appreciated.







      debian apt mirror






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 7 at 12:11









      Sachin BorkarSachin Borkar

      2515




      2515






















          1 Answer
          1






          active

          oldest

          votes


















          0














          sources.list for Debian 9/Stretch :

          deb http://deb.debian.org/debian stretch main

          deb-src http://deb.debian.org/debian stretch main


          deb http://deb.debian.org/debian-security/ stretch/updates main

          deb-src http://deb.debian.org/debian-security/ stretch/updates main


          deb http://deb.debian.org/debian stretch-updates main

          deb-src http://deb.debian.org/debian stretch-updates main



          Above, Debian 9 sources I be found HERE.



          If not worked, some similar questions available on links :



          1. Setup Debian Mirrors after Installation

          2. How to Change Mirrors in sources.list Automatically?


          Thank you.






          share|improve this answer























          • Thanks for the help. But I would like to set up the mirror mentioned in my query. I don't want to use Debian's default / original mirrors. I've seen the links given by you. Unfortunately they don't discuss this particular aspect. Any ideas?

            – Sachin Borkar
            Mar 7 at 15:00











          • Have you tried using netselect-apt command using option -c for India region as accepted answer in second link I shared in answer above ? Also check whether system is able to access internet using ping command. Thank you.

            – Amey Chavan
            Mar 8 at 9:49











          • Thanks for the suggestion. I tried that. Apparently the command 'netselect' is not installed on my system. Since I did not configure a mirror at the time of installing the system, I can't install it with apt. So back to square one again. For clarity's sake, I would like to learn how to manually insert mirror paths in the sources.list file (from the mirror found from Debian's website) instead of using the command line magic. So please feel free to suggest more ideas. Thanks again for your kind help.

            – Sachin Borkar
            Mar 8 at 15:00










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          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%2fstackoverflow.com%2fquestions%2f55043482%2fhow-to-configure-sources-list-from-the-mirror-site%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














          sources.list for Debian 9/Stretch :

          deb http://deb.debian.org/debian stretch main

          deb-src http://deb.debian.org/debian stretch main


          deb http://deb.debian.org/debian-security/ stretch/updates main

          deb-src http://deb.debian.org/debian-security/ stretch/updates main


          deb http://deb.debian.org/debian stretch-updates main

          deb-src http://deb.debian.org/debian stretch-updates main



          Above, Debian 9 sources I be found HERE.



          If not worked, some similar questions available on links :



          1. Setup Debian Mirrors after Installation

          2. How to Change Mirrors in sources.list Automatically?


          Thank you.






          share|improve this answer























          • Thanks for the help. But I would like to set up the mirror mentioned in my query. I don't want to use Debian's default / original mirrors. I've seen the links given by you. Unfortunately they don't discuss this particular aspect. Any ideas?

            – Sachin Borkar
            Mar 7 at 15:00











          • Have you tried using netselect-apt command using option -c for India region as accepted answer in second link I shared in answer above ? Also check whether system is able to access internet using ping command. Thank you.

            – Amey Chavan
            Mar 8 at 9:49











          • Thanks for the suggestion. I tried that. Apparently the command 'netselect' is not installed on my system. Since I did not configure a mirror at the time of installing the system, I can't install it with apt. So back to square one again. For clarity's sake, I would like to learn how to manually insert mirror paths in the sources.list file (from the mirror found from Debian's website) instead of using the command line magic. So please feel free to suggest more ideas. Thanks again for your kind help.

            – Sachin Borkar
            Mar 8 at 15:00















          0














          sources.list for Debian 9/Stretch :

          deb http://deb.debian.org/debian stretch main

          deb-src http://deb.debian.org/debian stretch main


          deb http://deb.debian.org/debian-security/ stretch/updates main

          deb-src http://deb.debian.org/debian-security/ stretch/updates main


          deb http://deb.debian.org/debian stretch-updates main

          deb-src http://deb.debian.org/debian stretch-updates main



          Above, Debian 9 sources I be found HERE.



          If not worked, some similar questions available on links :



          1. Setup Debian Mirrors after Installation

          2. How to Change Mirrors in sources.list Automatically?


          Thank you.






          share|improve this answer























          • Thanks for the help. But I would like to set up the mirror mentioned in my query. I don't want to use Debian's default / original mirrors. I've seen the links given by you. Unfortunately they don't discuss this particular aspect. Any ideas?

            – Sachin Borkar
            Mar 7 at 15:00











          • Have you tried using netselect-apt command using option -c for India region as accepted answer in second link I shared in answer above ? Also check whether system is able to access internet using ping command. Thank you.

            – Amey Chavan
            Mar 8 at 9:49











          • Thanks for the suggestion. I tried that. Apparently the command 'netselect' is not installed on my system. Since I did not configure a mirror at the time of installing the system, I can't install it with apt. So back to square one again. For clarity's sake, I would like to learn how to manually insert mirror paths in the sources.list file (from the mirror found from Debian's website) instead of using the command line magic. So please feel free to suggest more ideas. Thanks again for your kind help.

            – Sachin Borkar
            Mar 8 at 15:00













          0












          0








          0







          sources.list for Debian 9/Stretch :

          deb http://deb.debian.org/debian stretch main

          deb-src http://deb.debian.org/debian stretch main


          deb http://deb.debian.org/debian-security/ stretch/updates main

          deb-src http://deb.debian.org/debian-security/ stretch/updates main


          deb http://deb.debian.org/debian stretch-updates main

          deb-src http://deb.debian.org/debian stretch-updates main



          Above, Debian 9 sources I be found HERE.



          If not worked, some similar questions available on links :



          1. Setup Debian Mirrors after Installation

          2. How to Change Mirrors in sources.list Automatically?


          Thank you.






          share|improve this answer













          sources.list for Debian 9/Stretch :

          deb http://deb.debian.org/debian stretch main

          deb-src http://deb.debian.org/debian stretch main


          deb http://deb.debian.org/debian-security/ stretch/updates main

          deb-src http://deb.debian.org/debian-security/ stretch/updates main


          deb http://deb.debian.org/debian stretch-updates main

          deb-src http://deb.debian.org/debian stretch-updates main



          Above, Debian 9 sources I be found HERE.



          If not worked, some similar questions available on links :



          1. Setup Debian Mirrors after Installation

          2. How to Change Mirrors in sources.list Automatically?


          Thank you.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 7 at 12:40









          Amey ChavanAmey Chavan

          113




          113












          • Thanks for the help. But I would like to set up the mirror mentioned in my query. I don't want to use Debian's default / original mirrors. I've seen the links given by you. Unfortunately they don't discuss this particular aspect. Any ideas?

            – Sachin Borkar
            Mar 7 at 15:00











          • Have you tried using netselect-apt command using option -c for India region as accepted answer in second link I shared in answer above ? Also check whether system is able to access internet using ping command. Thank you.

            – Amey Chavan
            Mar 8 at 9:49











          • Thanks for the suggestion. I tried that. Apparently the command 'netselect' is not installed on my system. Since I did not configure a mirror at the time of installing the system, I can't install it with apt. So back to square one again. For clarity's sake, I would like to learn how to manually insert mirror paths in the sources.list file (from the mirror found from Debian's website) instead of using the command line magic. So please feel free to suggest more ideas. Thanks again for your kind help.

            – Sachin Borkar
            Mar 8 at 15:00

















          • Thanks for the help. But I would like to set up the mirror mentioned in my query. I don't want to use Debian's default / original mirrors. I've seen the links given by you. Unfortunately they don't discuss this particular aspect. Any ideas?

            – Sachin Borkar
            Mar 7 at 15:00











          • Have you tried using netselect-apt command using option -c for India region as accepted answer in second link I shared in answer above ? Also check whether system is able to access internet using ping command. Thank you.

            – Amey Chavan
            Mar 8 at 9:49











          • Thanks for the suggestion. I tried that. Apparently the command 'netselect' is not installed on my system. Since I did not configure a mirror at the time of installing the system, I can't install it with apt. So back to square one again. For clarity's sake, I would like to learn how to manually insert mirror paths in the sources.list file (from the mirror found from Debian's website) instead of using the command line magic. So please feel free to suggest more ideas. Thanks again for your kind help.

            – Sachin Borkar
            Mar 8 at 15:00
















          Thanks for the help. But I would like to set up the mirror mentioned in my query. I don't want to use Debian's default / original mirrors. I've seen the links given by you. Unfortunately they don't discuss this particular aspect. Any ideas?

          – Sachin Borkar
          Mar 7 at 15:00





          Thanks for the help. But I would like to set up the mirror mentioned in my query. I don't want to use Debian's default / original mirrors. I've seen the links given by you. Unfortunately they don't discuss this particular aspect. Any ideas?

          – Sachin Borkar
          Mar 7 at 15:00













          Have you tried using netselect-apt command using option -c for India region as accepted answer in second link I shared in answer above ? Also check whether system is able to access internet using ping command. Thank you.

          – Amey Chavan
          Mar 8 at 9:49





          Have you tried using netselect-apt command using option -c for India region as accepted answer in second link I shared in answer above ? Also check whether system is able to access internet using ping command. Thank you.

          – Amey Chavan
          Mar 8 at 9:49













          Thanks for the suggestion. I tried that. Apparently the command 'netselect' is not installed on my system. Since I did not configure a mirror at the time of installing the system, I can't install it with apt. So back to square one again. For clarity's sake, I would like to learn how to manually insert mirror paths in the sources.list file (from the mirror found from Debian's website) instead of using the command line magic. So please feel free to suggest more ideas. Thanks again for your kind help.

          – Sachin Borkar
          Mar 8 at 15:00





          Thanks for the suggestion. I tried that. Apparently the command 'netselect' is not installed on my system. Since I did not configure a mirror at the time of installing the system, I can't install it with apt. So back to square one again. For clarity's sake, I would like to learn how to manually insert mirror paths in the sources.list file (from the mirror found from Debian's website) instead of using the command line magic. So please feel free to suggest more ideas. Thanks again for your kind help.

          – Sachin Borkar
          Mar 8 at 15:00



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • 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%2fstackoverflow.com%2fquestions%2f55043482%2fhow-to-configure-sources-list-from-the-mirror-site%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

          Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

          Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

          2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived