Artix Linux Forum

Artix Linux => Package management => Topic started by: mardiyah on 06 June 2023, 02:06:00

Title: [SOLVED] pacman CLI to clean up leftover files
Post by: mardiyah on 06 June 2023, 02:06:00
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 ?
Title: Re: pacman CLI to clean up useless ones
Post by: Hitman on 06 June 2023, 10:45:47
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.