How to change the repository location while installing from live cd?












1















I am installing 14.04 from a live CD. While installing, it downloads updates from the Internet. I see it is currently downloading from



http://in.archive.ubuntu.com/


Is there any way I can change that repo? My company has Ubuntu mirrored on an internal repository, and I would like to use that.



I tried changing in /etc/apt/sources.lst , but the installer doesn't respect that file.










share|improve this question
















bumped to the homepage by Community 13 mins ago


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




















    1















    I am installing 14.04 from a live CD. While installing, it downloads updates from the Internet. I see it is currently downloading from



    http://in.archive.ubuntu.com/


    Is there any way I can change that repo? My company has Ubuntu mirrored on an internal repository, and I would like to use that.



    I tried changing in /etc/apt/sources.lst , but the installer doesn't respect that file.










    share|improve this question
















    bumped to the homepage by Community 13 mins ago


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


















      1












      1








      1


      0






      I am installing 14.04 from a live CD. While installing, it downloads updates from the Internet. I see it is currently downloading from



      http://in.archive.ubuntu.com/


      Is there any way I can change that repo? My company has Ubuntu mirrored on an internal repository, and I would like to use that.



      I tried changing in /etc/apt/sources.lst , but the installer doesn't respect that file.










      share|improve this question
















      I am installing 14.04 from a live CD. While installing, it downloads updates from the Internet. I see it is currently downloading from



      http://in.archive.ubuntu.com/


      Is there any way I can change that repo? My company has Ubuntu mirrored on an internal repository, and I would like to use that.



      I tried changing in /etc/apt/sources.lst , but the installer doesn't respect that file.







      apt system-installation live-usb software-sources






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 26 '14 at 11:59







      Tejas Kale

















      asked May 26 '14 at 11:52









      Tejas KaleTejas Kale

      11128




      11128





      bumped to the homepage by Community 13 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 13 mins ago


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
























          2 Answers
          2






          active

          oldest

          votes


















          0














          You could try to set the mirror manually in /etc/apt/sources.list, but I'm not sure if the installer respects that file. (Although, why wouldn't it?)



          Another approach would be to disable updates during installation, and just set up the mirror once the installation is done.






          share|improve this answer
























          • Tried that, it doesn't respect that file.

            – Tejas Kale
            May 26 '14 at 11:57



















          0















          1. First step: add your CD / DVD to the sources list.


          Option A: Edit the /etc/apt/sources.list and comment all the repositories excepting the CD with:



          sudo nano /etc/apt/sources.list


          Option B: Use apt-cdrom



          test: sudo apt-cdrom --no-act add


          If everything is OK:



          sudo apt-cdrom add
          sudo apt-cdrom ident
          sudo apt-cdrom -d "your-cdrom-mount-point" -r



          1. Second step: update with: sudo apt-get update


          2. Now install the packages you want to - for example apt-get install packagename







          share|improve this answer


























          • I dont want to use the CD as the update source. I want to download the repos of an internal mirror hosted locally(Saves bandwidth, is ultra fast). Anyway, I installed and changed the download locations later.

            – Tejas Kale
            Mar 28 '16 at 11:11














          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%2f472388%2fhow-to-change-the-repository-location-while-installing-from-live-cd%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You could try to set the mirror manually in /etc/apt/sources.list, but I'm not sure if the installer respects that file. (Although, why wouldn't it?)



          Another approach would be to disable updates during installation, and just set up the mirror once the installation is done.






          share|improve this answer
























          • Tried that, it doesn't respect that file.

            – Tejas Kale
            May 26 '14 at 11:57
















          0














          You could try to set the mirror manually in /etc/apt/sources.list, but I'm not sure if the installer respects that file. (Although, why wouldn't it?)



          Another approach would be to disable updates during installation, and just set up the mirror once the installation is done.






          share|improve this answer
























          • Tried that, it doesn't respect that file.

            – Tejas Kale
            May 26 '14 at 11:57














          0












          0








          0







          You could try to set the mirror manually in /etc/apt/sources.list, but I'm not sure if the installer respects that file. (Although, why wouldn't it?)



          Another approach would be to disable updates during installation, and just set up the mirror once the installation is done.






          share|improve this answer













          You could try to set the mirror manually in /etc/apt/sources.list, but I'm not sure if the installer respects that file. (Although, why wouldn't it?)



          Another approach would be to disable updates during installation, and just set up the mirror once the installation is done.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 26 '14 at 11:56









          kraxorkraxor

          4,32431832




          4,32431832













          • Tried that, it doesn't respect that file.

            – Tejas Kale
            May 26 '14 at 11:57



















          • Tried that, it doesn't respect that file.

            – Tejas Kale
            May 26 '14 at 11:57

















          Tried that, it doesn't respect that file.

          – Tejas Kale
          May 26 '14 at 11:57





          Tried that, it doesn't respect that file.

          – Tejas Kale
          May 26 '14 at 11:57













          0















          1. First step: add your CD / DVD to the sources list.


          Option A: Edit the /etc/apt/sources.list and comment all the repositories excepting the CD with:



          sudo nano /etc/apt/sources.list


          Option B: Use apt-cdrom



          test: sudo apt-cdrom --no-act add


          If everything is OK:



          sudo apt-cdrom add
          sudo apt-cdrom ident
          sudo apt-cdrom -d "your-cdrom-mount-point" -r



          1. Second step: update with: sudo apt-get update


          2. Now install the packages you want to - for example apt-get install packagename







          share|improve this answer


























          • I dont want to use the CD as the update source. I want to download the repos of an internal mirror hosted locally(Saves bandwidth, is ultra fast). Anyway, I installed and changed the download locations later.

            – Tejas Kale
            Mar 28 '16 at 11:11


















          0















          1. First step: add your CD / DVD to the sources list.


          Option A: Edit the /etc/apt/sources.list and comment all the repositories excepting the CD with:



          sudo nano /etc/apt/sources.list


          Option B: Use apt-cdrom



          test: sudo apt-cdrom --no-act add


          If everything is OK:



          sudo apt-cdrom add
          sudo apt-cdrom ident
          sudo apt-cdrom -d "your-cdrom-mount-point" -r



          1. Second step: update with: sudo apt-get update


          2. Now install the packages you want to - for example apt-get install packagename







          share|improve this answer


























          • I dont want to use the CD as the update source. I want to download the repos of an internal mirror hosted locally(Saves bandwidth, is ultra fast). Anyway, I installed and changed the download locations later.

            – Tejas Kale
            Mar 28 '16 at 11:11
















          0












          0








          0








          1. First step: add your CD / DVD to the sources list.


          Option A: Edit the /etc/apt/sources.list and comment all the repositories excepting the CD with:



          sudo nano /etc/apt/sources.list


          Option B: Use apt-cdrom



          test: sudo apt-cdrom --no-act add


          If everything is OK:



          sudo apt-cdrom add
          sudo apt-cdrom ident
          sudo apt-cdrom -d "your-cdrom-mount-point" -r



          1. Second step: update with: sudo apt-get update


          2. Now install the packages you want to - for example apt-get install packagename







          share|improve this answer
















          1. First step: add your CD / DVD to the sources list.


          Option A: Edit the /etc/apt/sources.list and comment all the repositories excepting the CD with:



          sudo nano /etc/apt/sources.list


          Option B: Use apt-cdrom



          test: sudo apt-cdrom --no-act add


          If everything is OK:



          sudo apt-cdrom add
          sudo apt-cdrom ident
          sudo apt-cdrom -d "your-cdrom-mount-point" -r



          1. Second step: update with: sudo apt-get update


          2. Now install the packages you want to - for example apt-get install packagename








          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Sep 29 '15 at 21:03









          kos

          26k971122




          26k971122










          answered Nov 16 '14 at 5:10









          TrickyJTrickyJ

          284




          284













          • I dont want to use the CD as the update source. I want to download the repos of an internal mirror hosted locally(Saves bandwidth, is ultra fast). Anyway, I installed and changed the download locations later.

            – Tejas Kale
            Mar 28 '16 at 11:11





















          • I dont want to use the CD as the update source. I want to download the repos of an internal mirror hosted locally(Saves bandwidth, is ultra fast). Anyway, I installed and changed the download locations later.

            – Tejas Kale
            Mar 28 '16 at 11:11



















          I dont want to use the CD as the update source. I want to download the repos of an internal mirror hosted locally(Saves bandwidth, is ultra fast). Anyway, I installed and changed the download locations later.

          – Tejas Kale
          Mar 28 '16 at 11:11







          I dont want to use the CD as the update source. I want to download the repos of an internal mirror hosted locally(Saves bandwidth, is ultra fast). Anyway, I installed and changed the download locations later.

          – Tejas Kale
          Mar 28 '16 at 11:11




















          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%2f472388%2fhow-to-change-the-repository-location-while-installing-from-live-cd%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轟炸機