Skip to content

Instantly share code, notes, and snippets.

@coolreader18
Last active July 1, 2019 23:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coolreader18/ddf90b98bb552af378e96d62f1452ef6 to your computer and use it in GitHub Desktop.
Save coolreader18/ddf90b98bb552af378e96d62f1452ef6 to your computer and use it in GitHub Desktop.
How to fix Termux without removing $PREFIX

Open Termux (failsafe). Run pkg i libiconv and look at the errors it produces (cat, realpath, etc.). cd to $PREFIX/bin and run

./busybox ln -s busybox {cat,realpath,etc}

for each executable that's missing. When pkg i libiconv doesn't fail, run pkg i coreutils again and everything should be fixed!

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