You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
In a misguided attempt to fix a problem I tried installing glibc-repo (through termux's normal pkg command).
I later ran pkg upgrade and it told me to install a slew of *-glibc packages.
I unfortunately accepted to do so, and found my device's storage full (yes, I had little free space).
That was my fault, but when then I tried uninstalling those packages, I found myself entrenched in "Removing essential system-critical packages is not permitted" apt errors.
After a while, I found out the apt --allow-remove-essential flag, I recovered the list of glibc packages from apt's logs, and after a safety backup I managed to uninstall them all.
First of all, this aspect should probably be described in the glibc-packages documentation.
Second, is it really appropriate to set TERMUX_PKG_ESSENTIAL=true to so many packages (15), or to any at all?
Or it was maybe only included by accident when making their installation scripts?
Finally, I did not actually break anything by forcing their uninstallation, right?
Problem description
Hello.
In a misguided attempt to fix a problem I tried installing glibc-repo (through termux's normal pkg command).
I later ran
pkg upgrade
and it told me to install a slew of *-glibc packages.I unfortunately accepted to do so, and found my device's storage full (yes, I had little free space).
That was my fault, but when then I tried uninstalling those packages, I found myself entrenched in "Removing essential system-critical packages is not permitted" apt errors.
After a while, I found out the apt
--allow-remove-essential
flag, I recovered the list of glibc packages from apt's logs, and after a safety backup I managed to uninstall them all.First of all, this aspect should probably be described in the glibc-packages documentation.
Second, is it really appropriate to set TERMUX_PKG_ESSENTIAL=true to so many packages (15), or to any at all?
Or it was maybe only included by accident when making their installation scripts?
Finally, I did not actually break anything by forcing their uninstallation, right?
System information
termux-info:
The text was updated successfully, but these errors were encountered: