(written before the other reply)
If that’s the alternative then I would try literally any other distro
the Cachy installer just really sucks unfortunately
If the mirrorlist commenting method does work and we’ve been trying the wrong file(s) and were too slow, there’s always the brute-force method of a script
# script.py
import os
import re
Dir = "/etc/pacman.d" # no trailing /
cdn = "mirror.funami.tech"
def test_file(fullname):
with open(file, 'r') as f:
lines = f.readlines()
found = False
for i,line in enumerate(lines):
if cdn in line:
if line[0] != '#':
print(fullname, 'Line found.')
found = True
lines[i] = f'#{line}'
if found:
with open(file, 'w') as f:
f.write(''.join(lines))
while 1:
files_to_test = [
Dir + '/' + filename
for filename in os.listdir(Dir)
if re.fullmatch(r".*?mirrorlist", filename)
]
for file in files_to_test:
test_file(file)
sudo python script.py