Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to change debian installation mirror list?

4,033 views
Skip to first unread message

Fred 1

unread,
Aug 23, 2021, 11:40:04 AM8/23/21
to

I would like to know where the installation pulls the  list of Debian mirrors.

hope I can change it and rebuild the netinstall ISO with jigdo maybe ?

It would be nice if I could manually add a custom one during install, but I didn't see such option, strictly just pick from the list....

Thanks


Hans

unread,
Aug 23, 2021, 12:00:05 PM8/23/21
to
Am Montag, 23. August 2021, 17:36:41 CEST schrieb Fred 1:
Hi,

you do not need to reinstall. You will find a list of debian mirrors on the
website of debian.

Then you can entry or edit the mirror in the file /etc/apt/sources.list. You
can also use deb.debian.org as debian repo in this file. Doing so, it will try
to find the nearest mirror in your place automatically.

For more information take a look into the documentations.

Have fun!

Best

Hans
signature.asc

Dan Ritter

unread,
Aug 23, 2021, 12:10:05 PM8/23/21
to
You can do it in an expert install, or you can pause the install
and edit /etc/apt/sources.list, or you could use FAI, or you
could intercept DNS queries, or ...

What is the actual problem you are trying to solve? The best
answer might not have occurred to you.

Read https://xyproblem.info/


-dsr-

Brian

unread,
Aug 23, 2021, 12:10:05 PM8/23/21
to
It is likely that a mirror of your choice can be preseeded:

d-i mirror/http/hostname string http.us.debian.org

--
Brian.

Fred 1

unread,
Aug 23, 2021, 12:20:04 PM8/23/21
to
Thanks, I tried the textual install, so yes the first option to manual
add the debian mirror,

must have missed it in the graphical install.

Anyway, as for changing the list, I suspect unlikely the list comes from
sources.list,

surely the installation will WRITE the sources.list based on your selection.

Thanks

Linux-Fan

unread,
Aug 23, 2021, 12:30:05 PM8/23/21
to
I can only answer the last of your questions: If you want to add a custom
mirror during the install, go to the top of the menu and choose
"enter information manually". The installer will then ask you for the host
name, path and proxy information of your custom mirror.

Scroll near the end of
https://masysma.lima-city.de/37/debian_i386_installation_reports_att/m6-d11a3-i386-netinst.xhtml
for screenshots of the respective dialogs. It is from an an alpha release of
the installer but the dialogs should not differ too much from the final one.

HTH
Linux-Fan

öö

[...]

Thomas Schmitt

unread,
Aug 23, 2021, 12:40:04 PM8/23/21
to
Hi,

Fred 1 wrote:
> hope I can change it and rebuild the netinstall ISO with jigdo maybe ?

Jigdo is not suitable for making changes to the ISO which it reconstructs.
(It is rather suitable for reducing the download effort with ISOs which
are slightly changed towards an ISO which you already have.
See the question "Files to scan:" of program jigdo-lite.)

If you have files which you want to add to the ISO or if you want to
replace existing files of the ISO, then maybe
https://lists.debian.org/debian-user/2021/08/msg01170.html
is of help, where i propose how to override a kernel and an initrd in the
ISO.
As mentioned in that post, there is the possibility that checksum lists
or certficates let the booting system detect that existing files were
altered. Your mileage may vary.


Have a nice day :)

Thomas
0 new messages