[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#918428: choose-mirror: mirror list generation broken for all ports architectures



Source: choose-mirror
Version: 2.96

Hello,

while working on riscv64 support in d-i I have stumbled over a problem
with choose-mirror: instead of providing a mirror list, choose-mirror
only offers the option "enter information manually", even if
Mirrors.masterlist is extended to contain a "riscv64" entry in the
"Ports-architecture" field for deb.debian.org and ftp.ports.debian.org.

I have tracked the source of this issue down to the part of the
"mirrorlist" script that tries to filter out mirrors that don't carry
the architecture for which choose-mirror is currently built:

https://salsa.debian.org/installer-team/choose-mirror/blob/8bc40f7e97afa5fb075535f501abc31614a574dd/mirrorlist#L107

This filter function only takes the "Archive-architecture" fields from
Mirrors.masterlist into account, but not the "Ports-architecture"
fields, so it always results in an empty list for Debian-Ports
architectures.  Unfortunately I don't really speak perl (just enough to
have a rough idea of what the mirrorlist script does, but not enough to
make modifications to it with good conscience), so it would be great
if somebody from debian-boot with better perl knowledge than me could
take a look.

Regards,
Karsten
-- 
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.


Reply to: