You are not logged in.
Pages: 1
Topic closed
I have installed archlinuxcn-mirrorlist but rankmirrors doing error:
URL '' is malformed.on this url:
## CDN (ipv4, http, https)
#Server = https://cdn.repo.archlinuxcn.org/$archwhy?
Offline
Not a Programming issue, moving to NC...
Offline
Is that second code block from your pacman.conf? If so that would explain your symptoms: at least one Server line must be uncommented.
But if you installed archlinuxcn-mirrorlist, then you probably want to Include that file instead of listing Servers directly. Please post your pacman.conf.
Last edited by Trilby (2017-09-18 21:08:26)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Is that second code block from your pacman.conf? If so that would explain your symptoms: at least one Server line must be uncommented.
But if you installed archlinuxcn-mirrorlist, then you probably want to Include that file instead of listing Servers directly. Please post your pacman.conf.
Second code is in
/etc/pacman.d/archlinuxcn-mirrorlistI have used sed to uncomment server list; this is the first server on the list, if I remove this server rankmirrors don't have problems;
Offline
It looks like the archlinuxcn-mirrorlist package comes with every mirror commented out. If you want to use rankmirrors, you should uncomment all of the servers first.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I've already done this.
try you, download archlinuxcn-mirrorlist, use sed and then try rankmirrors...
Last edited by GFdevelop (2017-09-18 21:56:45)
Offline
Bumping an old topic that comes up result #1 on Google for this error, to report:
rankmirrors appears to fail for any repo URL that does not contain the repo name as a subfolder of the URL, since it has no other way of assuming the repo name.
https ://the.repo.site/reponame/$arch - works
https ://the.repo.site/$arch - won't work
Last edited by kode54 (2022-09-29 06:08:31)
Offline
Bumping an old topic that comes up result #1 on Google for this error
Please don't do that.
https://wiki.archlinux.org/title/Genera … bumping%22
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed