Skipping “Configuring apt” during system installation on Ubuntu Server
I'm using packer to automate an installation of Ubuntu Server 16.04.1 LTS (Xenial Xerus).
During the installation, I noticed that the installer spends a lot of time hanging on this screen before eventually seeming to give up and move on:
It just hangs at "Retrieving file 1 of 18" for a few minutes and then moves to the next screen, without "file 2 of 18" or any progress beyond file 1 ever showing. I believe this is because I am doing an offline install with no internet access, and apt is waiting for some sort of timeout before moving on.
This doesn't cause the install to fail, but it does cause the installer to spend quite a bit of unnecessary time just sitting there, doing nothing. Is there a preseed option I can use to just skip this step entirely? That would certainly speed up my builds quite a bit.
I realize I can just hit cancel manually, but I'm doing an entirely automated install, so that isn't a viable option for production.
I've already tried the following options, and none of them seemed to have any effect on this screen:
d-i pkgsel/updatedb boolean false
d-i pkgsel/upgrade select none
d-i apt-setup/use_mirror boolean false
server system-installation preseed
bumped to the homepage by Community♦ 2 days 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'm using packer to automate an installation of Ubuntu Server 16.04.1 LTS (Xenial Xerus).
During the installation, I noticed that the installer spends a lot of time hanging on this screen before eventually seeming to give up and move on:
It just hangs at "Retrieving file 1 of 18" for a few minutes and then moves to the next screen, without "file 2 of 18" or any progress beyond file 1 ever showing. I believe this is because I am doing an offline install with no internet access, and apt is waiting for some sort of timeout before moving on.
This doesn't cause the install to fail, but it does cause the installer to spend quite a bit of unnecessary time just sitting there, doing nothing. Is there a preseed option I can use to just skip this step entirely? That would certainly speed up my builds quite a bit.
I realize I can just hit cancel manually, but I'm doing an entirely automated install, so that isn't a viable option for production.
I've already tried the following options, and none of them seemed to have any effect on this screen:
d-i pkgsel/updatedb boolean false
d-i pkgsel/upgrade select none
d-i apt-setup/use_mirror boolean false
server system-installation preseed
bumped to the homepage by Community♦ 2 days 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'm using packer to automate an installation of Ubuntu Server 16.04.1 LTS (Xenial Xerus).
During the installation, I noticed that the installer spends a lot of time hanging on this screen before eventually seeming to give up and move on:
It just hangs at "Retrieving file 1 of 18" for a few minutes and then moves to the next screen, without "file 2 of 18" or any progress beyond file 1 ever showing. I believe this is because I am doing an offline install with no internet access, and apt is waiting for some sort of timeout before moving on.
This doesn't cause the install to fail, but it does cause the installer to spend quite a bit of unnecessary time just sitting there, doing nothing. Is there a preseed option I can use to just skip this step entirely? That would certainly speed up my builds quite a bit.
I realize I can just hit cancel manually, but I'm doing an entirely automated install, so that isn't a viable option for production.
I've already tried the following options, and none of them seemed to have any effect on this screen:
d-i pkgsel/updatedb boolean false
d-i pkgsel/upgrade select none
d-i apt-setup/use_mirror boolean false
server system-installation preseed
I'm using packer to automate an installation of Ubuntu Server 16.04.1 LTS (Xenial Xerus).
During the installation, I noticed that the installer spends a lot of time hanging on this screen before eventually seeming to give up and move on:
It just hangs at "Retrieving file 1 of 18" for a few minutes and then moves to the next screen, without "file 2 of 18" or any progress beyond file 1 ever showing. I believe this is because I am doing an offline install with no internet access, and apt is waiting for some sort of timeout before moving on.
This doesn't cause the install to fail, but it does cause the installer to spend quite a bit of unnecessary time just sitting there, doing nothing. Is there a preseed option I can use to just skip this step entirely? That would certainly speed up my builds quite a bit.
I realize I can just hit cancel manually, but I'm doing an entirely automated install, so that isn't a viable option for production.
I've already tried the following options, and none of them seemed to have any effect on this screen:
d-i pkgsel/updatedb boolean false
d-i pkgsel/upgrade select none
d-i apt-setup/use_mirror boolean false
server system-installation preseed
server system-installation preseed
asked Aug 18 '16 at 16:02
Ajedi32Ajedi32
13519
13519
bumped to the homepage by Community♦ 2 days 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♦ 2 days 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 |
1 Answer
1
active
oldest
votes
you can skip configuring apt by simply pressing ctrl+R+del then the following step will skip by connecting to the server of that step.No any bug found while trying this step.well,being a linux expert i suggest you to use this method or another method that is ctrl+F1+esc.thats all
excellent rabin i have skipped that step without having any problem
– rabin banset
Apr 12 '17 at 9:54
From the question: "I realize I can just hit cancel manually, but I'm doing an entirely automated install, so that isn't a viable option for production."
– Ajedi32
Apr 12 '17 at 13:03
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%2f813857%2fskipping-configuring-apt-during-system-installation-on-ubuntu-server%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
you can skip configuring apt by simply pressing ctrl+R+del then the following step will skip by connecting to the server of that step.No any bug found while trying this step.well,being a linux expert i suggest you to use this method or another method that is ctrl+F1+esc.thats all
excellent rabin i have skipped that step without having any problem
– rabin banset
Apr 12 '17 at 9:54
From the question: "I realize I can just hit cancel manually, but I'm doing an entirely automated install, so that isn't a viable option for production."
– Ajedi32
Apr 12 '17 at 13:03
add a comment |
you can skip configuring apt by simply pressing ctrl+R+del then the following step will skip by connecting to the server of that step.No any bug found while trying this step.well,being a linux expert i suggest you to use this method or another method that is ctrl+F1+esc.thats all
excellent rabin i have skipped that step without having any problem
– rabin banset
Apr 12 '17 at 9:54
From the question: "I realize I can just hit cancel manually, but I'm doing an entirely automated install, so that isn't a viable option for production."
– Ajedi32
Apr 12 '17 at 13:03
add a comment |
you can skip configuring apt by simply pressing ctrl+R+del then the following step will skip by connecting to the server of that step.No any bug found while trying this step.well,being a linux expert i suggest you to use this method or another method that is ctrl+F1+esc.thats all
you can skip configuring apt by simply pressing ctrl+R+del then the following step will skip by connecting to the server of that step.No any bug found while trying this step.well,being a linux expert i suggest you to use this method or another method that is ctrl+F1+esc.thats all
answered Apr 12 '17 at 9:52
rabin bansetrabin banset
1
1
excellent rabin i have skipped that step without having any problem
– rabin banset
Apr 12 '17 at 9:54
From the question: "I realize I can just hit cancel manually, but I'm doing an entirely automated install, so that isn't a viable option for production."
– Ajedi32
Apr 12 '17 at 13:03
add a comment |
excellent rabin i have skipped that step without having any problem
– rabin banset
Apr 12 '17 at 9:54
From the question: "I realize I can just hit cancel manually, but I'm doing an entirely automated install, so that isn't a viable option for production."
– Ajedi32
Apr 12 '17 at 13:03
excellent rabin i have skipped that step without having any problem
– rabin banset
Apr 12 '17 at 9:54
excellent rabin i have skipped that step without having any problem
– rabin banset
Apr 12 '17 at 9:54
From the question: "I realize I can just hit cancel manually, but I'm doing an entirely automated install, so that isn't a viable option for production."
– Ajedi32
Apr 12 '17 at 13:03
From the question: "I realize I can just hit cancel manually, but I'm doing an entirely automated install, so that isn't a viable option for production."
– Ajedi32
Apr 12 '17 at 13:03
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%2f813857%2fskipping-configuring-apt-during-system-installation-on-ubuntu-server%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