-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"termux was unable to install the bootstrap packages" when I open Termux #1761
Comments
Well, do you have a network connection? Can you access http://termux.net/bootstrap/ in a browser? |
This comment was marked as spam.
This comment was marked as spam.
No, I do not have a proxy |
I guess the error dialog should be improved to actually show the stack trace happening (and add a button to copy it to the clipboard). |
This comment was marked as spam.
This comment was marked as spam.
Hello, I have exactly the same problem. Two days ago I installed Termux successfully on my (rooted) tablet. Then I wiped out the tablet, rooted it again, and have turned on the Android adaptable storage. And now I'm getting the above error. Samsung Galaxy Tab A (2016) Wi-Fi version, Android 7.0. Yes, I've got my wi-fi turned on and internet available. I have tested that several times with the same result. |
Problem resolved. It was caused by Termux being installed into the adoptable storage on the SD-card. |
Today I just downloaded this from my 3G. It still working now with wifi. |
Don't close this . We need to fix this. Termux should be able to run in Adoptable storage. Termux installation can get very large |
@biojet1 we can't fix it fully. It isn't allowed to execute files in shared (adoptable) storage due to Androids security so it wouldn't be possible to have all of termux there. It would be possible to move some files to shared storage but I'm not sure if we would save that much space. |
It maybe true for normal devices, but it's not true for rooted devices, I moved termux files folder to external sd (adopted as internal) and were able to execute binaries in So I think termux should be able to install its bootstrap packages. My termux files folder is ~600MB and I don't want it to be in my main storage. |
its due to the permission issue, set the permissions as it is |
Experiencing the same problem after upgrading my Nexus 5X from LineageOS 14.01 to 15.01 (Android 7 to Android 8) and reinstalling after factory reset. Termux is installed on "internal storage" ( /data/app/. Nexus 5X only has one storage). Tried Wi-Fi and 3G, no luck so far. Any ideas? |
is use network line cable is also having this problem |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I found a solution. I just turned on my vpn. I was connected to Norway. the application that I used is "usa vpn" |
I'm from Iran. I had the same problem but I could access http://termux.net/bootstrap/ from browser, I connected myself to tor and used vpn mode from orbot and then termux worked. |
Hi guys I'm really confused what's going on ? 😑 I also have the same problem . What should i do then ? Any idea ?🤔 |
This is unbelievable 😧 i just reinstalled it again and it's working properly , anyway i didn't understand what was wrong please tell us your thoughts maybe it will be useful for another person . |
I am not able to finish Termux installation on 4k AndroidTV (Android 8.0, kernel 3.10.79). When launching the app for the first time, the "Installing..." window appears, remains couple of seconds, disappears and Android home screen comes back. Every other attempt to launch Termux fails too. Screen just blinks and Android comes back. I tried last tree versions (0.73 0.74, 0.75). Is there any idea how make Termux running on this AndroidTV? At least any hint on how to inspect what is happening. BTW: http://termux.net/bootstrap/ is accessible from this TV. |
Make sure Termux isn't installed on "external storage" or something like this. |
Thanks for reply. No, it is not. There is no external storage in this TV set. Just internal. BTW according to Android application info Termux occupies some 40MB on storage. But I cannot find it anywhere. Tried to find "com.termux" and just "termux" too, but have found nothing. |
BTW I have Termux installed and working on my phone too. According to Android info it takes 50MB on internal storage. I found its dir in Android/data/com.termux. But it is empty (no files, just one empty subdir "files"). So where is Termux installed actually? |
It installs stuff to |
Thx for explanation. But this unfortunately means I cannot inspect the installation directory in order to find the reason why it cannot finish the install on Android TV. |
You can. You just need to:
There should be more simple way to do so (at least with Android version higher than 7) - long tap on application icon, then just click "failsafe". But I'm unsure whether installation dialog will appear or not. |
Unfortunately I do not receive any dialog "Installation aborted". Installation just silently crash at dialog "Installing...". If I run the application again, it crash immediately afterwards. I have no chance to open the drawer. And there is no "failsafe" option on long tap the app icon even though this is Android 8. I cannot get into the app in any way. In the meanwhile I successfully installed Termux on tablet. Have it already installed and working on phone. But on AndroidTV still no luck. |
I still cannot install Termux on Android TV (running on TCL), here is the logcat output during Termux installation:
After installation I do allow the storage permission in Android apps settings. I already know it needs that but do not asks itself for. Then I run Termux for the first time after installation, concat output follows:
Any idea on where could be the problem? |
Your log doesn't show anything what can cause a problem. Execute logcat without grep. |
OK, I followed your recommendation and it seems the problem has been located. This is the crash report that has happened during the first Termux run after installation.
The whole logcat from installation and first run is huge, so can be found here: https://drive.google.com/file/d/13kXG6100LB1-PGB7NbK1a4gUZfBAruRp/view?usp=sharing The Termux version is 0.75. But as I wrote earlier the two previous versions crashes too. |
You have
So I guess we just need to add permission |
Hopefully yes. Seems to be specific to Android TV or just to the TCL manufacturer, because I hadn't this issue on any other (non-android TV) device. I am available for testing the fixed version. |
I created fixed apk: https://api.cirrus-ci.com/v1/artifact/task/6329343940231168/output/app/build/outputs/apk/debug/app-debug.apk Uninstall previous one before installing this. |
Tested that and it finishes installation and works as expected. Thanks a lot! |
I am also having the same issue on Xiaomi note 7 with miui global 10.3.7 update. Some of the things that i tried and have not worked are as follows.1.To uninstall and install termux from play-store multiple times. By opening the failsafe as xeffyr suggested.
|
@nikhil3752 You messed up permissions with root. Now you will know that playing with root shell doesn't end with anything good.
Luckily that only Termux dir permissions are messed, otherwise you would end with bootloop. |
Now do as root |
I encountered a similar issue. I tracked its root cause to be SSL errors in the network connection due to my having disabled many of the built in certificates in the android system settings. |
I encountered a similar issue, |
This could be so easily fixed if instead of aborting it would allow install from local. Seems no one has an issue downloading the required zip file, I have bootstrap-aarch64.zip but Termux - no idea where to put it. It wants it over the internet. Which is 100% accessible. |
Latest Termux versions for Android 7.0 and higher install bootstraps from local (they are embedded into APK file). Termux for Android 5 will never have offline installer since its support is ended since 01.01.2020. Possibility of installing through Internet (old Termux versions) will be disabled soon as we need to free certain amount of bandwidth.
If you have problems with bootstrap, problem may not be with Internet:
|
It happens all time when i try to open Termux
highscreen pure
android 5.0.2 with kernel 3.10.54
The text was updated successfully, but these errors were encountered: