TermuxT
Termux17mo ago
4 replies
EDllT

[Solved] How to fix broken glibc(reinstallation) in termux

EDIT: ONLY nuke glibc, don't bother with reinstalling the packages!
The package manager is supposed to know what packages are needed once you install using apt install glibc-repo
Solution
Here's how to remove EVERY GLIBC PACKAGE FROM TERMUX

dpkg -r --force-depends $(dpkg -l | grep 'glibc' | awk '{print $2}')

apt-get purge --auto-remove $(dpkg -l | grep 'glibc' | awk '{print $2}')

apt-get purge --allow-remove-essential $(dpkg -l | grep 'glibc' | awk '{print $2}')


If you get prerm errors, find that file and either delete it or temporarily rename it
Was this page helpful?