orangepi-xunlong / orangepi-build

Orange Pi build for H2+, H3, H5, H6, H616, RK3328, RK3399 and RK3588(s)
http://www.orangepi.cn/
GNU General Public License v2.0
630 stars 272 forks source link

Orange Pi OS (Arch) for Orange Pi 5 Plus comes with outdated pacman mirror (http://nl.mirror.orangeinfra.online/) #132

Open archalchemy opened 5 months ago

archalchemy commented 5 months ago

I would like to report this problem that happens when I want to update the OS, the repository seems to be unavailable. Is there any other repository that can be used?

pacman -Syu

:: Synchronizing package databases... core.db failed to download extra.db failed to download community.db failed to download error: failed retrieving file 'core.db' from nl.mirror.orangeinfra.online : Failed to connect to nl.mirror.orangeinfra.online port 80 after 10000 ms: Timeout was reached error: failed retrieving file 'extra.db' from nl.mirror.orangeinfra.online : Failed to connect to nl.mirror.orangeinfra.online port 80 after 10000 ms: Timeout was reached error: failed retrieving file 'community.db' from nl.mirror.orangeinfra.online : Failed to connect to nl.mirror.orangeinfra.online port 80 after 10000 ms: Timeout was reached warning: too many errors from nl.mirror.orangeinfra.online, skipping for the remainder of this transaction error: failed to synchronize all databases (download library error)

MarceloJads commented 5 months ago

I was going through the same problem with my Orange Pi Zero 2.

I found some mirrors that work (at least it can install some packages). The mirror list is within the following link: https://archlinuxarm.org/about/mirrors.

By running rankmirrors command, I was able to order some of them in terms of latency:

Server = http://de4.mirror.archlinuxarm.org/$arch/$repo
Server = http://jp.mirror.archlinuxarm.org/$arch/$repo
Server = https://de3.mirror.archlinuxarm.org/$arch/$repo
Server = https://eu.mirror.archlinuxarm.org/$arch/$repo
Server = https://fl.us.mirror.archlinuxarm.org/$arch/$repo
Server = https://mirrors.dotsrc.org/archlinuxarm/$arch/$repo
Server = https://uk.mirror.archlinuxarm.org/$arch/$repo

You can copy these into the file /etc/pacman.d/mirrorlist.