Failed retrieving extra.db from geo/asia.mirror.pkgbuild.com and possibly other mirrors
Hi, a few Chinese users reported missing extra.db problem with some mirrors, for example:
:: Synchronizing package databases...
core-testing is up to date
core is up to date
extra-testing is up to date
extra is up to date
multilib-testing is up to date
multilib is up to date
archlinuxcn is up to date
error: failed retrieving file 'extra.db' from asia.mirror.pkgbuild.com : The requested URL returned error: 404
The error was also observed on geo.mirror.pkgbuild.com.
It turned out the file is indeed missing, at least on 84.17.57.98 that serves both geo. and asia. domain:
$ curl -vI http://asia.mirror.pkgbuild.com/extra/os/x86_64/extra.db
* Host asia.mirror.pkgbuild.com:80 was resolved.
* IPv6: (none)
* IPv4: 84.17.57.98
* Trying 84.17.57.98:80...
* Connected to asia.mirror.pkgbuild.com (84.17.57.98) port 80
> HEAD /extra/os/x86_64/extra.db HTTP/1.1
> Host: asia.mirror.pkgbuild.com
> User-Agent: curl/8.7.1
> Accept: */*
>
* Request completely sent off
< HTTP/1.1 404 Not Found
HTTP/1.1 404 Not Found
< Server: nginx
Server: nginx
< Date: Mon, 20 May 2024 16:28:29 GMT
Date: Mon, 20 May 2024 16:28:29 GMT
< Content-Type: text/html
Content-Type: text/html
< Content-Length: 146
Content-Length: 146
< Connection: keep-alive
Connection: keep-alive
<
* Connection #0 to host asia.mirror.pkgbuild.com left intact
I wrote a few lines of commands to check all mirrors in /etc/pacman.d/mirrorlist
and print out mirrors that replies 200 on core.db but 404 on extra.db. The only another problematic mirror I found was mirrors.wsyu.edu.cn (58.49.29.194). I tested from the US so I cannot rule out the possiblity that there are other problematic mirrors with geo-aware DNS resolution.