Notebook crashed in the middle of an update. After rebooting with a USB key, and try to update again, pacman says everything worked fine, and the system don't need any updates, but I don't have access to the graphical environment, and when I try to update or install a new kernel, thereś a lot of errors with ldconfig of files empties.
Just to test, I uninstall gimp with pacman -Rs, but when I tried to install it again, it says thereś a lot of files already existing. I see there is an overwrite option, but it seems to use a glob, and seems a very "manual" way to solve the problem.
Is there a way to reinstall all the libraries that are empty or applications that have this "already exists" problem?