There are problems with installing packages on termux like being Unable to locate packages, the repository is under maintenance, etc. In this video, I showed you how can you solve all the problems and install packages easily. Basically, you can solve this problem by changing the repository on termux. I showed you the whole process.