How to change the repository location while installing from live cd?
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
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.
add a comment |
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
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.
add a comment |
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
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
apt system-installation live-usb software-sources
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.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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.
Tried that, it doesn't respect that file.
– Tejas Kale
May 26 '14 at 11:57
add a comment |
- 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
Second step: update with:
sudo apt-get update
Now install the packages you want to - for example
apt-get install packagename
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Tried that, it doesn't respect that file.
– Tejas Kale
May 26 '14 at 11:57
add a comment |
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.
Tried that, it doesn't respect that file.
– Tejas Kale
May 26 '14 at 11:57
add a comment |
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.
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.
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
add a comment |
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
add a comment |
- 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
Second step: update with:
sudo apt-get update
Now install the packages you want to - for example
apt-get install packagename
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
add a comment |
- 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
Second step: update with:
sudo apt-get update
Now install the packages you want to - for example
apt-get install packagename
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
add a comment |
- 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
Second step: update with:
sudo apt-get update
Now install the packages you want to - for example
apt-get install packagename
- 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
Second step: update with:
sudo apt-get update
Now install the packages you want to - for example
apt-get install packagename
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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