Closed creepy-pasta101 closed 3 years ago
Copy and paste into termux.
wget --inet4-only http://mirror.archlinuxarm.org/aarch64/core/pacman-mirrorlist-20210307-1-any.pkg.tar.xz
pacman -U pacman-mirrorlist-20210307-1-any.pkg.tar.xz --noconfirm
rm pacman-mirrorlist-20210307-1-any.pkg.tar.xz
sed -i 's+RootDir = /data/data/com.termux/files/usr/+RootDir = /data/data/com.termux/files/+' $PREFIX/etc/pacman.conf
sed -i 's/#this//' $PREFIX/etc/pacman.conf
pacman -Syu
The mirror list is outdated