Eos-rankmirrors error?

$ eos-rankmirrors
sed: -e 표현식 1번째 행, 120번째 문자: 부적절한 대조 문자
==> eos-rankmirrors: error: error detected at function FetchLatestMirrorlist, line 312:
    cannot fetch EndeavourOS mirrorlist package (curl error code 22 [https://mirror.alpix.eu/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist---any.pkg.tar.zst]).

$ 

System language: Korean
what should I do?

Welcome to the forum :enos_flag: :enos:

It looks a lot like the below mentioned topic, but this got solved with a later version of eos-rankmirrors , so that makes me wonder if your system is up to date.

thanks for your reply
but it seems that the system has already been updated to the latest version,
but the error persists

$ eos-update
eos-update: package updater with additional features
Updating native apps...
:: 꾸러미 데이터베이스 동기화 중...
 endeavouros는 최신입니다
 core는 최신입니다
 extra는 최신입니다
 multilib는 최신입니다
:: 전체 시스템 업그레이드 시작 중...
 할 일이 없습니다

$ eos-rankmirrors
sed: -e 표현식 1번째 행, 120번째 문자: 부적절한 대조 문자
==> eos-rankmirrors: error: error detected at function FetchLatestMirrorlist, line 312:
    cannot fetch EndeavourOS mirrorlist package (curl error code 22 [https://mirror.alpix.eu/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist---any.pkg.tar.zst]).

So if I understand this correctly you where able to update , and it is only not possible to (re) rank the mirrors ? Because you started this topic 4 days ago and there should have been updates nearly every day , if not everyday, since you started this topic.

Welcome!

Could you please add LANG=C before the command:

LANG=C eos-rankmirrors

Then the output should be in English.

Well I have used internet translation for the error message after sed: -e that is
Expression line 1, character 120: Inappropriate collation character
The update part is pretty standard and ends with there is nothing to do (as you might expect).
But I agree it would be much easier if we don’t have to do the translation part.

Oh when I just run eos-rankmirrors, it still doesn’t work
But if I run it with LANG=C, it works flawlessly
strange…

$ eos-rankmirrors
sed: -e 표현식 1번째 행, 120번째 문자: 부적절한 대조 문자
==> eos-rankmirrors: error: error detected at function FetchLatestMirrorlist, line 312:
    cannot fetch EndeavourOS mirrorlist package (curl error code 22 [https://mirror.alpix.eu/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist---any.pkg.tar.zst]).

$ LANG=C eos-rankmirrors
==> eos-rankmirrors: info: extracting package endeavouros-mirrorlist 25.7-1 ...
==> eos-rankmirrors: info: ranking EndeavourOS mirrors, please wait ...
==> Warning about https://md.mirrors.hacktegic.com/endeavouros/repo/$repo/$arch:
    Connection to this mirror failed (curl exit code 22).
==> Warning about https://mirror.sjtu.edu.cn/endeavouros/repo/$repo/$arch:
    Connection to this mirror failed (curl exit code 22).
==> Info: Results of ranking EndeavourOS mirrors:

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# EndeavourOS mirrorlist, ranked by eos-rankmirrors at 2025년 07월 16일 00시 42분 07초.
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
.

Anyway thank you guys!

Thanks for the info! But I’d like to get to the bottom of the problem, hopefully you have some time to help with this.

What is the exact output if you run the following terminal commands:

repo=endeavouros
arch=x86_64
latest_remote=25.7-1
grep ^Server /etc/pacman.d/endeavouros-mirrorlist | awk '{print $3}' | sed -e "s|\$repo|$repo|" -e "s|\$arch|$arch|" -e "s|$|/endeavouros-mirrorlist-${latest_remote}-any.pkg.tar.zst|"

Just released package eos-rankmirrors version 25.7-1 that fixes an issue that may be related.
Please test it (without adding LANG=C) to see if it solves the issue you encountered.

$ repo=endeavouros
arch=x86_64
latest_remote=25.7-1
grep ^Server /etc/pacman.d/endeavouros-mirrorlist | awk '{print $3}' | sed -e "s|\$repo|$repo|" -e "s|\$arch|$arch|" -e "s|$|/endeavouros-mirrorlist-${latest_remote}-any.pkg.tar.zst|"
https://mirror.funami.tech/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirror.archlinux.tw/EndeavourOS/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://www.miraa.jp/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirror.b-interactive.com.au/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirror.jingk.ai/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirrors.gigenet.com/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirror.rznet.fr/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirror.freedif.org/EndeavourOS/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://distrohub.kyiv.ua/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirrors.c0urier.net/linux/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirror.moson.org/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirror.alpix.eu/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://de.repo.c48.uk/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirror.accum.se/mirror/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://repo.c48.uk/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirror.albony.in/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirror.leitecastro.com/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirrors.urbanwave.co.za/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirrors.nxtgen.com/endeavouros-mirror/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirror.del2.albony.in/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://fosszone.csd.auth.gr/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://ftp.belnet.be/mirror/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://ftp.rz.tu-bs.de/pub/mirror/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://pkg.adfinis-on-exoscale.ch/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirrors.jlu.edu.cn/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst
https://mirror.gofoss.xyz/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist-25.7-1-any.pkg.tar.zst

$ eos-rankmirrors
sed: -e 표현식 1번째 행, 120번째 문자: 부적절한 대조 문자
==> eos-rankmirrors: error: error detected at function FetchLatestMirrorlist, line 316:
    cannot fetch EndeavourOS mirrorlist package (curl error code 22 [https://mirror.alpix.eu/endeavouros/repo/endeavouros/x86_64/endeavouros-mirrorlist---any.pkg.tar.zst]).


I think that still doesn’t work without adding LANG=C

Please show the contents of file /etc/pacman.d/endeavouros-mirrorlist.

Tip: until the problem reason is clear, the following definition in ~/.bashrc (or similar) might be useful:

alias eos-rankmirrors='LANG=C /bin/eos-rankmirrors'
$ cat /etc/pacman.d/endeavouros-mirrorlist
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# EndeavourOS mirrorlist, ranked by eos-rankmirrors at 2025년 07월 17일 02시 15분 54초.
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Server = https://mirror.funami.tech/endeavouros/repo/$repo/$arch
Server = https://www.miraa.jp/endeavouros/repo/$repo/$arch
Server = https://mirror.b-interactive.com.au/endeavouros/repo/$repo/$arch
Server = https://mirror.jingk.ai/endeavouros/repo/$repo/$arch
Server = https://mirrors.gigenet.com/endeavouros/repo/$repo/$arch
Server = https://mirror.rznet.fr/endeavouros/repo/$repo/$arch
Server = https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/$repo/$arch
Server = https://de.repo.c48.uk/endeavouros/repo/$repo/$arch
Server = https://mirror.leitecastro.com/endeavouros/repo/$repo/$arch
Server = https://repo.c48.uk/endeavouros/repo/$repo/$arch
Server = https://distrohub.kyiv.ua/endeavouros/repo/$repo/$arch
Server = https://pkg.adfinis-on-exoscale.ch/endeavouros/repo/$repo/$arch
Server = https://mirrors.jlu.edu.cn/endeavouros/repo/$repo/$arch
Server = https://mirrors.nxtgen.com/endeavouros-mirror/repo/$repo/$arch
Server = https://mirror.gofoss.xyz/endeavouros/repo/$repo/$arch
Server = https://mirrors.c0urier.net/linux/endeavouros/repo/$repo/$arch
Server = https://mirror.freedif.org/EndeavourOS/repo/$repo/$arch
Server = https://mirror.accum.se/mirror/endeavouros/repo/$repo/$arch
Server = https://mirror.alpix.eu/endeavouros/repo/$repo/$arch
Server = https://mirror.albony.in/endeavouros/repo/$repo/$arch
Server = https://ftp.belnet.be/mirror/endeavouros/repo/$repo/$arch
Server = https://mirror.del2.albony.in/endeavouros/repo/$repo/$arch
Server = https://ftp.rz.tu-bs.de/pub/mirror/endeavouros/repo/$repo/$arch
Server = https://mirror.moson.org/endeavouros/repo/$repo/$arch
Server = https://mirror.sjtu.edu.cn/endeavouros/repo/$repo/$arch
Server = https://mirror.archlinux.tw/EndeavourOS/repo/$repo/$arch
Server = https://mirrors.urbanwave.co.za/endeavouros/repo/$repo/$arch
Server = https://fosszone.csd.auth.gr/endeavouros/repo/$repo/$arch

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Mirror ranking info at (UTC) 2025년 07월 16일 17시 15분 54초:
# The following fields are shown for each mirror:
#   mirror:          The mirror address
#   update-level:    Ordinal number of the latest update (larger is newer)
#   fetch-time:      Measures the speed of the mirror (smaller is faster)
#
# mirror                                                             update-level  fetch-time
# ~~~~~~                                                             ~~~~~~~~~~~~  ~~~~~~~~~~
# https://mirror.funami.tech/endeavouros/repo/$repo/$arch            2424          0.034114
# https://www.miraa.jp/endeavouros/repo/$repo/$arch                  2424          0.272018
# https://mirror.b-interactive.com.au/endeavouros/repo/$repo/$arch   2424          0.500623
# https://mirror.jingk.ai/endeavouros/repo/$repo/$arch               2424          0.598843
# https://mirrors.gigenet.com/endeavouros/repo/$repo/$arch           2424          0.759982
# https://mirror.rznet.fr/endeavouros/repo/$repo/$arch               2424          0.770865
# https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/$repo/$arch  2424          0.880785
# https://de.repo.c48.uk/endeavouros/repo/$repo/$arch                2424          0.914207
# https://mirror.leitecastro.com/endeavouros/repo/$repo/$arch        2424          0.954773
# https://repo.c48.uk/endeavouros/repo/$repo/$arch                   2424          0.979289
# https://distrohub.kyiv.ua/endeavouros/repo/$repo/$arch             2424          0.996198
# https://pkg.adfinis-on-exoscale.ch/endeavouros/repo/$repo/$arch    2424          1.024905
# https://mirrors.jlu.edu.cn/endeavouros/repo/$repo/$arch            2424          1.034415
# https://mirrors.nxtgen.com/endeavouros-mirror/repo/$repo/$arch     2424          1.038599
# https://mirror.gofoss.xyz/endeavouros/repo/$repo/$arch             2424          1.049417
# https://mirrors.c0urier.net/linux/endeavouros/repo/$repo/$arch     2424          1.130561
# https://mirror.freedif.org/EndeavourOS/repo/$repo/$arch            2424          1.152750
# https://mirror.accum.se/mirror/endeavouros/repo/$repo/$arch        2424          1.211695
# https://mirror.alpix.eu/endeavouros/repo/$repo/$arch               2424          1.281080
# https://mirror.albony.in/endeavouros/repo/$repo/$arch              2424          1.639356
# https://ftp.belnet.be/mirror/endeavouros/repo/$repo/$arch          2424          1.742311
# https://mirror.del2.albony.in/endeavouros/repo/$repo/$arch         2424          1.765920
# https://ftp.rz.tu-bs.de/pub/mirror/endeavouros/repo/$repo/$arch    2424          1.815396
# https://mirror.moson.org/endeavouros/repo/$repo/$arch              2424          1.988059
# https://mirror.sjtu.edu.cn/endeavouros/repo/$repo/$arch            2424          3.026371
# https://mirror.archlinux.tw/EndeavourOS/repo/$repo/$arch           2424          4.413136
# https://mirrors.urbanwave.co.za/endeavouros/repo/$repo/$arch       2423          1.513306
# https://fosszone.csd.auth.gr/endeavouros/repo/$repo/$arch          2423          2.143293

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

### Original mirrorlist before ranking:

######################################################
####                                              ####
###        EndeavourOS Repository Mirrorlist       ###
####                                              ####
######################################################
#### Entry in file /etc/pacman.conf:
###     [endeavouros]
###     SigLevel = PackageRequired
###     Include = /etc/pacman.d/endeavouros-mirrorlist
######################################################
### Tip: Use the 'eos-rankmirrors' program to rank
###      these mirrors or re-order them manually.
######################################################

## Australia
#Server = https://mirror.b-interactive.com.au/endeavouros/repo/$repo/$arch

## Belgium
#Server = https://ftp.belnet.be/mirror/endeavouros/repo/$repo/$arch

## China
#Server = https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/$repo/$arch
#Server = https://mirrors.jlu.edu.cn/endeavouros/repo/$repo/$arch
#Server = https://mirror.sjtu.edu.cn/endeavouros/repo/$repo/$arch

## Denmark
#Server = https://mirrors.c0urier.net/linux/endeavouros/repo/$repo/$arch

## France
#Server = https://mirror.rznet.fr/endeavouros/repo/$repo/$arch

## Germany
#Server = https://mirror.alpix.eu/endeavouros/repo/$repo/$arch
#Server = https://mirror.moson.org/endeavouros/repo/$repo/$arch
#Server = https://ftp.rz.tu-bs.de/pub/mirror/endeavouros/repo/$repo/$arch
#Server = https://de.repo.c48.uk/endeavouros/repo/$repo/$arch

## Greece
#Server = https://fosszone.csd.auth.gr/endeavouros/repo/$repo/$arch

## India
#Server = https://mirror.albony.in/endeavouros/repo/$repo/$arch
#Server = https://mirror.del2.albony.in/endeavouros/repo/$repo/$arch
#Server = https://mirrors.nxtgen.com/endeavouros-mirror/repo/$repo/$arch

## Japan
#Server = https://www.miraa.jp/endeavouros/repo/$repo/$arch

## Moldova
#Server = https://md.mirrors.hacktegic.com/endeavouros/repo/$repo/$arch

## Portugal
#Server = https://mirror.leitecastro.com/endeavouros/repo/$repo/$arch

## Singapore
#Server = https://mirror.jingk.ai/endeavouros/repo/$repo/$arch
#Server = https://mirror.freedif.org/EndeavourOS/repo/$repo/$arch

## South Africa
#Server = https://mirrors.urbanwave.co.za/endeavouros/repo/$repo/$arch

## South Korea
#Server = https://mirror.funami.tech/endeavouros/repo/$repo/$arch

## Sweden
#Server = https://mirror.accum.se/mirror/endeavouros/repo/$repo/$arch

## Switzerland
#Server = https://mirror.gofoss.xyz/endeavouros/repo/$repo/$arch
#Server = https://pkg.adfinis-on-exoscale.ch/endeavouros/repo/$repo/$arch

## Taiwan
#Server = https://mirror.archlinux.tw/EndeavourOS/repo/$repo/$arch

## Ukraine
#Server = https://distrohub.kyiv.ua/endeavouros/repo/$repo/$arch

## United Kingdom
#Server = https://repo.c48.uk/endeavouros/repo/$repo/$arch

## United States
#Server = https://mirrors.gigenet.com/endeavouros/repo/$repo/$arch

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks.
The problem is not clear but seems related to locales somehow.
As LANG=C works around it, I will make the same workaround into eos-rankmirrors, let’s see if that helps.