error showing : unable to locate package python on Termux
i am installing python on termux and this error is showing:
$ pkg install python
Checking availability of current mirror: ok
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package python
Solution 1:
I think you haven't update repo, look like you have just install termux. Anyway, execute
apt update
and then install any package.
Solution 2:
termux has haulted all update through google playstore download it from f-droid then change mirror it works (sometime)
termux-change-repo
or change it manually by editing
sources.list
file in directory
$PREFIX/etc/apt
check out my blog post for more link