Apt Not Working In Android Termux (2021 Method Solved)

Hello and welcome back friends, I come back with another post and today am going to show you how to fix the apt manager error in Termux. In the last update of Termux, some of the repository and the source files are changed and not supporting. So if without wasting more time let's get started.

  • Type of given command
$ cd .. && cd /etc/apt
$ nano sources.list
  • Now a text file is opned/Edited in Nano Edior
  • Delete all the text in the file and paste or type a given text
" deb https://dl.kcubeterm.me/termux-packages-24/stable main "
  • Now press Ctrl +s to save and then Ctrl +x close the Nano editor.
Now everything is done just close the Termux and open a new session then try to update with the given command

$ apt update && apt upgrade -y

Once updating process is completed successfully now you can use Termux without facing any apt error. If you find this informative or helpful then make sure to share it with your friends, If you face any problems then feel free to comment below. Thanks for the visit, Have a nice day,