T
Termux4mo ago
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}') ...
Jump to solution
2 Replies
EDllT
EDllTOP4mo ago
pkg install glibc-repo
pkg install glibc-repo
pkg install glibc-runner
pkg install glibc-runner
Solution
EDllT
EDllT4mo ago
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}')
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
Want results from more Discord servers?
Add your server