Unable to locate package termux что делать
How To Fix Unable To Locate Package in Termux 2021
Looking for a step by step guide to fix ‘unable to locate package’ in Termux on Android? Then you are on the right page.
Introduction
Termux is one of the best terminals for Android devices that allows you to run linux commands without having to root your device.
Some of the most popular packages are metasploit, hydra, python, nmap, gem, and Ubuntu. These modules are freely available at the resource server. You can install these packages without rooting your device. In some cases, however, termux throws an unexpected error message, saying, “unable to locate package ___“. It is due to the fact that termux does not have permission to access the local storage.
Termux does not have storage access by default.
So here in this guide, we are going to see ‘how to fix unable to locate package in termux’.
How to fix unable to locate package in Termux
You must manually grant termux access to the local storage to fix this issue.
Let’s see the step by step guide:
You can now verify whether the issue is fixed or not. You can run the linux commands as shown below.
Conclusion
Unable to locate packages is one of the common problems. A user’s issue arises when the termux terminal isn’t installed with the appropriate permissions on their android device. The solution stated above works with all packages such as metasploit, hydra, nmap, ubuntu, python, etc.
Thank you for reading this article. With the above step-by-step guide, I hope that you have been able to resolve your issue regarding the package. Feel free to post a comment if you’re still having trouble. I would be happy to answer any questions you have.
How To Fix Unable To Locate Package in Termux App?
Are you using termux app on your android?
If, yes, then i think you’re stuck with this error called “Unable To Locate Package” if you trouble with that then here I have a 99% working solution for you.
Yeah, if you’re using termux or if you’re thinking to install packages on your termux terminal or getting this error then definitely you should follow my steps to fix unable to locate package in termux easily with some simple commands.
So to fix this error we need to set up our storage first, and then we can fix this error, so let’s jump into our main topic and setup our termux storage location and fix the error.
Steps To Fix Unable To Locate Package in Termux App Android or Pc
First open your terminal and place thise codes:
Now you ned to do Upgrade your terminal after updating:
Now its time to place the command to setup your internal storage for package location:
Now you will get a popup message to “allow or deny” so just click on the “Allow” button to get access to your internal storage.
Now when you click on “Allow” then its time to check is it worked or not? so to check this just write another command called.
Then you need to place another command:
Now this is the last command to check all folders of your storage to final checking:
That’s set, if you see your internal storage folders are over here then you’re completely set up your location to your internal storage, and now it’s time to install your package to see if the “unable to locate package” error has or not?
I’m dammed sure that, if you successfully follow all the commands then you will didn’t get any error on your terminal, and now you can install anything on your termux app.
Bottom Line
So, it’s time to leave, because i will complete practically showed you the exact way of how to fix unable to locate package error of termux app? and now it’s your turn to follow my all commands and fix your issue.
Also, in return, if you found anything helpful from this article then please do share on your social media or leave a good comment below to motivate me and that’s why I will create for you latest articles related to termux terminal.
Python libraries #984
Comments
sfbarrerab commented May 4, 2017
Hi everyone, I am trying to use the python libraries (numpy, matplotlib, etc), but when I run:
packages install python-numpy
I obtained this error:
E: Unable to locate package python-numpy
Someone else have this problem? How can I fix it?
Thanks for your help and sorry for my english (I am from Colombia)
The text was updated successfully, but these errors were encountered:
Grimler91 commented May 4, 2017
Hi, you have to install numpy and the other modules through pip. See this thread.
its-pointless commented May 4, 2017 •
i recommend using apt rather than the eggs since hte eggs are no longer updated. Just a single line to sources.list and stuff.
fornwall commented May 4, 2017
Closing this in favour of the above mentioned #136 issue.
kirAn-sAi commented Oct 26, 2017
I also got the same issue while installing numpy, i pip command it is also not working
kirAn-sAi commented Nov 16, 2017
petacube commented Nov 30, 2017
kiran-sAi nice try but it does work for me either. i get error saying cannot compile Python.h
Grimler91 commented Nov 30, 2017
@petacube Python.h is provided by the package python-dev, so install python-dev with pkg install python-dev and try again.
petacube commented Nov 30, 2017
Grimler91 commented Nov 30, 2017
Mahesh222 commented Jul 10, 2020
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Unable to locate package termux что делать
Краткое описание:
Termux сочетает в себе мощные эмуляцию терминала с обширной коллекцией пакетов Linux.
Termux combines powerful terminal emulation with an extensive Linux package collection.
• Enjoy the bash and zsh shells.
• Edit files with nano and vim.
• Access servers over ssh.
• Compile code with gcc and clang.
• Use the python console as a pocket calculator.
• Check out projects with git and subversion.
• Run text-based games with frotz.
Want to ask questions, report bugs or give feedback?
See https://termux.com/community
Версия: 0.102 Termux (digmavip)
Версия: 0.101 от 29/09/2020 (iMiKED)
Версия: 0.99 от 15/09/2020 (iMiKED)
Версия: 0.98 от 09/08/2020 (RiddickABSent)
Версия: 0.95 от 13/06/2020 (iMiKED)
Версия: 0.94 от 25/03/2020 (iMiKED)
Версия: 0.92 от 09/02/2020 (iMiKED)
Версия: 0.88 от 18/01/2020 (iMiKED)
Версия: 0.84 (7.0+)(f-droid) Сообщение №3704, автор blackeangel
Версия: 0.75 Оригинал (Ultra119)
Версия: 0.75 GP (Ultra119)
Версия: 0.73 04.08.19 GP (hackdog)
Версия: 0.72 Termux (Displax)
Версия: 0.71 Termux (Displax)
версия: 0.68 Termux (Пост Farthah #84737189)
версия: 0.66 Сообщение №1619, автор алекс12
версия: 0.65 Сообщение №785, автор алекс12
версия: 0.64 Сообщение №639, автор алекс12
версия: 0.63 Сообщение №635, автор алекс12
версия: 0.61 Сообщение №623, автор Evbuley
версия: 0.60 Termux (Пост алекс12 #69631056)
Версия: 0.59 Termux (Пост алекс12 #67845982)
Версия: 0.56 Termux (Пост алекс12 #67233087)
Версия: 0.54 Termux (Пост алекс12 #66459493)
Версия: 0.53 Termux (Пост алекс12 #62674540)
Версия: 0.52 Termux (Пост алекс12 #62332662)
версия: 0.51 Termux (Пост алекс12 #62106399)
версия: 0.48 Termux (Пост алекс12 #58901446)
версия: 0.47 Termux (Пост Ramzes26 #58821225)
версия: 0.46 Termux (Пост алекс12 #56940751)
версия: 0.42 Termux (Пост ilyaor #53212592)
версия: 0.34 com.termux_0.34.apk ( 149.44 КБ )
Примечательно, что хотя некоторые плагины платные, на странице автора есть ссылки на исходный код на github-e https://github.com/termux, т.е. можно самому собрать как само приложение так и все плагины; термукс из маркета надо будет удалить и собрать и установить руками потому что подписи должны совпадать.
Если кому-то лень самому собирать, в прицепе моя сборка с плагинами. Отдельно плагины из этой сборки не будут работать с версией из маркета, так как я все подписал своим серификатом, который ессно не совпадает с сертификатом автора.
Если кто-то хочет собрать из исходников, то помимо android sdk также потребуется ndk.
Хотя исходники платных плагинов открыты, я один плагин купил по-любому, потому что очень уж хочется поддержать разработчика за такой мега-подарок.
*ВАЖНО*: Только для андроид версии 5.х и выше!
Termux v0.46:
• Work better with the stock CyanogenMod and AOSP keyboards.
• Remove the shaking of the terminal on a bell character introduced in v0.44.
• Restore the ability to press Enter on the on-screen Android TV keyboard.termux-app_v0.46.apk ( 176.21 КБ )
Termux:Styling v0.16:
• Add monochrome White on Black and Black on White color schemes.termux-styling_v0.16.apk ( 1.72 МБ )
Termux:Widget v0.7:
• Update app icon.termux-widget_v0.7.apk ( 54.1 КБ )
Termux:Task v0.1:
• Initial release for testing and feedback.termux-task_v0.1.apk ( 942.95 КБ )
Termux:Boot v0.1:
• Initial release for testing and feedback.termux-boot_v0.1.apk ( 26.4 КБ )
Termux:Float v0.7 (Original)
Package Error #6693
Comments
KentLavi commented Apr 26, 2021
Hello, I recently tried an apt update command on my termux, but when I run some commands it gets all errors, when I run the apt update command an error appears as below:
$ apt update Ign:1 https://dl.bintray.com/grimler/game-packages-24 games InRelease Ign:2 https://dl.bintray.com/grimler/science-packages-24 science InRelease Err:3 https://dl.bintray.com/grimler/game-packages-24 games Release 403 Forbidden Ign:4 https://main.termux-mirror.ml stable InRelease Err:5 https://dl.bintray.com/grimler/science-packages-24 science Release 403 Forbidden Err:6 https://main.termux-mirror.ml stable Release Redirection from https to ‘http://ww38.main.termux-mirror.ml/dists/stable/Release’ is forbidden Reading package lists. Done E: The repository ‘https://dl.bintray.com/grimler/game-packages-24 games Release’ does not have a Release file. N: Metadata integrity can’t be verified, repository is disabled now. N: Possible cause: repository is under maintenance or down (wrong sources.list URL?). E: The repository ‘https://dl.bintray.com/grimler/science-packages-24 science Release’ does not have a Release file. N: Metadata integrity can’t be verified, repository is disabled now. N: Possible cause: repository is under maintenance or down (wrong sources.list URL?). E: The repository ‘https://main.termux-mirror.ml stable Release’ does not have a Release file. N: Metadata integrity can’t be verified, repository is disabled now. N: Possible cause: repository is under maintenance or down (wrong sources.list URL?).
And when I run an install command like pkg install php it shows an error like this:
$ pkg install php Checking availability of current mirror: ok Reading package lists. Done Building dependency tree. Done E: Unable to locate package php
The text was updated successfully, but these errors were encountered:
xeffyr commented Apr 26, 2021
awoimbee commented May 1, 2021
agnostic-apollo commented May 1, 2021 •
@awoimbee Updates have not been released on playstore since last year since we can’t push them because termux-app does not comply with current play store polices. You should move to F-Droid releases instead. There is no reasonable way for us to notify users about this other than them checking our communities, wiki or github. Updating playstore description wasn’t possible for other maintainers since only fornwall had access to it and he hadn’t been available for months, asked him to do it couple of days back, but it still hasn’t been done.
gsmitheidw commented May 4, 2021
@agnostic-apollo Is there a recommended method to switch to F-Droid from PlayStore without re-installation and broken plugins?
In previous phones I’d used F-Droid but on this occasion, regrettably I used PlayStore
agnostic-apollo commented May 4, 2021
@gsmitheidw Yes, for Termux app, you can follow the Backing Up Termux instructions to preserve all your data during shifting. The plugins don’t store any critical data that I know of and should be safe to uninstall. Only termux
Tayaga334 commented May 6, 2021 •
It’s not work at all, still met the same error.