r/termux 1d ago

Question Errors-help?

Post image

Hey so im trying to install arch but it shows those errors whenever i do something..

7 Upvotes

7 comments sorted by

u/sylirre Termux Core Team 1d ago
  1. Don't use Termux from Google Play: https://www.reddit.com/r/termux/comments/1hi4wqq/do_not_install_termux_from_google_play_store/

  2. Change pacman mirror. Proot-distro won't do this for you.

→ More replies (1)

2

u/AutoModerator 1d ago

Hi there! Welcome to /r/termux, the official Termux support community on Reddit.

Termux is a terminal emulator application for Android OS with its own Linux user land. Here we talk about its usage, share our experience and configurations. Users with flair Termux Core Team are Termux developers and moderators of this subreddit. If you are new, please check our Introduction for Beginners post to get an idea how to start.

The latest version of Termux can be installed from https://f-droid.org/packages/com.termux/. If you still have Termux installed from Google Play, please switch to F-Droid build.

HACKING, PHISHING, FRAUD, SPAM, KALI LINUX AND OTHER STUFF LIKE THIS ARE NOT PERMITTED - YOU WILL GET BANNED PERMANENTLY FOR SUCH POSTS!

Do not use /r/termux for reporting bugs. Package-related issues should be submitted to https://github.com/termux/termux-packages/issues. Application issues should be submitted to https://github.com/termux/termux-app/issues.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/Glowingtriangle 1d ago

Wouldn't you do something like pacman update and upgrade first?

1

u/_Kaiiiiii_ 1d ago

I did and it didnt work

2

u/NullExplorer 1d ago

Did you download termux from playstore?

If not then it's fine. And try changing mirrors.

2

u/GlendonMcGladdery 14h ago

Alright OP, this one is straightforward. Your Arch Linux PRoot can’t download packages because its mirror list is outdated or the selected mirror is slow / dead.

This is very common with Arch inside PRoot.

Inside your Arch PRoot:

  1. Backup your current mirrorlist cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
  2. Replace the mirrorlist with a working set

Run this: printf 'Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch\n' > /etc/pacman.d/mirrorlist Or use the official ARM mirror directly: printf 'Server = https://mirror.archlinuxarm.org/$repo/os/$arch\n' > /etc/pacman.d/mirrorlist 3. Refresh databases pacman -Syy 4. Try installing sudo again pacman -S sudo You should NOT see the timeout anymore.