Debian - disabling use mirror on preseed.cfg
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I have created a preseed automated installation on my Debian jessie 8, but after installing the base packages, it returns error message error it can not use the
mirror package, please enter hostname another mirror...
But if I select the option to ignore it continues, is there any way to do this automatically via a preseed file?
Thanks
Update:
The solution
comment all lines referring to apt-setup and add this line
d-i apt-setup/use_mirror boolean false
Obs: Don't remove lines referring to mirror...
Example block mirror
d-i mirror/country string manual
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
d-i apt-setup/use_mirror boolean false
debian debian-installer
add a comment |Â
up vote
3
down vote
favorite
I have created a preseed automated installation on my Debian jessie 8, but after installing the base packages, it returns error message error it can not use the
mirror package, please enter hostname another mirror...
But if I select the option to ignore it continues, is there any way to do this automatically via a preseed file?
Thanks
Update:
The solution
comment all lines referring to apt-setup and add this line
d-i apt-setup/use_mirror boolean false
Obs: Don't remove lines referring to mirror...
Example block mirror
d-i mirror/country string manual
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
d-i apt-setup/use_mirror boolean false
debian debian-installer
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I have created a preseed automated installation on my Debian jessie 8, but after installing the base packages, it returns error message error it can not use the
mirror package, please enter hostname another mirror...
But if I select the option to ignore it continues, is there any way to do this automatically via a preseed file?
Thanks
Update:
The solution
comment all lines referring to apt-setup and add this line
d-i apt-setup/use_mirror boolean false
Obs: Don't remove lines referring to mirror...
Example block mirror
d-i mirror/country string manual
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
d-i apt-setup/use_mirror boolean false
debian debian-installer
I have created a preseed automated installation on my Debian jessie 8, but after installing the base packages, it returns error message error it can not use the
mirror package, please enter hostname another mirror...
But if I select the option to ignore it continues, is there any way to do this automatically via a preseed file?
Thanks
Update:
The solution
comment all lines referring to apt-setup and add this line
d-i apt-setup/use_mirror boolean false
Obs: Don't remove lines referring to mirror...
Example block mirror
d-i mirror/country string manual
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
d-i apt-setup/use_mirror boolean false
debian debian-installer
debian debian-installer
edited Oct 18 '15 at 21:02
Thomas Dickey
50.3k587157
50.3k587157
asked Jul 16 '15 at 2:03
Marcos Carraro
164
164
add a comment |Â
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
2
down vote
Just a heads-up that all of the above suggestions do not work for any current Debian or Ubuntu preseeds. You will always be prompted for a mirror, unless you statically define one with something like the following:
d-i mirror/country string manual
d-i mirror/http/hostname string archive.ubuntu.com
d-i mirror/http/directory string /ubuntu/
d-i mirror/http/proxy string
There is no combination of other options that will bypass the mirror dialog without choosing a mirror. I've tried hundreds of combinations without luck.
You either choose a mirror and define it statically, or you will be prompted.
add a comment |Â
up vote
1
down vote
Try putting this in the preseed.cfg
:
d-i apt-setup/no_mirror boolean true
my preseed.cfg pastebin.com/4jMDim3M i have add line on the file, put the error persist,
â Marcos Carraro
Jul 16 '15 at 14:55
i have comented all line referente apt-setup and added this line d-i apt-setup/use_mirror boolean false all errors have gone...
â Marcos Carraro
Jul 16 '15 at 15:02
add a comment |Â
up vote
0
down vote
To disable mirrors, the only lines considering mirrors should be:
d-i apt-setup/use_mirror boolean false
And if you also don't want any updates (like security.debian.org), because You will configure those differently after installation and don't want to be interrupted during it if the network is down e.g. use:
d-i apt-setup/services-select multiselect
(without the default security, updates
)
Of course you should use a DVD or CD for installation then. To prevent being bothered with dialogue to scan other DVDs, add:
d-i apt-setup/cdrom/set-first boolean false
This should do the trick.
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
Just a heads-up that all of the above suggestions do not work for any current Debian or Ubuntu preseeds. You will always be prompted for a mirror, unless you statically define one with something like the following:
d-i mirror/country string manual
d-i mirror/http/hostname string archive.ubuntu.com
d-i mirror/http/directory string /ubuntu/
d-i mirror/http/proxy string
There is no combination of other options that will bypass the mirror dialog without choosing a mirror. I've tried hundreds of combinations without luck.
You either choose a mirror and define it statically, or you will be prompted.
add a comment |Â
up vote
2
down vote
Just a heads-up that all of the above suggestions do not work for any current Debian or Ubuntu preseeds. You will always be prompted for a mirror, unless you statically define one with something like the following:
d-i mirror/country string manual
d-i mirror/http/hostname string archive.ubuntu.com
d-i mirror/http/directory string /ubuntu/
d-i mirror/http/proxy string
There is no combination of other options that will bypass the mirror dialog without choosing a mirror. I've tried hundreds of combinations without luck.
You either choose a mirror and define it statically, or you will be prompted.
add a comment |Â
up vote
2
down vote
up vote
2
down vote
Just a heads-up that all of the above suggestions do not work for any current Debian or Ubuntu preseeds. You will always be prompted for a mirror, unless you statically define one with something like the following:
d-i mirror/country string manual
d-i mirror/http/hostname string archive.ubuntu.com
d-i mirror/http/directory string /ubuntu/
d-i mirror/http/proxy string
There is no combination of other options that will bypass the mirror dialog without choosing a mirror. I've tried hundreds of combinations without luck.
You either choose a mirror and define it statically, or you will be prompted.
Just a heads-up that all of the above suggestions do not work for any current Debian or Ubuntu preseeds. You will always be prompted for a mirror, unless you statically define one with something like the following:
d-i mirror/country string manual
d-i mirror/http/hostname string archive.ubuntu.com
d-i mirror/http/directory string /ubuntu/
d-i mirror/http/proxy string
There is no combination of other options that will bypass the mirror dialog without choosing a mirror. I've tried hundreds of combinations without luck.
You either choose a mirror and define it statically, or you will be prompted.
answered May 25 '17 at 18:45
user3565738
212
212
add a comment |Â
add a comment |Â
up vote
1
down vote
Try putting this in the preseed.cfg
:
d-i apt-setup/no_mirror boolean true
my preseed.cfg pastebin.com/4jMDim3M i have add line on the file, put the error persist,
â Marcos Carraro
Jul 16 '15 at 14:55
i have comented all line referente apt-setup and added this line d-i apt-setup/use_mirror boolean false all errors have gone...
â Marcos Carraro
Jul 16 '15 at 15:02
add a comment |Â
up vote
1
down vote
Try putting this in the preseed.cfg
:
d-i apt-setup/no_mirror boolean true
my preseed.cfg pastebin.com/4jMDim3M i have add line on the file, put the error persist,
â Marcos Carraro
Jul 16 '15 at 14:55
i have comented all line referente apt-setup and added this line d-i apt-setup/use_mirror boolean false all errors have gone...
â Marcos Carraro
Jul 16 '15 at 15:02
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Try putting this in the preseed.cfg
:
d-i apt-setup/no_mirror boolean true
Try putting this in the preseed.cfg
:
d-i apt-setup/no_mirror boolean true
answered Jul 16 '15 at 6:39
neuron
1,605517
1,605517
my preseed.cfg pastebin.com/4jMDim3M i have add line on the file, put the error persist,
â Marcos Carraro
Jul 16 '15 at 14:55
i have comented all line referente apt-setup and added this line d-i apt-setup/use_mirror boolean false all errors have gone...
â Marcos Carraro
Jul 16 '15 at 15:02
add a comment |Â
my preseed.cfg pastebin.com/4jMDim3M i have add line on the file, put the error persist,
â Marcos Carraro
Jul 16 '15 at 14:55
i have comented all line referente apt-setup and added this line d-i apt-setup/use_mirror boolean false all errors have gone...
â Marcos Carraro
Jul 16 '15 at 15:02
my preseed.cfg pastebin.com/4jMDim3M i have add line on the file, put the error persist,
â Marcos Carraro
Jul 16 '15 at 14:55
my preseed.cfg pastebin.com/4jMDim3M i have add line on the file, put the error persist,
â Marcos Carraro
Jul 16 '15 at 14:55
i have comented all line referente apt-setup and added this line d-i apt-setup/use_mirror boolean false all errors have gone...
â Marcos Carraro
Jul 16 '15 at 15:02
i have comented all line referente apt-setup and added this line d-i apt-setup/use_mirror boolean false all errors have gone...
â Marcos Carraro
Jul 16 '15 at 15:02
add a comment |Â
up vote
0
down vote
To disable mirrors, the only lines considering mirrors should be:
d-i apt-setup/use_mirror boolean false
And if you also don't want any updates (like security.debian.org), because You will configure those differently after installation and don't want to be interrupted during it if the network is down e.g. use:
d-i apt-setup/services-select multiselect
(without the default security, updates
)
Of course you should use a DVD or CD for installation then. To prevent being bothered with dialogue to scan other DVDs, add:
d-i apt-setup/cdrom/set-first boolean false
This should do the trick.
add a comment |Â
up vote
0
down vote
To disable mirrors, the only lines considering mirrors should be:
d-i apt-setup/use_mirror boolean false
And if you also don't want any updates (like security.debian.org), because You will configure those differently after installation and don't want to be interrupted during it if the network is down e.g. use:
d-i apt-setup/services-select multiselect
(without the default security, updates
)
Of course you should use a DVD or CD for installation then. To prevent being bothered with dialogue to scan other DVDs, add:
d-i apt-setup/cdrom/set-first boolean false
This should do the trick.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
To disable mirrors, the only lines considering mirrors should be:
d-i apt-setup/use_mirror boolean false
And if you also don't want any updates (like security.debian.org), because You will configure those differently after installation and don't want to be interrupted during it if the network is down e.g. use:
d-i apt-setup/services-select multiselect
(without the default security, updates
)
Of course you should use a DVD or CD for installation then. To prevent being bothered with dialogue to scan other DVDs, add:
d-i apt-setup/cdrom/set-first boolean false
This should do the trick.
To disable mirrors, the only lines considering mirrors should be:
d-i apt-setup/use_mirror boolean false
And if you also don't want any updates (like security.debian.org), because You will configure those differently after installation and don't want to be interrupted during it if the network is down e.g. use:
d-i apt-setup/services-select multiselect
(without the default security, updates
)
Of course you should use a DVD or CD for installation then. To prevent being bothered with dialogue to scan other DVDs, add:
d-i apt-setup/cdrom/set-first boolean false
This should do the trick.
answered Aug 31 at 17:09
AdamKalisz
19315
19315
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f216348%2fdebian-disabling-use-mirror-on-preseed-cfg%23new-answer', 'question_page');
);
Post as a guest
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
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
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