Use the GUI to select all repositories and change them to a known-working mirror like or Tsinghua . After changing, run pkg update again.
Ensure you know what a package does before installing it from the root repo. root repo termux
Termux's package management system is based on APT and DPKG, similar to Debian, and offers several optional repositories: Use the GUI to select all repositories and
Simply installing a root package does not grant it root privileges automatically. You must explicitly invoke the root user shell using the utility. Step 1: Install tsu similar to Debian
This happens if you attempt to run a root utility without invoking tsu first. Ensure your terminal prompt shows # before executing low-level binaries. Magisk/KernelSU Prompt Does Not Appear