Debian – disabling use mirror on preseed.cfg

debiandebian-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?

Best Answer

Comment all the lines referring to apt-setup, and add

d-i apt-setup/use_mirror boolean false

You also need to define a mirror, with something like the following, or will always be prompted for one:

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.

Related Question