You are not logged in.

#1 2021-08-17 06:46:46

Peregrino69
Member
Registered: 2016-03-11
Posts: 88

Choice of mirrors during installation?

I just installed BL on a VM. During the installation connection to deb.debian.org wasn't found, so I went "Choose another mirror". Which apparently just retried the failed attempt, whereas I expected to get the list of debian mirrors where I can choose another one.

Maybe that option should be available?

Offline

#2 2021-08-17 10:29:37

hhh
Meep!
Registered: 2015-09-17
Posts: 12,171
Website

Re: Choice of mirrors during installation?

https://www.debian.org/mirror/list

BL is about to get a new release, BTW. @johnraff is working hard on his own time for us all right now. Give John all thanks and praises! (Nice, I got a Bob Marley reference in there. )

Offline

#3 2021-08-17 13:59:51

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,182

Re: Choice of mirrors during installation?

Peregrino69 wrote:

I just installed BL on a VM. During the installation connection to deb.debian.org wasn't found, so I went "Choose another mirror". Which apparently just retried the failed attempt, whereas I expected to get the list of debian mirrors where I can choose another one.

Maybe that option should be available?

BL has default debian installer. The only difference from standard debian isos is an preseed.cfg, located in iso:/install/initrd.gz or ../install/gtk/initrd.gz. The compressed filesystem in initrd.gz is uncompressed to memory.
When the installer finds the preseed.cfg, it obeys the directives (for BL Lithium iso):

d-i passwd/root-login boolean false
d-i mirror/country string manual
d-i mirror/protocol string https
d-i mirror/https/hostname string deb.debian.org
d-i mirror/https/directory string /debian
d-i mirror/https/proxy string
d-i apt-setup/use_mirror boolean true
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
d-i apt-setup/services-select multiselect updates
d-i apt-setup/local0/repository \
    string https://deb.debian.org/debian-security buster/updates main contrib non-free
d-i apt-setup/local0/comment string Debian security updates
d-i apt-setup/enable-source-repositories boolean false
d-i apt-setup/disable-cdrom-entries boolean true
d-i clock-setup/utc boolean true
d-i preseed/late_command string \
    in-target /usr/local/bin/bunsen_preseed ;\
    in-target rm -f /usr/local/bin/bunsen_preseed

Adress deb.debian.org, redirects to debian.map.fastlydns.net, that redirects to best sutiable mirror. It is so, to use internet bandwith in best way, without needing to choose mirror.

When the adress to installer mirror is set in preeceed.cfg, you can not choose mirror. But, if you do not have internet connection (connection to deb.debian.org fails) you can not change mirror even if you do not have any directives in preseed.cfg.

The usual reason for no internet connection when installing, is due to missing firmware for wifi or cable nic, or misconfigured local net: problem with IPV6.

For the first case, use usb-nic which is known to have Debian linux support, in second case, append "ipv6.disable=1" as boot parameter.

Last edited by rbh (2021-08-17 16:36:13)


// Regards rbh

Please read before requesting help: Guide to getting help,
Introduction to the Bunsenlabs Lithium Desktop and other help topics under "Help Resources" on the BunsenLabs menu

Online

#4 2021-08-18 08:18:00

Peregrino69
Member
Registered: 2016-03-11
Posts: 88

Re: Choice of mirrors during installation?

My apology for being unclear.

I can find alternative sources if needed. Whether or not network is available is irrelevant.

When the installer can't connect to a mirror, you get the "Configure packet manager" -screen with "The installer failed to access... choose to retry the download, select a different mirror, or ignore ...", and the three options are presented.

Choosing "Change mirror" I'd expect to either get a list of mirrors to choose from, or at minimum an input box where I can enter an alternative mirror. That does not happen.

I've replicated this now with several VMs and 2 physical systems, a 64bit and a 32bit. Whether or not this is expected behavior as far as the installer itself is configured, no comment. Not having the option to try an alternative repo is not behavior I expect to see.

Offline

#5 2021-08-18 21:28:42

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,182

Re: Choice of mirrors during installation?

Peregrino69 wrote:

My apology for being unclear.

Maybe I was unclear...?

I can find alternative sources if needed.

Yes, it should not be difficult...

Whether or not network is available is irrelevant.

But, network connection is not irrelevant for the debian installer if trying to choose repository mirror. 

When the installer can't connect to a mirror, you get the "Configure packet manager" -screen with "The installer failed to access... choose to retry the download, select a different mirror, or ignore ...", and the three options are presented.

Yes.

Choosing "Change mirror" I'd expect to either get a list of mirrors to choose from, or at minimum an input box where I can enter an alternative mirror. That does not happen.

If Debian installer finds an preseed.cfg, it wont change mirror.

Not having the option to try an alternative repo is not behavior I expect to see.

I guess the result would be the same if you add boot parameter "auto url=http://webserver/path/preseed.cfg",
Edit: When booting Debian 10.

But, in the installer for Debian 11, you have not the option to change mirror...

Last edited by rbh (2021-08-18 21:51:47)


// Regards rbh

Please read before requesting help: Guide to getting help,
Introduction to the Bunsenlabs Lithium Desktop and other help topics under "Help Resources" on the BunsenLabs menu

Online

#6 2021-08-19 00:48:37

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 8,278
Website

Re: Choice of mirrors during installation?

(Just rephrasing what rbh said)
If the reason the installer was unable to connect to deb.debian.org is that there is no network connection then of course it will be unable to offer you any alternative mirrors.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

Board footer

Powered by FluxBB