Skip to content
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

[Bug]: Unable to install bootstrap packages after reinstalling on a rooted android 10 device #2264

Closed
NukedBart opened this issue Sep 10, 2021 · 5 comments

Comments

@NukedBart
Copy link

Problem description

unable to install the bootstrap packages
termux.net/bootstrap is accessable

Steps to reproduce the behavior.

uninstalled termux
reinstalled termux apk from fdroid
unable to install the bootstrap packages

What is the expected behavior?

showing the hello message and run termux

System information

  • Termux application version: 0.117
  • Android OS version: 10
  • Device model: Redmi Note 8 Pro
@Grimler91
Copy link
Member

What does the error message say? Probably you have termux apps from google play still installed, for example termux-widget.

@ghost
Copy link

ghost commented Sep 10, 2021

that is very unclear, latest versions of Termux doesn't use termux.net/bootstraps anymore to setup bootstraps by downloading it and termux.net is for legacy versions. instead it locally installs the bootstrap. maybe you chose the older version of termux or didn't see the version properly. (eg. 0.17 instead of 0.117)


Also if you're rooted, you could have played around with fire root. in that case you may try restoring correct permissions and selinux contexts using restorecon

@ghost
Copy link

ghost commented Sep 10, 2021

Duplicate of #2221.

@NukedBart
Copy link
Author

Downloaded the latest version of termux from F-Droid, SELinux is disabled from recovery

@NukedBart
Copy link
Author

found the reason, it was from my last installation.
There was a uuid file marked as immutable, thus termux can't delete that file.
Tried installing terminal emulator and busybox, use chattr -i to remove the attribute, then delete the com.termux folder, reinstall the termux app.
Thanks for the hints on permissions though.
Issue solved, safe to close.

that is very unclear, latest versions of Termux doesn't use termux.net/bootstraps anymore to setup bootstraps by downloading it and termux.net is for legacy versions. instead it locally installs the bootstrap. maybe you chose the older version of termux or didn't see the version properly. (eg. 0.17 instead of 0.117)

Also if you're rooted, you could have played around with fire root. in that case you may try restoring correct permissions and selinux contexts using restorecon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants