I installed jdk-openjdk package from official (extra) repositories through Pamac (gui) and then removed it. It doesn’t seem to remove files associated with it because I can still see everything related to java-16 in /usr/lib/jvm/java-16-openjdk directory.
Is this intentional or am I doing something wrong?
I used the GUI (Pamac) to uninstall. It still shows as package not installed. I tried installing again and removing just to make sure, and it is still the same.
same here,i installed it a few moths ago and removed it,then stumbled upon this post,and checking in Pamac it still shows as installed.(i mean jre-openjdk jre-openjdk-headless ,not jdk-openjdk)
Makes sense - I didnt know why (and would not necesarilly advise), just responding to how.
Maybe the point was that you did not have ‘remove deps’ or similar activated while you attempted to uninstall and were thus (silently?) blocked?
Again - impossible to know without output or more information.
(pacman -Rns automatically selects dependencies not needed by anything else … you could probably just -R, but again … likely inadvisable)