Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] pacman CLI to clean up leftover files (Read 295 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] pacman CLI to clean up leftover files

How is the pacman CLI to clean up ones in /usr/lib

Code: [Select]

$ sudo pacman -Qo libLLVM-15.so
error: No package owns libLLVM-15.so

$ sudo pacman -Qo libLTO.so.15
error: No package owns libLTO.so.15

After some pacman -R doings ?

 

Re: pacman CLI to clean up useless ones

Reply #1
pacman -Rns can do uninstalls more cleanly, but to my knowledge there is no direct solution to handle these occurances.

pacutils provides pacreport --unowned-files on post-uninstall for example.