$ 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,
0 Comments